An editor of a video game web site wants to determine whether the proportion of readers that own a PlayStation console is greater than 0.5.
Using Base for random number generator ensures that your results match the example.
The alternative hypothesis states that the proportion of readers that own a PlayStation console is greater than 0.5. Because the p-value is 0.002, which is less than the significance level of 0.05, the editor rejects the null hypothesis and concludes that the proportion of readers that own a PlayStation console is greater than 0.5. The histogram shows that the bootstrap distribution appears to be normal, so the editor can trust the results.
N | Proportion |
---|---|
200 | 0.620000 |
Null hypothesis | H₀: p = 0.5 |
---|---|
Alternative hypothesis | H₁: p > 0.5 |
Number of Resamples | Average | P-Value |
---|---|---|
1000 | 0.49942 | 0.002 |