Question: ( Here are some hints if you have no idea where to start. Your correct approach may not look anything like this! Create a 1
Here are some hints if you have no idea where to start. Your correct approach may not look anything like this!
Create a by vector to hold the results for each confidence interval. It could be a Boolean vector holding values like TRUE and FALSE or a numeric vector holding values like and where means that the true mean is in the confidence interval and means that it isn't.
Create a "for loop" that will run times. Each time through the loop you can compute a new confidence interval using your previous code for Sally's confidence interval with minor adjustments, determine whether or not the true is in the interval, and fill in the corresponding position in the results vector with your conclusion.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
