A sample tests a statement about the population
A hypothesis test assesses whether sample data provide evidence against a proposed value of a population parameter. For a binomial test the parameter is the success probability , and the test statistic is the number of successes in trials.
State the hypotheses
The null hypothesis specifies the value used for the calculation: . The alternative describes the claim being investigated: , or .
Specify the model
Define . Assuming is true gives . Use this null distribution to assess the observed count .
The model requires a fixed number of independent trials, two outcomes per trial and a constant success probability. A random sample supports inference about the population; the sampling method and context must also make the binomial assumptions reasonable.