Question: 4. For the 10,000 confidence intervals for the samples from 'x4', about how many would you expect to contain the mean of 'x4'? Explain. How
4. For the 10,000 confidence intervals for the samples from 'x4', about how many would you expect to
contain the mean of 'x4'? Explain. How many of the intervals actually contain the mean? What code did
you type in to get this?
HINT: You might find the following code, that counts the number of times the mean is less than the upper
bound, helpful to get you started on determining the relevant line of code:
> sum(x4ave < x4upper)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
