This is a beta course, so its structure, chapters, and examples may continue to change.
Interval Estimation and Confidence Intervals
Basic Concepts of Interval Estimation
Definition of Interval Estimation
Let the distribution function of the population X X X be F ( x ; θ ) F(x;\theta) F ( x ; θ ) , where θ \theta θ is the unknown parameter. Draw a sample X 1 , X 2 , … , X n X_1, X_2, \dots, X_n X 1 , X 2 , … , X n from the population and construct two statistics θ ^ 1 = θ ^ 1 ( X 1 , X 2 , … , X n ) \hat{\theta}_1 = \hat{\theta}_1(X_1, X_2, \dots, X_n) θ ^ 1 = θ ^ 1 ( X 1 , X 2 , … , X n ) and θ ^ 2 = θ ^ 2 ( X 1 , X 2 , … , X n ) \hat{\theta}_2 = \hat{\theta}_2(X_1, X_2, \dots, X_n) θ ^ 2 = θ ^ 2 ( X 1 , X 2 , … , X n ) such that:
P ( θ ^ 1 ≤ θ ≤ θ ^ 2 ) = 1 − α P(\hat{\theta}_1 \leq \theta \leq \hat{\theta}_2) = 1 - \alpha P ( θ ^ 1 ≤ θ ≤ θ ^ 2 ) = 1 − α
then the interval [ θ ^ 1 , θ ^ 2 ] [\hat{\theta}_1, \hat{\theta}_2] [ θ ^ 1 , θ ^ 2 ] is called the confidence interval for the parameter θ \theta θ , and 1 − α 1 - \alpha 1 − α is called the confidence level .
Intuitive Understanding of Confidence Intervals
Understanding : a confidence interval gives the range of values the parameter may take. A confidence level 1 − α 1 - \alpha 1 − α means that over a large number of repeated samplings, 100 ( 1 − α ) % 100(1-\alpha)\% 100 ( 1 − α ) % of the confidence intervals contain the true value.
Properties of Confidence Intervals
Property 1 : the confidence interval is random, while the true value is fixed
Property 2 : the higher the confidence level, the wider the confidence interval
Property 3 : the larger the sample size, the narrower the confidence interval
Methods for Constructing Confidence Intervals
Pivotal Quantity Method
Idea : construct a statistic that involves both the parameter and the sample, whose distribution is known and does not depend on the parameter.
Steps :
Construct the pivotal quantity G ( X 1 , X 2 , … , X n ; θ ) G(X_1, X_2, \dots, X_n; \theta) G ( X 1 , X 2 , … , X n ; θ )
Determine the distribution of the pivotal quantity
Find constants a , b a, b a , b such that P ( a ≤ G ≤ b ) = 1 − α P(a \leq G \leq b) = 1 - \alpha P ( a ≤ G ≤ b ) = 1 − α
Solve the inequality a ≤ G ≤ b a \leq G \leq b a ≤ G ≤ b to obtain the confidence interval
Confidence Interval for the Mean of a Normal Population
When the Variance Is Known
Population : X ∼ N ( μ , σ 2 ) X \sim N(\mu, \sigma^2) X ∼ N ( μ , σ 2 ) , with σ 2 \sigma^2 σ 2 known
Pivotal quantity : Z = X ‾ − μ σ / n ∼ N ( 0 , 1 ) Z = \frac{\overline{X} - \mu}{\sigma/\sqrt{n}} \sim N(0,1) Z = σ / n X − μ ∼ N ( 0 , 1 )
Confidence interval :
P ( − z α / 2 ≤ X ‾ − μ σ / n ≤ z α / 2 ) = 1 − α P(-z_{\alpha/2} \leq \frac{\overline{X} - \mu}{\sigma/\sqrt{n}} \leq z_{\alpha/2}) = 1 - \alpha P ( − z α /2 ≤ σ / n X − μ ≤ z α /2 ) = 1 − α
Solving gives:
μ ∈ [ X ‾ − z α / 2 σ n , X ‾ + z α / 2 σ n ] \mu \in [\overline{X} - z_{\alpha/2}\frac{\sigma}{\sqrt{n}}, \overline{X} + z_{\alpha/2}\frac{\sigma}{\sqrt{n}}] μ ∈ [ X − z α /2 n σ , X + z α /2 n σ ]
When the Variance Is Unknown
Population : X ∼ N ( μ , σ 2 ) X \sim N(\mu, \sigma^2) X ∼ N ( μ , σ 2 ) , with σ 2 \sigma^2 σ 2 unknown
Pivotal quantity : T = X ‾ − μ S / n ∼ t ( n − 1 ) T = \frac{\overline{X} - \mu}{S/\sqrt{n}} \sim t(n-1) T = S / n X − μ ∼ t ( n − 1 )
Confidence interval :
P ( − t α / 2 ( n − 1 ) ≤ X ‾ − μ S / n ≤ t α / 2 ( n − 1 ) ) = 1 − α P(-t_{\alpha/2}(n-1) \leq \frac{\overline{X} - \mu}{S/\sqrt{n}} \leq t_{\alpha/2}(n-1)) = 1 - \alpha P ( − t α /2 ( n − 1 ) ≤ S / n X − μ ≤ t α /2 ( n − 1 )) = 1 − α
Solving gives:
μ ∈ [ X ‾ − t α / 2 ( n − 1 ) S n , X ‾ + t α / 2 ( n − 1 ) S n ] \mu \in [\overline{X} - t_{\alpha/2}(n-1)\frac{S}{\sqrt{n}}, \overline{X} + t_{\alpha/2}(n-1)\frac{S}{\sqrt{n}}] μ ∈ [ X − t α /2 ( n − 1 ) n S , X + t α /2 ( n − 1 ) n S ]
Confidence Interval for the Variance of a Normal Population
Population : X ∼ N ( μ , σ 2 ) X \sim N(\mu, \sigma^2) X ∼ N ( μ , σ 2 )
Pivotal quantity : χ 2 = ( n − 1 ) S 2 σ 2 ∼ χ 2 ( n − 1 ) \chi^2 = \frac{(n-1)S^2}{\sigma^2} \sim \chi^2(n-1) χ 2 = σ 2 ( n − 1 ) S 2 ∼ χ 2 ( n − 1 )
Confidence interval :
P ( χ 1 − α / 2 2 ( n − 1 ) ≤ ( n − 1 ) S 2 σ 2 ≤ χ α / 2 2 ( n − 1 ) ) = 1 − α P(\chi^2_{1-\alpha/2}(n-1) \leq \frac{(n-1)S^2}{\sigma^2} \leq \chi^2_{\alpha/2}(n-1)) = 1 - \alpha P ( χ 1 − α /2 2 ( n − 1 ) ≤ σ 2 ( n − 1 ) S 2 ≤ χ α /2 2 ( n − 1 )) = 1 − α
Solving gives:
σ 2 ∈ [ ( n − 1 ) S 2 χ α / 2 2 ( n − 1 ) , ( n − 1 ) S 2 χ 1 − α / 2 2 ( n − 1 ) ] \sigma^2 \in [\frac{(n-1)S^2}{\chi^2_{\alpha/2}(n-1)}, \frac{(n-1)S^2}{\chi^2_{1-\alpha/2}(n-1)}] σ 2 ∈ [ χ α /2 2 ( n − 1 ) ( n − 1 ) S 2 , χ 1 − α /2 2 ( n − 1 ) ( n − 1 ) S 2 ]
Confidence Interval for the Difference of the Means of Two Normal Populations
When the Variances Are Known
Population : X ∼ N ( μ 1 , σ 1 2 ) X \sim N(\mu_1, \sigma_1^2) X ∼ N ( μ 1 , σ 1 2 ) , Y ∼ N ( μ 2 , σ 2 2 ) Y \sim N(\mu_2, \sigma_2^2) Y ∼ N ( μ 2 , σ 2 2 ) , with σ 1 2 , σ 2 2 \sigma_1^2, \sigma_2^2 σ 1 2 , σ 2 2 known
Pivotal quantity : Z = ( X ‾ − Y ‾ ) − ( μ 1 − μ 2 ) σ 1 2 n 1 + σ 2 2 n 2 ∼ N ( 0 , 1 ) Z = \frac{(\overline{X} - \overline{Y}) - (\mu_1 - \mu_2)}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}} \sim N(0,1) Z = n 1 σ 1 2 + n 2 σ 2 2 ( X − Y ) − ( μ 1 − μ 2 ) ∼ N ( 0 , 1 )
Confidence interval :
( μ 1 − μ 2 ) ∈ [ ( X ‾ − Y ‾ ) − z α / 2 σ 1 2 n 1 + σ 2 2 n 2 , ( X ‾ − Y ‾ ) + z α / 2 σ 1 2 n 1 + σ 2 2 n 2 ] (\mu_1 - \mu_2) \in [(\overline{X} - \overline{Y}) - z_{\alpha/2}\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}, (\overline{X} - \overline{Y}) + z_{\alpha/2}\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}] ( μ 1 − μ 2 ) ∈ [( X − Y ) − z α /2 n 1 σ 1 2 + n 2 σ 2 2 , ( X − Y ) + z α /2 n 1 σ 1 2 + n 2 σ 2 2 ]
When the Variances Are Unknown but Equal
Population : X ∼ N ( μ 1 , σ 2 ) X \sim N(\mu_1, \sigma^2) X ∼ N ( μ 1 , σ 2 ) , Y ∼ N ( μ 2 , σ 2 ) Y \sim N(\mu_2, \sigma^2) Y ∼ N ( μ 2 , σ 2 )
Pivotal quantity : T = ( X ‾ − Y ‾ ) − ( μ 1 − μ 2 ) S p 1 n 1 + 1 n 2 ∼ t ( n 1 + n 2 − 2 ) T = \frac{(\overline{X} - \overline{Y}) - (\mu_1 - \mu_2)}{S_p\sqrt{\frac{1}{n_1} + \frac{1}{n_2}}} \sim t(n_1 + n_2 - 2) T = S p n 1 1 + n 2 1 ( X − Y ) − ( μ 1 − μ 2 ) ∼ t ( n 1 + n 2 − 2 )
where S p 2 = ( n 1 − 1 ) S 1 2 + ( n 2 − 1 ) S 2 2 n 1 + n 2 − 2 S_p^2 = \frac{(n_1-1)S_1^2 + (n_2-1)S_2^2}{n_1 + n_2 - 2} S p 2 = n 1 + n 2 − 2 ( n 1 − 1 ) S 1 2 + ( n 2 − 1 ) S 2 2
Confidence interval :
( μ 1 − μ 2 ) ∈ [ ( X ‾ − Y ‾ ) − t α / 2 ( n 1 + n 2 − 2 ) S p 1 n 1 + 1 n 2 , ( X ‾ − Y ‾ ) + t α / 2 ( n 1 + n 2 − 2 ) S p 1 n 1 + 1 n 2 ] (\mu_1 - \mu_2) \in [(\overline{X} - \overline{Y}) - t_{\alpha/2}(n_1 + n_2 - 2)S_p\sqrt{\frac{1}{n_1} + \frac{1}{n_2}}, (\overline{X} - \overline{Y}) + t_{\alpha/2}(n_1 + n_2 - 2)S_p\sqrt{\frac{1}{n_1} + \frac{1}{n_2}}] ( μ 1 − μ 2 ) ∈ [( X − Y ) − t α /2 ( n 1 + n 2 − 2 ) S p n 1 1 + n 2 1 , ( X − Y ) + t α /2 ( n 1 + n 2 − 2 ) S p n 1 1 + n 2 1 ]
Confidence Interval for the Ratio of the Variances of Two Normal Populations
Population : X ∼ N ( μ 1 , σ 1 2 ) X \sim N(\mu_1, \sigma_1^2) X ∼ N ( μ 1 , σ 1 2 ) , Y ∼ N ( μ 2 , σ 2 2 ) Y \sim N(\mu_2, \sigma_2^2) Y ∼ N ( μ 2 , σ 2 2 )
Pivotal quantity : F = S 1 2 / σ 1 2 S 2 2 / σ 2 2 ∼ F ( n 1 − 1 , n 2 − 1 ) F = \frac{S_1^2/\sigma_1^2}{S_2^2/\sigma_2^2} \sim F(n_1-1, n_2-1) F = S 2 2 / σ 2 2 S 1 2 / σ 1 2 ∼ F ( n 1 − 1 , n 2 − 1 )
Confidence interval :
P ( F 1 − α / 2 ( n 1 − 1 , n 2 − 1 ) ≤ S 1 2 / σ 1 2 S 2 2 / σ 2 2 ≤ F α / 2 ( n 1 − 1 , n 2 − 1 ) ) = 1 − α P(F_{1-\alpha/2}(n_1-1, n_2-1) \leq \frac{S_1^2/\sigma_1^2}{S_2^2/\sigma_2^2} \leq F_{\alpha/2}(n_1-1, n_2-1)) = 1 - \alpha P ( F 1 − α /2 ( n 1 − 1 , n 2 − 1 ) ≤ S 2 2 / σ 2 2 S 1 2 / σ 1 2 ≤ F α /2 ( n 1 − 1 , n 2 − 1 )) = 1 − α
Solving gives:
σ 1 2 σ 2 2 ∈ [ S 1 2 S 2 2 1 F α / 2 ( n 1 − 1 , n 2 − 1 ) , S 1 2 S 2 2 1 F 1 − α / 2 ( n 1 − 1 , n 2 − 1 ) ] \frac{\sigma_1^2}{\sigma_2^2} \in [\frac{S_1^2}{S_2^2}\frac{1}{F_{\alpha/2}(n_1-1, n_2-1)}, \frac{S_1^2}{S_2^2}\frac{1}{F_{1-\alpha/2}(n_1-1, n_2-1)}] σ 2 2 σ 1 2 ∈ [ S 2 2 S 1 2 F α /2 ( n 1 − 1 , n 2 − 1 ) 1 , S 2 2 S 1 2 F 1 − α /2 ( n 1 − 1 , n 2 − 1 ) 1 ]
Applications of Confidence Intervals
Determining the Sample Size
Problem : given a confidence level and a precision requirement, determine the sample size needed.
Example 1 : for the estimation of the mean of a normal population, given the confidence level 1 − α 1-\alpha 1 − α and the precision δ \delta δ , find the sample size n n n .
Solution :
Length of the confidence interval: 2 z α / 2 σ n ≤ 2 δ 2z_{\alpha/2}\frac{\sigma}{\sqrt{n}} \leq 2\delta 2 z α /2 n σ ≤ 2 δ
Solving gives: n ≥ ( z α / 2 σ δ ) 2 n \geq (\frac{z_{\alpha/2}\sigma}{\delta})^2 n ≥ ( δ z α /2 σ ) 2
Interpretation of Confidence Intervals
Correct interpretation : over a large number of repeated samplings, 100 ( 1 − α ) % 100(1-\alpha)\% 100 ( 1 − α ) % of the confidence intervals contain the true value.
Incorrect interpretation : the true value has a probability of 100 ( 1 − α ) % 100(1-\alpha)\% 100 ( 1 − α ) % of falling inside the confidence interval.
Choice of Confidence Interval
Two-sided confidence interval : suitable for the general case
One-sided confidence interval : suitable for directional problems
Example 2 : estimating the lower bound of the lifetime of a product
One-sided confidence interval: [ θ ^ L , + ∞ ) [\hat{\theta}_L, +\infty) [ θ ^ L , + ∞ )
P ( θ ≥ θ ^ L ) = 1 − α P(\theta \geq \hat{\theta}_L) = 1 - \alpha P ( θ ≥ θ ^ L ) = 1 − α
Properties of Confidence Intervals
Relation Between the Confidence Level and the Length of the Interval
Relation : the higher the confidence level, the longer the confidence interval.
Reason : the higher the confidence level, the larger the probability that the true value is covered, so the interval must be wider.
Relation Between the Sample Size and the Length of the Interval
Relation : the larger the sample size, the shorter the confidence interval.
Reason : the larger the sample size, the more accurate the estimate, so the interval is narrower.
Symmetry of Confidence Intervals
Normal distribution : confidence intervals are usually symmetric
Other distributions : confidence intervals may be asymmetric
Confidence Intervals for Common Distributions
Confidence Interval for the Parameter of a Binomial Distribution
Population : X ∼ B ( 1 , p ) X \sim B(1,p) X ∼ B ( 1 , p )
Large-sample approximation :
p ∈ [ p ^ − z α / 2 p ^ ( 1 − p ^ ) n , p ^ + z α / 2 p ^ ( 1 − p ^ ) n ] p \in [\hat{p} - z_{\alpha/2}\sqrt{\frac{\hat{p}(1-\hat{p})}{n}}, \hat{p} + z_{\alpha/2}\sqrt{\frac{\hat{p}(1-\hat{p})}{n}}] p ∈ [ p ^ − z α /2 n p ^ ( 1 − p ^ ) , p ^ + z α /2 n p ^ ( 1 − p ^ ) ]
where p ^ = 1 n ∑ i = 1 n X i \hat{p} = \frac{1}{n}\sum_{i=1}^n X_i p ^ = n 1 ∑ i = 1 n X i
Confidence Interval for the Parameter of a Poisson Distribution
Population : X ∼ P o i s s o n ( λ ) X \sim Poisson(\lambda) X ∼ P o i sso n ( λ )
Large-sample approximation :
λ ∈ [ λ ^ − z α / 2 λ ^ n , λ ^ + z α / 2 λ ^ n ] \lambda \in [\hat{\lambda} - z_{\alpha/2}\sqrt{\frac{\hat{\lambda}}{n}}, \hat{\lambda} + z_{\alpha/2}\sqrt{\frac{\hat{\lambda}}{n}}] λ ∈ [ λ ^ − z α /2 n λ ^ , λ ^ + z α /2 n λ ^ ]
where λ ^ = X ‾ \hat{\lambda} = \overline{X} λ ^ = X
Exercises
Exercise 1
Write the 1 − α 1-\alpha 1 − α confidence interval for the mean μ \mu μ of a normal population (with the variance known).
Reference Answer interval estimation pivotal quantity confidence interval
Approach :
Construct the confidence interval by the pivotal quantity method.
Steps :
Pivotal quantity: Z = X ‾ − μ σ / n ∼ N ( 0 , 1 ) Z = \frac{\overline{X} - \mu}{\sigma/\sqrt{n}} \sim N(0,1) Z = σ / n X − μ ∼ N ( 0 , 1 )
P ( − z α / 2 ≤ X ‾ − μ σ / n ≤ z α / 2 ) = 1 − α P(-z_{\alpha/2} \leq \frac{\overline{X} - \mu}{\sigma/\sqrt{n}} \leq z_{\alpha/2}) = 1 - \alpha P ( − z α /2 ≤ σ / n X − μ ≤ z α /2 ) = 1 − α
Solving gives: μ ∈ [ X ‾ − z α / 2 σ n , X ‾ + z α / 2 σ n ] \mu \in [\overline{X} - z_{\alpha/2}\frac{\sigma}{\sqrt{n}}, \overline{X} + z_{\alpha/2}\frac{\sigma}{\sqrt{n}}] μ ∈ [ X − z α /2 n σ , X + z α /2 n σ ]
Answer : [ X ‾ − z α / 2 σ n , X ‾ + z α / 2 σ n ] [\overline{X} - z_{\alpha/2}\frac{\sigma}{\sqrt{n}}, \overline{X} + z_{\alpha/2}\frac{\sigma}{\sqrt{n}}] [ X − z α /2 n σ , X + z α /2 n σ ]
Exercise 2
Let X 1 , X 2 , … , X n X_1, X_2, \dots, X_n X 1 , X 2 , … , X n be a sample from the population X ∼ N ( μ , σ 2 ) X \sim N(\mu, \sigma^2) X ∼ N ( μ , σ 2 ) with σ 2 \sigma^2 σ 2 unknown. Find the 95 % 95\% 95% confidence interval for μ \mu μ .
Reference Answer interval estimation t distribution confidence interval
Approach :
Construct the confidence interval using the t distribution.
Steps :
Pivotal quantity: T = X ‾ − μ S / n ∼ t ( n − 1 ) T = \frac{\overline{X} - \mu}{S/\sqrt{n}} \sim t(n-1) T = S / n X − μ ∼ t ( n − 1 )
P ( − t 0.025 ( n − 1 ) ≤ X ‾ − μ S / n ≤ t 0.025 ( n − 1 ) ) = 0.95 P(-t_{0.025}(n-1) \leq \frac{\overline{X} - \mu}{S/\sqrt{n}} \leq t_{0.025}(n-1)) = 0.95 P ( − t 0.025 ( n − 1 ) ≤ S / n X − μ ≤ t 0.025 ( n − 1 )) = 0.95
Solving gives: μ ∈ [ X ‾ − t 0.025 ( n − 1 ) S n , X ‾ + t 0.025 ( n − 1 ) S n ] \mu \in [\overline{X} - t_{0.025}(n-1)\frac{S}{\sqrt{n}}, \overline{X} + t_{0.025}(n-1)\frac{S}{\sqrt{n}}] μ ∈ [ X − t 0.025 ( n − 1 ) n S , X + t 0.025 ( n − 1 ) n S ]
Answer : [ X ‾ − t 0.025 ( n − 1 ) S n , X ‾ + t 0.025 ( n − 1 ) S n ] [\overline{X} - t_{0.025}(n-1)\frac{S}{\sqrt{n}}, \overline{X} + t_{0.025}(n-1)\frac{S}{\sqrt{n}}] [ X − t 0.025 ( n − 1 ) n S , X + t 0.025 ( n − 1 ) n S ]
Exercise 3
Let X 1 , X 2 , … , X n X_1, X_2, \dots, X_n X 1 , X 2 , … , X n be a sample from the population X ∼ N ( μ , σ 2 ) X \sim N(\mu, \sigma^2) X ∼ N ( μ , σ 2 ) . Find the 1 − α 1-\alpha 1 − α confidence interval for σ 2 \sigma^2 σ 2 .
Reference Answer interval estimation chi-square distribution confidence interval
Approach :
Construct the confidence interval using the chi-square distribution.
Steps :
Pivotal quantity: χ 2 = ( n − 1 ) S 2 σ 2 ∼ χ 2 ( n − 1 ) \chi^2 = \frac{(n-1)S^2}{\sigma^2} \sim \chi^2(n-1) χ 2 = σ 2 ( n − 1 ) S 2 ∼ χ 2 ( n − 1 )
P ( χ 1 − α / 2 2 ( n − 1 ) ≤ ( n − 1 ) S 2 σ 2 ≤ χ α / 2 2 ( n − 1 ) ) = 1 − α P(\chi^2_{1-\alpha/2}(n-1) \leq \frac{(n-1)S^2}{\sigma^2} \leq \chi^2_{\alpha/2}(n-1)) = 1 - \alpha P ( χ 1 − α /2 2 ( n − 1 ) ≤ σ 2 ( n − 1 ) S 2 ≤ χ α /2 2 ( n − 1 )) = 1 − α
Solving gives: σ 2 ∈ [ ( n − 1 ) S 2 χ α / 2 2 ( n − 1 ) , ( n − 1 ) S 2 χ 1 − α / 2 2 ( n − 1 ) ] \sigma^2 \in [\frac{(n-1)S^2}{\chi^2_{\alpha/2}(n-1)}, \frac{(n-1)S^2}{\chi^2_{1-\alpha/2}(n-1)}] σ 2 ∈ [ χ α /2 2 ( n − 1 ) ( n − 1 ) S 2 , χ 1 − α /2 2 ( n − 1 ) ( n − 1 ) S 2 ]
Answer : [ ( n − 1 ) S 2 χ α / 2 2 ( n − 1 ) , ( n − 1 ) S 2 χ 1 − α / 2 2 ( n − 1 ) ] [\frac{(n-1)S^2}{\chi^2_{\alpha/2}(n-1)}, \frac{(n-1)S^2}{\chi^2_{1-\alpha/2}(n-1)}] [ χ α /2 2 ( n − 1 ) ( n − 1 ) S 2 , χ 1 − α /2 2 ( n − 1 ) ( n − 1 ) S 2 ]
Exercise 4
Let the variances of two populations be σ 1 2 , σ 2 2 \sigma_1^2, \sigma_2^2 σ 1 2 , σ 2 2 . To test H 0 : σ 1 2 = σ 2 2 H_0: \sigma_1^2=\sigma_2^2 H 0 : σ 1 2 = σ 2 2 , which test should be used?
Reference Answer hypothesis testing choice of method test for equality of variances
Approach :
Choose the appropriate test method according to the object being tested.
Steps :
Test the ratio of the variances of two normal populations
Use the F test
Test statistic: F = S 1 2 S 2 2 ∼ F ( n 1 − 1 , n 2 − 1 ) F = \frac{S_1^2}{S_2^2} \sim F(n_1-1, n_2-1) F = S 2 2 S 1 2 ∼ F ( n 1 − 1 , n 2 − 1 )
Answer : the F test
Exercise 5
Let X 1 , X 2 , … , X n X_1, X_2, \dots, X_n X 1 , X 2 , … , X n be a sample from the population X ∼ N ( μ , σ 2 ) X \sim N(\mu, \sigma^2) X ∼ N ( μ , σ 2 ) with σ 2 \sigma^2 σ 2 known. Find the 90 % 90\% 90% confidence interval for μ \mu μ .
Reference Answer interval estimation Z distribution confidence interval
Approach :
Construct the confidence interval using the normal distribution.
Steps :
Pivotal quantity: Z = X ‾ − μ σ / n ∼ N ( 0 , 1 ) Z = \frac{\overline{X} - \mu}{\sigma/\sqrt{n}} \sim N(0,1) Z = σ / n X − μ ∼ N ( 0 , 1 )
P ( − z 0.05 ≤ X ‾ − μ σ / n ≤ z 0.05 ) = 0.90 P(-z_{0.05} \leq \frac{\overline{X} - \mu}{\sigma/\sqrt{n}} \leq z_{0.05}) = 0.90 P ( − z 0.05 ≤ σ / n X − μ ≤ z 0.05 ) = 0.90
Solving gives: μ ∈ [ X ‾ − z 0.05 σ n , X ‾ + z 0.05 σ n ] \mu \in [\overline{X} - z_{0.05}\frac{\sigma}{\sqrt{n}}, \overline{X} + z_{0.05}\frac{\sigma}{\sqrt{n}}] μ ∈ [ X − z 0.05 n σ , X + z 0.05 n σ ]
Answer : [ X ‾ − z 0.05 σ n , X ‾ + z 0.05 σ n ] [\overline{X} - z_{0.05}\frac{\sigma}{\sqrt{n}}, \overline{X} + z_{0.05}\frac{\sigma}{\sqrt{n}}] [ X − z 0.05 n σ , X + z 0.05 n σ ]
Summary
Symbols Used in This Article
Greek Letter Pronunciation Description α \alpha α Alpha (alpha) denotes the significance level; 1 − α 1-\alpha 1 − α is the confidence level μ \mu μ Mu (mu) denotes the population mean σ \sigma σ Sigma (sigma) denotes the population standard deviation χ \chi χ Chi (chi) denotes the chi-square statistic in the chi-square distribution