About the Z Test for a Proportion
A z test for a proportion checks one sample result against a claimed population proportion. It is useful when the outcome has two categories. Examples include pass or fail, yes or no, defect or no defect, and support or opposition.
Why This Test Matters
The test converts the sample difference into a standard z score. That score shows how far the observed sample proportion sits from the null value. The distance is measured in standard errors. A large distance gives stronger evidence against the null hypothesis.
Choosing the Correct Tail
The tail choice should match the research claim. Use a two tailed test when any change matters. Use a right tailed test when the true proportion is expected to be greater. Use a left tailed test when the true proportion is expected to be lower.
Understanding the P Value
The p value measures how unusual the sample result would be if the null claim were true. A small p value means the sample result is unlikely under the null model. When the p value is less than or equal to alpha, the calculator rejects the null hypothesis.
Confidence Intervals
The calculator also reports a confidence interval for the observed proportion. Wilson score is often stable for many sample sizes. Wald is simple, but it can perform poorly near zero or one. Agresti-Coull adds a small adjustment and can be useful for practical reporting.
Assumptions and Checks
This test relies on a normal approximation. The expected success count and expected failure count should usually be large enough. A common rule requires both values to be at least five. Smaller counts may need an exact binomial method instead.
Practical Use
Researchers use this test for surveys, audits, experiments, product testing, website conversion studies, and quality control. The result should be read with context. Statistical significance does not always mean practical importance. Review the sample proportion, confidence interval, effect size, and sample conditions together.