In: Statistics and Probability
A pumpkin farmer weighed a simple random sample of sizen= 20 pumpkins, with these results:9.6, 8.8, 5.1, 9.7, 9.1, 8.9, 8, 9.2, 2.7, 9.1, 8.5, 7.3, 9.3, 9.6, 4.1, 9.9, 7.6, 9, 7.2, 8.5
1.how to use R to perform the bootstrap with 2000 resamplings to create a90% confidence interval forμ
2.how to know whether the true mean pumpkin weight for this pumpkin farmer’s patchis greater than 7.2. Conduct a bootstrap hypothesis test with 2000 resamplings at a significance levelα= 0.05.
3.how to conduct a hypothesis test at levelα= 0.05 to see whether we can assert the data are strong evidencethe true median weight for this pumpkin farmer’s patch is greater than 7.2.
1)
The lower limit of the 95% confidence interval for the true mean is 7.27975 and greater than 7.2. Hence, we can conclude that the true mean pumpkin weight for this pumpkin farmer’s patches greater than 7.2 at a significance levelα= 0.05.
# 3
The P-value is 0.1606 and greater than 0.05 level of significance. Hence, the data are not strong evidence the true median weight for this pumpkin farmer’s patch is greater than 7.2.