All sections
§9.3Reference material onlyIn class Wed, Nov 4

Probability Distribution Needed for Hypothesis Testing

Introductory Statistics 2e, Chapter 9, p. 466

Reference notes. A concise summary for orientation — not yet a full NoviLearn lesson with practice and mastery tracking.

The test statistic and its distribution depend on what you're testing. For a mean with σ\sigmaσ known, use the normal (zzz) distribution; with σ\sigmaσ unknown, use Student's ttt with df=n−1df = n - 1df=n−1; for a proportion, use the normal approximation to the binomial.

Key ideas

  • Mean, σ\sigmaσ known: z=xˉ−μ0σ/nz = \frac{\bar{x} - \mu_0}{\sigma/\sqrt{n}}z=σ/n​xˉ−μ0​​.
  • Mean, σ\sigmaσ unknown: t=xˉ−μ0s/nt = \frac{\bar{x} - \mu_0}{s/\sqrt{n}}t=s/n​xˉ−μ0​​.
  • Proportion: z=p′−p0p0q0/nz = \frac{p' - p_0}{\sqrt{p_0 q_0 / n}}z=p0​q0​/n​p′−p0​​ — note the standard error uses the hypothesized p0p_0p0​; requires np0>5np_0 > 5np0​>5 and nq0>5nq_0 > 5nq0​>5.
  • All of these assume a random sample; small-sample means also need a roughly normal population.
Test statistic for a mean (σ known)
z=xˉ−μ0σ/nz = \frac{\bar{x} - \mu_0}{\sigma/\sqrt{n}}z=σ/n​xˉ−μ0​​
Test statistic for a mean (σ unknown)
t=xˉ−μ0s/n,df=n−1t = \frac{\bar{x} - \mu_0}{s/\sqrt{n}}, \qquad df = n - 1t=s/n​xˉ−μ0​​,df=n−1
Test statistic for a proportion
z=p′−p0p0q0nz = \frac{p' - p_0}{\sqrt{\frac{p_0 q_0}{n}}}z=np0​q0​​​p′−p0​​

Textbook: OpenStax Introductory Statistics 2e (CC BY-NC-SA 4.0). Access for free at openstax.org.