Confidence Interval
Study guides: VEE-MS, Exam SRM, Exam MAS-I, Exam ACIA-CAPSTONE
A Confidence Interval for a parameter \theta is an interval computed from a random sample that contains \theta with a stated probability 1 - \alpha, called the confidence coefficient, before the sample is drawn. For the mean \mu of a normal distribution with known standard deviation \sigma, the 100(1 - \alpha)\% confidence interval is
\bar{X} \pm z_{\alpha/2} \frac{\sigma}{\sqrt{n}}
\bar{X}is the sample mean.z_{\alpha/2}is the upper\alpha/2point of the standard normal distribution.
The probability 1 - \alpha belongs to the procedure. Once an interval is computed, it either contains \theta or it does not.
Claim sizes are normal with standard deviation 300. A sample of 36 claims has mean 1,200. What is the 95% confidence interval for the mean claim size?
- The standard deviation of
\bar{X}is300 / \sqrt{36} = 50.- For 95% confidence,
z_{0.025} = 1.96, so the half-width is1.96 \times 50 = 98.- The 95% confidence interval is
1{,}200 \pm 98, or(1{,}102,\ 1{,}298).
Confidence interval for a mean with unknown variance
When \sigma is unknown, it is replaced by the sample standard deviation S, and the 100(1 - \alpha)\% confidence interval for \mu is
\bar{X} \pm t_{\alpha/2,\,n-1} \frac{S}{\sqrt{n}}
t_{\alpha/2,\,n-1}is the upper\alpha/2point of thetdistribution withn - 1degrees of freedom.
The CAS MAS-I t table is headed by the two-sided tail area, so t_{0.025,15} = 2.131 is in the column headed 0.05.
Claim sizes are normal. A sample of 16 claims has mean 8,400 and sample standard deviation 1,200. What is the 95% confidence interval for the mean claim size?
- The estimated standard deviation of
\bar{X}is1{,}200 / \sqrt{16} = 300.- With 15 degrees of freedom,
t_{0.025,15} = 2.131, so the half-width is2.131 \times 300 = 639.- The 95% confidence interval is
8{,}400 \pm 639, or(7{,}761,\ 9{,}039).
Confidence interval for a variance
For a random sample from a normal distribution, (n-1)S^2/\sigma^2 has a chi-squared distribution with n - 1 degrees of freedom, and the 100(1 - \alpha)\% confidence interval for \sigma^2 is
\left(\frac{(n-1)S^2}{\chi^2_{\alpha/2,\,n-1}},\ \frac{(n-1)S^2}{\chi^2_{1-\alpha/2,\,n-1}}\right)
\chi^2_{\alpha/2,\,n-1}and\chi^2_{1-\alpha/2,\,n-1}are the upper\alpha/2and the upper1 - \alpha/2points of the chi-squared distribution.
The interval is not symmetric about S^2, and it requires a normal population at every sample size.
A sample of 16 claims from a normal distribution has sample standard deviation 1,200. What is the 95% confidence interval for the standard deviation?
- With 15 degrees of freedom,
\chi^2_{0.025,15} = 27.488and\chi^2_{0.975,15} = 6.262.- The numerator is
(n-1)S^2 = 15 \times 1{,}200^2 = 21{,}600{,}000.- The lower endpoint for
\sigma^2is\frac{21{,}600{,}000}{27.488} = 785{,}797.- The upper endpoint for
\sigma^2is\frac{21{,}600{,}000}{6.262} = 3{,}449{,}377.- Taking square roots, the 95% confidence interval for
\sigmais(886,\ 1{,}857).
Large-sample confidence interval
For an estimator \hat{\theta} that is approximately normal in large samples, such as a maximum likelihood estimator, the approximate 100(1 - \alpha)\% confidence interval is
\hat{\theta} \pm z_{\alpha/2}\,\text{SE}(\hat{\theta})
\text{SE}(\hat{\theta})is the standard error of\hat{\theta}. For a maximum likelihood estimator it is1/\sqrt{n I(\hat{\theta})}, withI(\theta)the Fisher information of one observation.
At 95% confidence, z_{0.025} = 1.96, which is why an interval of about two standard errors on either side of an estimate is read as an approximate 95% confidence interval.
A portfolio has 400 claims in a year, and the number of claims is Poisson. What is an approximate 95% confidence interval for the expected number of claims?
- The estimate of the Poisson mean is 400, and the variance of a Poisson count equals its mean, so the standard error is
\sqrt{400} = 20.- The half-width is
1.96 \times 20 = 39.2.- The approximate 95% confidence interval is
(360.8,\ 439.2).
Confidence intervals and hypothesis tests
A two-sided hypothesis test of H_0: \theta = \theta_0 at significance level \alpha rejects H_0 exactly when \theta_0 lies outside the 100(1 - \alpha)\% confidence interval. For a coefficient \beta_j of a generalized linear model with a log link, the interval \hat{\beta}_j \pm 1.96\,\text{SE}(\hat{\beta}_j) tests H_0: \beta_j = 0 at the 5% level, and exponentiating its endpoints gives the interval for the multiplicative relativity e^{\beta_j}. A relativity whose interval contains 1.00, the relativity of the base level, is not significantly different from the base level. At the same confidence level, a narrower interval, like a narrower prediction interval, pins the quantity down more precisely.
A log-link GLM gives
\hat = 0.35with standard error 0.12 for an urban territory. What is the 95% confidence interval for the urban relativity, and is the relativity significantly different from the base level?
- On the scale of the linear predictor, the interval is
0.35 \pm 1.96 \times 0.12 = (0.115,\ 0.585).- Exponentiating the endpoints gives the interval for the relativity,
(e^{0.115},\ e^{0.585}) = (1.12,\ 1.80).- The interval does not contain 1.00, so the urban relativity is significantly different from the base level at the 5% level.
Practice questions
- CAS Exam 7 Spring 2017, Question 6
- CAS Exam 7 Spring 2017, Question 13
- CAS Exam MAS-I Fall 2019, Question 12
- CAS Exam MAS-I Spring 2019, Question 36
- Exam MAS-I Practice Question 102
- Exam MAS-I Practice Question 162
- Exam MAS-I Practice Question 165
- CAS Exam MAS-II Fall 2018, Question 26
- CAS Exam MAS-II Fall 2019, Question 16
- CAS Exam MAS-II Spring 2019, Question 17
- CAS Exam MAS-II Spring 2019, Question 21
- SOA Exam SRM Sample Question 13
- SOA Exam SRM Sample Question 49
- SOA Exam SRM Sample Question 62