Hypothesis Testing for a Normal Mean
If $X \sim N(\mu, \sigma^2)$ with $\sigma$ known, the mean of a random sample of size $n$ satisfies $\bar{X} \sim N\left(\mu, \frac{\sigma^2}{n}\right)$. This lets us test claims about $\mu$.
Key points
- $H_0: \mu = \mu_0$; $H_1: \mu > \mu_0$, $\mu < \mu_0$ (one-tailed) or $\mu \ne \mu_0$ (two-tailed).
- Test statistic: $z = \frac{\bar{x} - \mu_0}{\sigma / \sqrt{n}}$.
- Compare $z$ with the critical value, or the tail probability with the significance level (halve it for two-tailed tests).
- Critical region for $\bar{X}$: e.g. $\bar{X} > \mu_0 + z_{\text{crit}}\frac{\sigma}{\sqrt{n}}$.
- Conclude in context, using non-definitive language ('evidence suggests').
Worked example
Question. $X \sim N(\mu, 4^2)$; $n = 25$, $\bar{x} = 51.5$. Test $H_0: \mu = 50$ vs $H_1: \mu > 50$ at $5\%$.
- $z = \frac{51.5 - 50}{4/5} = 1.875$
- Critical value $1.6449$; $1.875 > 1.6449$
Answer. Reject $H_0$: evidence that the mean exceeds $50$
Common mistakes
- Using $\sigma$ instead of $\frac{\sigma}{\sqrt{n}}$ for the standard deviation of $\bar{X}$.
- Not halving the significance level in a two-tailed test.
- Writing hypotheses in terms of $\bar{x}$ instead of $\mu$.
Related topics
- Sampling & Data Presentation
- Measures, Correlation & Regression
- Probability & Discrete Distributions
- The Binomial Distribution
- Hypothesis Testing
- The Normal Distribution
- Conditional Probability & Set Notation
- Normal Approximation to the Binomial
- Hypothesis Testing for Correlation
- The Large Data Set: How to Use It
- Data Coding