Problem 5
Question
24.5 Suppose we want to make a \(95 \%\) confidence interval for the probability of getting heads with a Dutch 1 Euro coin, and it should be at most \(0.01\) wide. To determine the required sample size, we note that the probability of getting heads is about \(0.5\). Furthermore, if \(X\) has a \(\operatorname{Bin}(n, p)\) distribution, with \(n\) large and \(p \approx 0.5\), then \(\frac{X-n p}{\sqrt{n / 4}}\) is approximately standard normal. a. Use this statement to derive that the width of the \(95 \%\) confidence interval for \(p\) is approximately $$ \frac{z_{0.025}}{\sqrt{n}} $$ Use this width to determine how large \(n\) should be. b. The coin is thrown the number of times just computed, resulting in 19477 times heads. Construct the \(95 \%\) confidence interval and check whether the required accuracy is attained.
Step-by-Step Solution
VerifiedKey Concepts
Binomial Distribution
- Each coin flip represents a single trial.
- Getting a head is considered a success, and its probability is denoted by \( p \).
- We assume \( p \approx 0.5 \), as a fair coin has an equal chance of landing heads or tails.
Sample Size Calculation
- The width \( W \) of the confidence interval must be \( \leq 0.01 \).
- Set the expression \( \frac{1.96}{\sqrt{n}} = 0.01 \).
- Solve for \( n \) to find \( n = 38416 \).
Standard Normal Distribution
- In confidence interval calculations, the standard normal distribution helps determine the critical value \( z_{\alpha/2} \).
- For a 95% confidence level, \( z_{0.025} = 1.96 \).
- This critical value is used to determine the margin of error for the confidence interval.
- The approximation \( \frac{X - np}{\sqrt{np(1-p)}} \approx N(0,1) \) is used in large sample sizes to estimate \( X \) from a binomial distribution.