Test a Claim About a Population Mean
Choose the direction of a test, calculate a z or t statistic and interpret the decision in context.
Write the claim as a pair of hypotheses
Suppose a packing line is set to fill 250 g. The process has a population mean μ. To check whether the mean has changed in either direction, write H₀: μ = 250 and H₁: μ ≠ 250. To look only for underfilling on average, use the lower-tail alternative H₁: μ < 250. For a one-sided exam calculation, the null boundary is still 250 g. Choose the direction before looking at the sample.
Put the difference on a standard error scale
For an independent random sample from a normal population, use z = (x̄ − μ₀)/(σ/√n) when the population standard deviation σ is known. If σ is unknown and the population is normal, use the sample standard deviation s in its place and compare the resulting t with the t distribution with n − 1 degrees of freedom. A large independent sample can support a normal approximation in suitable populations. A small sample does not make an unknown σ known.
Work through a two-sided decision
The packing line historically has known σ = 8 g. From an independent random sample of 64 packs, x̄ = 247.5 g. The standard error is 8/√64 = 1 g. The test statistic is (247.5 − 250)/1 = −2.5.
At significance level 5%, the two-sided z cutoffs are −1.96 and +1.96. Since −2.5 lies below −1.96, reject H₀. The sample gives evidence of a changed process mean. If the statistic had been −1.4, it would stay between the cutoffs and we would fail to reject H₀. The data would give insufficient evidence of a change at this level.
Read the error and the p-value
A Type I error rejects a true null hypothesis. In this example it means saying the mean changed when it is still 250 g. A Type II error fails to reject the null when the mean really differs from 250 g. A p-value is the probability under H₀ of obtaining a test statistic at least as extreme as the observed one, in the tail or tails specified by H₁. Compare it with α. A p-value of 0.03 leads to rejection at 0.05 and to failure to reject at 0.01.
NIST Engineering Statistics Handbook, tests of a process mean
Sign in to keep your progress. Sign in