This exercise can be done individually or, better yet, as a class project. Gestation periods of humans are normally distributed with a mean of 266 days and a standard deviation of 16 days.
a. Simulate 100 samples of nine human gestation periods each.
b. For each sample in part (a), obtain a 95% confidence interval for the population mean gestation period.
c. For the 100 confidence intervals that you obtained in part (b), roughly how many would you expect to contain the population mean gestation period of 266 days?
d. For the 100 confidence intervals that you obtained in part (b), determine the number that contain the population mean gestation period of 266 days.
e. Compare your answers from parts (c) and (d), and comment on any observed difference.