Example. A random variable ξ is distributed according to the normal law with unknown mathematical expectation a and variance σ2. There is a sample x1,…,x10 of values of ξ. The sample mean is 1.17, and the sample variance is 0.25. Find the confidence intervals for a and σ2 at confidence levels pa=0.98 and pσ2=0.96.
Official solution
Solution. Let's introduce the notation for the sample mean and sample variance:
Mx∗=10x1+…+x10 and Dx∗=9(x1−Mx∗)2+…+(x10−Mx∗)2.
1. The random variable
T=f1(x1,…,x10,a)=Dx∗Mx∗−a10
is distributed according to the Student's t-distribution with 9 degrees of freedom.
The random variable
χ2=f2(x1,…,x10,σ2)=σ29Dx∗
is distributed according to the Pearson's chi-squared distribution with 9 degrees of freedom.
2. We find in the t-distribution table or using the RESHEBNIK.VM package the quantiles qa(1) and qa(2), such that
P(Tqa(2))=21−pa=21−0.98=0.01
We have qa(2)=t1−α(m)=2.821(α=1−pa=0.02,m=n−1=9), qa(1)=−qa(2)=−2.821.
3. The random interval
(Mx∗−qanDx∗,Mx∗+qanDx∗)
contains a with probability pa=0.98. Substituting the values Mx∗, Dx∗,n,qa into (3) and we obtain a specific realization of the random interval (3), i.e., the confidence interval for a at the confidence level pa=0.98 :
4. We find in the chi-squared distribution table or using the RESHEBNIK.VM package the quantiles qσ2(1) and qσ2(2), such that
P(qσ2(1)<χ2<qσ2(2))=21−pσ2=21−0.96=0.02
We have qσ2(1)=χ1−α2(m)=2.532(α=(1+pσ2)/2=0.98,m=n−1=9), qσ2(2)=χ1−α2(m)=19.679(α=(1−pσ2)/2=0.02,m=n−1=9).
5. The random interval
((n−1)qσ2(2)Dx∗,(n−1)qσ2(1)Dx∗)
contains σ2 with probability pσ2=0.96. Substituting the values n, Dx∗,qσ2(1),qσ2(2) into (4) and we obtain a specific realization of the random interval (4), i.e., the confidence interval for σ2 at the confidence level pσ2=0.96 :
Conditions of the problem. A random variable ξ is distributed according to the normal law with unknown mathematical expectation a and variance σ2. Based on a sample of size n, the sample mean Mx∗ and sample variance Dx∗ are calculated. Find the confidence intervals for a and σ2 at the confidence probabilities pa and pσ2.
1. $n=19, \quad M_{x}^{*
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.