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 associated with the explanatory variable of interest is significantly different to zero?’ This can be answered by testing
(8.1) |
More generally we can test
(8.2) |
In analogy with the tests in Part 1, the test statistic required for the hypothesis test (8.2) is
(8.3) |
where is the -th diagonal element of . Since
follows a Normal distribution;
follows a distribution;
And is independent of ,
the test statistic follows a -distribution with degrees of freedom.
Note that the standard error of is .