Home page for accesible maths Linear combinations of the regression coefficients

Style control - access keys in brackets

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

8.5 Confidence intervals for the regression coefficients

We can also use the sampling distributions of β^j and σ^2 to create a 100(1-α)% confidence interval for βj, {mdframed}

β^j±tn-p(1-α/2)×σ^2(XX)j,j-1

As discussed in Part 1, the confidence interval can be used to test H0:βj=b against H1:βjb. The null hypothesis is rejected at the α% significance level if b does not lie in the 100(1-α)% confidence interval.

To test against the one-tailed alternatives,

  • 1

    H1:βj>b. Calculate the 100(1-2α)% confidence interval and reject H0 at the α% level if b lies below the lower bound of the confidence interval;

  • 2

    H1:βj<b. Calculate the 100(1-2α)% confidence interval and reject H0 at the α% level if b lies above the upper bound of the confidence interval.

TheoremExample 8.5.1 Birth weights: confidence interval and two tailed test

Derive a 95% confidence interval for the regression coefficient representing this relationship between weight and gestational age at birth.

We have all the information to do this from the previous example,

  1. 1

    β^2=116, se(β^2)=σ^2(XX)2,2-1=22.2 and t22(0.975)=2.074.

  2. 2

    Then the 95% confidence interval for β2 is

    β^2±t22(0.975)×σ^2(XX)2,2-1=116±2.074×22.2=(70.0,162.0).

Since zero lies outside this interval, there is evidence at the 5% level to reject H0, i.e. there is evidence of a relationship between gestational age and weight at birth.

TheoremExample 8.5.2 Birth weights: confidence interval and one-tailed test

Since zero lies below the confidence interval, we might want to test

H0:β2=0

vs.

H1:β2>0.

To test at the 5% level, use t22(0.95)=1.717 to calculate a 90% confidence interval and see if zero lies to the left of this confidence interval.

As above,

β^2±t22(0.95)×σ^2(XX)2,2-1=116±1.717×22.2=(77.9,154.1)

Since 0<77.9, we conclude that there is evidence for a positive relationship between gestational age and weight at birth.