Home page for accesible maths 4.2 Parametric confidence intervals

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

Justification

We now justify the confidence interval approach in the case of the mean of a Normal distribution.

Suppose that we have observed realisations of IID random variables X1,,Xn which have a Normal(μ,σ2) distribution. To test, at the α% level,

H0:μ=μ0

vs.

H1:μμ0

we calculate the appropriate test statistic

T=X¯-μ0S/n

Then H0 is rejected if T<tn-1(α/2) or T>tn-1(1-α/2).

By the symmetry of the t-distribution, our rejection criterion could be written instead as,

|T|>tn-1(1-α/2).

as shown in Figure 4.1.

Fig. 4.1: Probability density function of the t10 distribution with critical region for a two-tailed test at the 5% level shaded (blue).

The probability that we accept H0, given that H0 is true, is

1-α =1-Pr(|T|>tn-1(1-α/2))
=Pr(|T|<tn-1(1-α/2))
=Pr(-tn-1(1-α/2)<T<tn-1(1-α/2))
=Pr(-tn-1(1-α/2)S/n<X¯-μ0<z(1-α/2)σ/n)
=Pr(X¯-tn-1(1-α/2)S/n<μ0<X¯+tn-1(1-α/2)S/n)

But this is exactly the definition of the 100(1-α)% confidence interval given in equation (4.1).

{mdframed}

To test at an α% level

  • For a two-tailed alternative hypothesis, we reject H0 if the hypothesised value μ0 lies outside the 100(1-α)% confidence interval.

  • For a one-tailed alternative hypothesis μ<μ0, we reject H0 if and only if the hypothesised value μ0 lies above the 100(1-2α)% confidence interval.

  • For a one-tailed alternative hypothesis μ>μ0, we reject H0 if and only if the hypothesised value μ0 lies below the 100(1-2α)% confidence interval.

Some things to note:

  • The size of a confidence interval depends on both the sample size and α.

    • If all else is equal, what should happen to the confidence interval as the sample size increases?

      A larger sample size n will lead to narrower confidence intervals as there is more information and the uncertainty in the point estimate is less.

    • If all else is equal, what should happen to the confidence interval if α is decreased?

      A smaller value of α will lead to wider confidence intervals.

      Since α is the probability of rejecting the null hypothesis, given that it is in fact true i.e. the probability of a Type I error, the smaller this probability, the fewer times we should incorrectly reject H0 and therefore the larger the confidence interval needs to be.

  • In the case of the population mean, the size of the confidence interval also depends on the size of the population variance. All else being equal, a larger variance will lead to a wider confidence interval. The intuition for this is that, for a larger variance, there is less chance that a sample of size n will capture the full population behaviour.