Confidence intervals
All definitions, theorems, proofs and examples appear here verbatim and with the same numbering as in the lecture notes. Shaded boxes marked Learning aid are supplements for practice: learning goals, interactive experiments and self-tests. Proofs are collapsed; “Step by step” reveals them one paragraph at a time.
Instead of a single value, a confidence region specifies a set of plausible parameter values, as in the second approach of Example 2.1.
Let \((\X,\F,\P_\vartheta\colon\vartheta\in\Theta)\) be a statistical model, \(\tau\colon\Theta\to\Sigma\) a characteristic and \(\alpha\in(0,1)\). A map \(C\colon\X\to\Pot(\Sigma)\) is called a confidence region for \(\tau\) with confidence level \(1-\alpha\) if \[\P_\vartheta\big(\{\vect x\in\X\colon\tau(\vartheta)\in C(\vect x)\}\big)\ge1-\alpha\qquad\text{for all }\vartheta\in\Theta.\] If \(\Sigma=\R\) and every \(C(\vect x)\) is an interval, \(C\) is called a confidence interval.
The trivial region \(C(\vect x)=\Sigma\) satisfies the definition for every \(\alpha\) but carries no information, so one looks for small confidence regions. The probability statement concerns the random set \(C\) for a fixed parameter: if the experiment is repeated independently, then, by the strong law of large numbers, the proportion of regions that contain \(\tau(\vartheta)\) converges almost surely to a limit of at least \(1-\alpha\) (Figure 26).
Let \(\alpha\in(0,1)\), \(n\ge2\), and let \(M\) and \(V^*\) be as in Theorem 2.8.
- (i)
In the Gaussian product model with \(Q_\mu=\Nor(\mu,\sigma_0^2)\), \(\mu\in\R\), and known \(\sigma_0>0\), \[C(\vect X)\coloneqq\Big[M-z_{1-\alpha/2}\frac{\sigma_0}{\sqrt n},\ M+z_{1-\alpha/2}\frac{\sigma_0}{\sqrt n}\Big]\] is a confidence interval for \(\mu\) with confidence level \(1-\alpha\).
- (ii)
In the Gaussian product model with \(Q_\vartheta=\Nor(\mu,\sigma^2)\), \(\vartheta=(\mu,\sigma^2)\in\R\times(0,\infty)\), \[C(\vect X)\coloneqq\Big[M-t_{n-1;1-\alpha/2}\sqrt{V^*/n},\ M+t_{n-1;1-\alpha/2}\sqrt{V^*/n}\Big]\] is a confidence interval for \(\mu\) with confidence level \(1-\alpha\).
- (iii)
In the real product model of any family \(Q_\vartheta\) with mean \(m(\vartheta)\) and variance \(v(\vartheta)\in(0,\infty)\), the intervals \[C_n(\vect X)\coloneqq\Big[M-z_{1-\alpha/2}\sqrt{V^*/n},\ M+z_{1-\alpha/2}\sqrt{V^*/n}\Big]\] have asymptotic confidence level \(1-\alpha\), that is, \(\P_\vartheta\big(m(\vartheta)\in C_n(\vect X)\big)\to1-\alpha\) as \(n\to\infty\) for every \(\vartheta\).
Proof
For (i), \(\mu\in C(\vect X)\) holds if and only if \(|\sqrt n(M-\mu)/\sigma_0|\le z_{1-\alpha/2}\). By Theorem 6.9 (i) and Proposition 6.1 (i), \(\sqrt n(M-\mu)/\sigma_0\sim\Nor(0,1)\) under \(\P_\mu\), and Proposition 6.1 (iii) gives the probability \(1-\alpha\). Part (ii) follows in the same way from Theorem 6.9 (iv) and the symmetry of \(t_{n-1}\). For (iii), the central limit theorem gives \(\sqrt n(M-m(\vartheta))/\sqrt{v(\vartheta)}\xrightarrow{\mathrm d}\Nor(0,1)\), and Proposition 7.4, Proposition 5.13 give \(\sqrt{v(\vartheta)/V^*}\xrightarrow{\P}1\). By Slutsky's theorem, \(\sqrt n(M-m(\vartheta))/\sqrt{V^*}\xrightarrow{\mathrm d}\Nor(0,1)\), and the claim follows since \(\Phi\) is continuous.
□The length of these intervals decreases like \(n^{-1/2}\) and increases as \(\alpha\) decreases. The \(t\)-quantiles in (ii) are larger than the normal quantiles in (i), which compensates for the estimation of the variance.
In \(n=9\) test drives of a vehicle, the following \(\mathrm{NO}_x\) emissions are measured, in milligrams per kilometre: \[78,\ 81,\ 79,\ 85,\ 68,\ 72,\ 75,\ 70,\ 80.\] The observed values are \(M=76.44\) and \(\sqrt{V^*}=5.59\). Assuming i.i.d. normally distributed measurements with unknown mean and variance, Theorem 8.2 (ii) with \(t_{8;0.975}=2.306\) gives the \(95\%\)-confidence interval \[76.44\pm2.306\cdot5.59/3=[72.15,\,80.74]\] for the mean emission \(\mu\).
For a success probability \(p\) in a Bernoulli product model, Theorem 8.2 (iii) with \(\hat p\coloneqq M\) yields the approximate confidence interval \(\hat p\pm z_{1-\alpha/2}\sqrt{\hat p(1-\hat p)/(n-1)}\), since \(V^*=\frac{n}{n-1}\hat p(1-\hat p)\) for \(0\)-\(1\)-valued observations.