Test if p > 0.5 given n=105, x=75
Check the final answer first, then review the worked steps.
Answer
p, =, 0.5, p, >, 0.5, 4.391, 0.0000, Reject H0. We have evidence that the husband is older in more than half of all male-female married couples.
Work
H_0: p = 0.5, H_a: p > 0.5; n=105, x=75, \hat{p}=0.714; z = \frac{0.714-0.5}{\sqrt{0.5(0.5)/105}} = 4.391; p-value < 0.0001
Step-by-step solution
- Set the null and alternative hypotheses: $H_0: p = 0.5$ and $H_a: p > 0.5$.
- Calculate the sample proportion: $\hat{p} = \frac{75}{105} \approx 0.7143$.
- Calculate the test statistic $z = \frac{\hat{p} - p_0}{\sqrt{\frac{p_0(1-p_0)}{n}}} = \frac{0.7143 - 0.5}{\sqrt{\frac{0.5 \times 0.5}{105}}} = \frac{0.2143}{0.0488} \approx 4.391$.
- Find the p-value for $z > 4.391$: $P(Z > 4.391) \approx 0.0000$.
- Since the p-value is less than 0.05, reject $H_0$ and conclude there is evidence that husbands are older in more than half of couples.