S3.3 - Estimation, confidence intervals and tests
- Syllabus
- 2019
- Topic
- S3.3
- Level
- A2
An estimator is a rule calculated from a random sample to estimate a population parameter. Its observed value is an estimate. An estimator θ^ is unbiased when E(θ^)=θ; its bias is E(θ^)−θ.
The standard error is the standard deviation of an estimator's sampling distribution. It measures how much estimates would vary across repeated samples, rather than how much individual observations vary.
\bar x=\frac1n\sum_{i=1}^{n}x_i,\qquad s^2=\frac1{n-1}\sum_{i=1}^{n}(x_i-\bar x)^2
The sample mean xˉ is an unbiased estimate of μ. Dividing the squared deviations by n−1, not n, makes s2 an unbiased estimate of σ2. When σ is unknown, s/n estimates the standard error of the sample mean.
For the sample 2, 4, 6, xˉ=4 and ∑(xi−xˉ)2=8, so s2=8/(3−1)=4. The estimated standard error of xˉ is 2/3.
Unbiased does not mean that one estimate equals the true parameter, and it does not by itself mean most precise. Among unbiased estimators, a smaller variance means greater efficiency.
For independent observations from a population with mean μ and variance σ2, the sample mean Xˉ has the same mean μ but the smaller variance σ2/n. Averaging therefore preserves the centre while reducing sampling variability.
E(\bar X)=\mu,\qquad \operatorname{Var}(\bar X)=\frac{\sigma^2}{n},\qquad \operatorname{se}(\bar X)=\frac{\sigma}{\sqrt n}
If each observation is Normal, X∼N(μ,σ2), then the result is exact: Xˉ∼N(μ,σ2/n). No proof is required.
If bag weights are N(50,62) and n=36, then Xˉ∼N(50,12). Thus P(Xˉ<48.5)=P(Z<−1.5)≈0.0668.
Use σ/n, not σ/n, for the standard deviation of Xˉ. Exact Normality here comes from a Normal population; the large-sample Central Limit theorem for non-Normal populations belongs to the later objective.
A confidence interval is a range produced by a sampling procedure for an unknown fixed parameter. A 95% procedure is designed so that, over many independent samples, about 95% of the intervals constructed in the same way contain the true parameter.
After one interval has been calculated, the parameter and its endpoints are fixed: the interval either contains the parameter or it does not. The confidence level describes the long-run success rate of the method, not a 95% probability assigned to this particular fixed interval.
For a two-sided test of H0:μ=μ0 at significance level α, use the matching 100(1−α)% confidence interval. Reject H0 exactly when μ0 lies outside the interval; if it lies inside, do not reject H0.
If a 95% confidence interval for μ is (22.24,22.56), the value 22.50 is compatible with the data at the 5% two-sided level, whereas 23.00 would be rejected.
A value inside the interval is not proved true, and failing to reject it is not the same as accepting it. Match the confidence level to a two-sided test; one-sided tests require the corresponding one-sided procedure.
For a random sample from a Normal population whose variance σ2 is known, a two-sided 100(1−α)% confidence interval for μ is centred on the sample mean and extends by a critical value times its standard error.
\bar x;\pm;z_{1-\alpha/2}\frac{\sigma}{\sqrt n}
Find xˉ, calculate σ/n, select the standard Normal critical value for the required confidence level, then subtract and add the margin of error. State both limits with appropriate accuracy.
For xˉ=22.4, known σ=0.4 and n=36, a 98% interval uses z0.99=2.3263. The margin is 2.3263(0.4/6)=0.1551, giving (22.245,22.555), or approximately (22.25,22.56).
This formula assumes the population variance is known and the sample is random; with a small sample, the population itself must be Normal. Do not use s in place of σ under this objective, and no theoretical derivation is required.
To test a Normal population mean when σ2 is known, compare the observed sample mean with the null value μ0 in units of its standard error.
Z=\frac{\bar X-\mu_0}{\sigma/\sqrt n}\sim N(0,1)\quad\text{under }H_0
State H0 and a one- or two-sided H1 in terms of μ. Calculate z, compare it with the appropriate standard Normal critical value (or use its p-value), then give a conclusion about H0 and a contextual conclusion.
Suppose H0:μ=1010 against H1:μ=1010, with known σ=8, n=100 and xˉ=1008.47. Then z=(1008.47−1010)/(8/10)=−1.9125. Since ∣z∣<1.96, do not reject H0 at 5%.
Choose the tail before seeing the result. A non-significant result means insufficient evidence against H0; it does not prove H0. This exact test requires a Normal population and known variance.
The Central Limit theorem makes the sampling distribution of Xˉ approximately Normal for a sufficiently large independent random sample, even when the population distribution is not Normal. This extends Normal confidence intervals and hypothesis tests beyond Normal populations.
\frac{\bar X-\mu}{S/\sqrt n};\text{is treated approximately as }N(0,1)\text{ when }n\text{ is large.}
When σ2 is unknown, use the unbiased sample variance s2 and estimated standard error s/n. Then use standard Normal critical values for the required large-sample confidence interval or test.
For a large sample with n=100, xˉ=12.4 and s=3.0, an approximate 95% interval is 12.4±1.96(3/10), giving (11.812,12.988). The same standard error is used to standardise a hypothesised mean.
Large sample size supports both the Normal approximation and replacing σ by s; it does not remove the need for random, independent observations or protect against a badly biased sample. Knowledge of the t-distribution is not required.
For two independent Normal populations with known variances, the difference of sample means is Normal. Test a claimed population-mean difference δ0 by comparing Xˉ−Yˉ with δ0 using the combined standard error.
Z=\frac{(\bar X-\bar Y)-\delta_0}{\sqrt{\sigma_x^2/n_x+\sigma_y^2/n_y}}\sim N(0,1)\quad\text{under }H_0:\mu_x-\mu_y=\delta_0
Independence makes the variances of the two sample means add. The null difference is often 0, but use the value actually claimed and keep the subtraction order consistent in the hypotheses, numerator and conclusion.
With xˉ=52, yˉ=48, σx=6, nx=36, σy=8, ny=64 and δ0=0, the standard error is 1+1=2. Hence z=4/2=2.83, so reject equality at the 5% two-sided level.
This result requires independent samples from Normal populations and known variances. Do not subtract standard errors; variances add. Paired observations require a different analysis of within-pair differences.
For two independent large samples, the Central Limit theorem allows inference for μx−μy even when the populations are not Normal. If the population variances are unknown, estimate each one from its own sample.
Z=\frac{(\bar X-\bar Y)-\delta_0}{\sqrt{S_x^2/n_x+S_y^2/n_y}};\text{is treated approximately as }N(0,1).
State hypotheses in terms of μx−μy, calculate the two-sample standard error from sx2 and sy2, standardise, then compare with the correct one- or two-tailed Normal critical value. Interpret the decision in context.
For nx=64, xˉ=75.2, sx=8 and ny=81, yˉ=71.8, sy=9, testing H0:μx−μy=0 gives standard error 82/64+92/81=2 and z=3.4/2=2.40. This exceeds 1.6449 for a 5% upper-tail test.
The samples must be independently and randomly obtained, and both must be large enough for the approximations. Do not pool the two sample variances unless a separate model justifies it. Knowledge of the t-distribution is not required.