Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 12. (1 point) You are interested in estimating MA, the mean monthly rate of return of the stock of Company A listed on the
Problem 12. (1 point) You are interested in estimating MA, the mean monthly rate of return of the stock of Company A listed on the Toronto Stock Exchange. You randomly pick n = 36 months, for each you ob- serve the monthly rate of return of Company A stock. You have observed the following data, in %. 5.93, 4.32, 4.85, 0.4, 7.35, 3.03, 3.53, 5.84, 2.95, 7.76, 6.36, 4.68, 4.72, 5.79, 3.69, 3.75, 2.84, 5.39, 0.45, 6.73, 5.4, 6.38, 6.83, 5.43, 3.18, 6.55, 6.37, 6.43, 7.04, 7.16, 5.02, 6.04, 7.07, 2.25, 3.73, 8.92 Data from the sample, are saved in the Download .csv file. (a) Find a 91% confidence interval for MA, by Bootstrapping 1000 samples. Use the seed 5336 to ensure that R-Studio "randomly" samples the same "random" samples as this question will expect. Use at least 4 digits after the decmial if rounding. You can do this by including the code, you can copy it into your R-Studio to bootstrap your samples. RNGkind(sample.kind = "Rejection"); set.seed(5336); B=do(1000) * mean(resample(c(5.93, 4.32, 4.85, 0.4, 7.35, 3.03 3.53, 5.84, 2.95, 7.76, 6.36, 4.68, 4.72, 5.79, 3.69, 3.75, 2.84, 5.39, 0.45, 6.73, 5.4, 6.38, 6.83, 5.43, 3.18, 6.55, 6.37, 6.43, 7.04, 7.16, 5.02, 6.04, 7.07, 2.25, 3.73, 8.92), 36)); Ignore any errors or warnings that show up. lower bound = upper bound =
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started