Home page for accesible maths 8.3 Residual error

Style control - access keys in brackets

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

8.4 Hypothesis tests for the regression coefficients

The question that is typically asked of a regression model is ‘Is there evidence of a significant relationship between an explanatory variable and a response variable ?’. For example, ‘Is there evidence that domestic gas consumption increases as outside temperatures decrease?’

An equivalent way to ask this is ‘Is there evidence that the regression coefficient βj associated with the explanatory variable xj of interest is significantly different to zero?’ This can be answered by testing

H0:βj=0 vs. H1:βj0. (8.1)

More generally we can test

H0:βj=b vs. H1:βjb. (8.2)

In analogy with the tests in Part 1, the test statistic required for the hypothesis test (8.2) is

t=β^j-bσ^2(XX)j,j-1 (8.3)

where (XX)j,j-1 is the j-th diagonal element of (XX)-1. Since

  • 1

    β^j follows a Normal distribution;

  • 2

    σ^2 follows a χn-p2 distribution;

  • 3

    And βj is independent of σ^2,

the test statistic follows a t-distribution with n-p degrees of freedom.

Note that the standard error of β^j is σ^2(XX)j,j-1.