1. One-sample t-test for a mean
Use a t-test when the sample is small, the population is normal and its variance is unknown. Estimate the variance from the sample: s² divides by n - 1, not n.
State H₀ and H₁ about the population mean. Compare t with the tabular value for n - 1 degrees of freedom.
Write the conclusion in words and in context, with some uncertainty: sufficient evidence to support the claim, or not.
s² = 1/(n-1)(sum x² - ((sum x)²)/n)
t = (barx - μ₀)/(s / √n)
nu = n - 1
Examiner insight
Worked example 16 marks
A random sample of 9 observations of a normally distributed random variable X is as follows.
19.4, 21.3, 24.0, 20.7, 18.9, 21.2, 22.5, 23.4, 20.8
The population mean of X is μ. Test, at the 2.5% significance level, the null hypothesis μ = 20 against the alternative hypothesis μ > 20.
- 1
barx = 192.2/9 = 21.36 [1]
- 2
s² = 1/8(4127.64 - 192.2²/9) = 2.888 [1]
- 3
t = (192.2/9 - 20)/(√(s²/9)) [1]
- 4
= 2.39 [1]
- 5
2.39 > 2.306 (nu = 8), so reject H₀ [1]
- 6
There is sufficient evidence to support that μ > 20 [1]