202405202141
Status: #idea
Tags: Regression Analysis

Test On Individual Regression Coefficient (Assuming We know our Model Is Significant)

We test the hypothesis that
H0:βj=0
H1:βj0
We know that our β^ is distributed according to a normal distribution with mean β since it is a BLUE Estimator and that it has variance σ2(xTx)1.

By this logic we know that all the elements in the β^ vector have to be normally distributed as well. So like in Simple Linear Regression we can simply use z-tests and t-tests to find our answer.

Except we lack the variance for a specific βj or do we? We need to observe that the variance of β^ is σ2 × (xTx)1 which is really just the covariance matrix of all βi. To find the variance for a specific βj we simply index this matrix at the diagonal such that the variance of βj is covariance matrix @ index (j,j) which is (xTx)jj1.

From there we can easily compute our statistic, keep in mind that in the image below we're checking for significance of the slope so we are assuming βj is 0. If the test was say βj=1 then we'd subtract 1 from β^j.

As usual we do not have σ2 in pretty much all the cases, so we use MSE instead which is computed by as follows SSEnk where k is the number of parameters. Look at The Method Of Least Squares in Multiple Linear Regression for the specific formulas.

Obviously, the t distribution it follows will have nk number of parameters.

Accustom yourself with the following image
Pasted image 20240518205416.png