Use Rstudio code. Please show the code in R studio(R) and
screenshot it. Thank you!
Problem 2B [R - 15 points). You collected a random sample of 10 observations that you believe originate from a distribution with the following probability density function: ſaßey-(a+1) y > B f(yla,ß) 10 otherwise where parameters a > 0 and B > 0. Your data set is as follows: 1.61 1.60 1.68 1.65 2.71 1.57 2.38 1.67 1.53 2.00 Assuming a = 6.5, and continuing from your work in problem 2A: a) (4 points) Using 1000 bootstrap resamples, implement the centred empirical bootstrap on this data set, and store your bootstrapped centred values in a vector. Use glimpse() function to glimpse your bootstrapped values. b) (4 points) Repeat (a) by implementing the centred parametric bootstrap on this data instead, again assuming a = 6.5 is known. Hint: You may find it helpful to know that F(y)=1–()".
Use Rstudio code. Please show the code in R studio(R) and screenshot it. Thank you!
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am