Sixty heads in a hundred
A coin is tossed 100 times and shows 60 heads. Test the hypothesis that the coin is fair against the two-sided alternative, using the normal approximation to the number of heads (without continuity correction).
Find the p-value. You may use , where is the standard normal distribution function.
Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.
Under the hypothesis, the number of heads has mean 50 and standard deviation 5.
Two-sided: count deviations of at least this size in both directions.
h
s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.
Idea. Standardise the number of heads. Sixty heads is two standard deviations above the mean, and the two-sided p-value is the chance of being at least two standard deviations away on either side.
Step 1. For a fair coin, the number of heads in 100 tosses has mean and variance , so standard deviation 5.
Step 2. The z-score is
Step 3. The two-sided p-value is So at the 5% level the hypothesis of a fair coin is rejected, just barely.
Not so fast. The conclusion is fragile. With the continuity correction, and the p-value is about ; the exact binomial p-value is about too. Both are above 5%. When the answer sits this close to the threshold, the approximation matters.