Inference for Quantitative Data: Means
AP Statistics · Advanced Placement
Inference for Quantitative Data: Means: the big picture
Inference for means uses the t distribution when the population standard deviation is unknown. Confidence intervals estimate a population mean, significance tests assess claims about it, and two-sample procedures compare two means, with conditions for random sampling, independence and normality checked before use.
One-sample t procedures
When σ is unknown the standard error is s/√n and the statistic t = (x̄ − μ₀)/(s/√n) follows a t distribution with n − 1 degrees of freedom. A confidence interval for μ is x̄ ± t*·s/√n. A significance test compares t with the t distribution to find a P-value. Conditions are a random sample, independence (n ≤ 10% of the population) and approximately normal data or a large sample.
{{illustration:mh-math-apstats-u7-f1}}
Key relations
- t statistic. t equals the sample mean minus the hypothesised mean divided by s over the square root of n
Two-sample procedures
To compare two independent means, the standard error is √(s₁²/n₁ + s₂²/n₂) and a confidence interval for μ₁ − μ₂ is (x̄₁ − x̄₂) ± t*·SE, with a test statistic t = (x̄₁ − x̄₂ − 0)/SE. For paired data, the differences are analysed as a single sample. An interval that includes 0 is consistent with no difference, and a small P-value is evidence against the null hypothesis of no difference.
Key relations
- Two-sample standard error. the standard error of a difference of means is the square root of s1 squared over n1 plus s2 squared over n2