Interactive Exercises - Chapter 5
Problem W5.1
Use the widget for the law of large numbers for this exercise with the population parameters \(\mu=3\) and \(\sigma=0.2\).
- What is the smallest sample size \(n\) that gives a probability of at most \(0.01\) for the event that the sample mean deviates from its mean \(\mu = 3\) by at least \(\epsilon = 0.1\) units? That is, use the widget to determine the smallest \(n\) for which \[\mathrm{Pr}(\vert \bar{X}_n - 3 \vert > 0.1) \leq 0.01.\]
- Let’s be even more demanding now and require that the sample mean can deviate by at most \(\epsilon = 0.01\) units from the mean \(\mu\). What is now the smallest sample size \(n\) that achieves this?
Problem W5.2
Use the widget for the central limit theorem for this exercise.
- Choose the Beta distribution with parameters \(\alpha=0.5\) and \(\beta=0.5\) as the data distribution. Set sample size \(n=2\) and look at the orange histogram that shows the sampling distribution of the sample mean for a sample of size \(n=2\). Does it look normally distributed? Continue to increase sample size \(n\) to 3, 4, 5 and so on. How large \(n\) do you need for the sampling distribution to be approximately normal?
- repeat Problem W5.2a, but now for the chi-squared distribution with \(\nu=3\) degrees of freedom.
- repeat Problem W5.2a, but now for the Cauchy distribution with location \(m=0\) and scale \(\gamma=1\). How large must \(n\) be before the sampling distribution of \(\bar{X}\) seems to be approximately normal?