Used to test whether the sample proportion from a population differs significantly from a claimed or hypothesized population proportion .
Hypotheses Setup
Section titled “Hypotheses Setup”Let the true population proportion, . Here = number of successes. = sample size.
Then:
Alternative hypothesis depends on the problem:
Test Statistic
Section titled “Test Statistic”Normal Approximation
Section titled “Normal Approximation”Used when is large and both and , the sampling distribution of p̂ is approximately normal.
So, under H₀:
- For a two-tailed test, reject if
- For a right-tailed test, reject if
- For a left-tailed test, reject if
The confidence interval for is:
If lies outside the confidence interval, reject at significance level .
Binomial Test
Section titled “Binomial Test”For tailed tests, calculate p-value directly by summing over binomial probabilities. is rejected if .