Hypothesis Testing in The Multiple Regression PDF
Hypothesis Testing in The Multiple Regression PDF
model
• Testing that individual coefficients take a specific value such as
zero or some other value is done in exactly the same way as
with the simple two variable regression model.
Yi = a + b1 X i1 + b2 X i 2 + b3 X i 3 + b4 X i 4 + b5 X i 5 + ui
• Suppose we want to test that :H0: b1=0 and b2=0 against the
alternative that one or more are wrong in:
Yi = a + b1 X i1 + b2 X i 2 + b3 X i 3 + b4 X i 4 + b5 X i 5 + ui
• The above is the unrestricted model
Yi = a + b3 X i 3 + b4 X i 4 + b5 X i 5 + ui
Example 2
• Suppose we want to test that : H0: b1=1 and b2-b3=0 against the
alternative that one or more are wrong :
Yi = a + b1 X i1 + b2 X i 2 + b3 X i 3 + b4 X i 4 + b5 X i 5 + ui
(Yi − X i1 ) = a + b2 ( X i 2 − X i 3 ) + b4 X i 4 + b5 X i 5 + ui
• Inference will be based on comparing the fit of the restricted and
unrestricted regression.
• Define the degrees of freedom as N-k where N is the sample size and
k is the number of parameters estimated in the unrestricted model (I.e
under the alternative hypothesis)
• Define by q the number of restrictions imposed (in both our examples
there were two restrictions imposed
The F-Statistic
( RRSS − URSS ) / q
F=
URSS /( N − K )
• If the test statistic is below the critical value we accept the null
hypothesis.
• Otherwise we reject.
Examples
• When the regression errors are not normal (but satisfy all the
other assumptions we have made) we can appeal to the central
limit theorem to justify inference.
• In large samples we can show that the q times the F statistic is
distributed as a random variable with a
α
qF ~χ 2
q distribution
Examples
------------------------------------------------------------------------------
log butter purchases lbp | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
log price of butter lpbr | -.7297508 .1540721 -4.74 0.000 -1.040068 -.4194336
log price of margarine lpsmr | .7795654 .3205297 2.43 0.019 .1339856 1.425145
log real income lryae | .9082464 .510288 1.78 0.082 -.1195263 1.936019
log butter advertising ltba | -.0167822 .0133142 -1.26 0.214 -.0435984 .0100339
log margarine advertising lrma | -.0059832 .0166586 -0.36 0.721 -.0395353 .027569
Constant _cons | 6.523365 .8063481 8.09 0.000 4.899296 8.147433
------------------------------------------------------------------------------
Restricted Model
lbp = a + b1 lpbr + b 2 lpsmr + 1 × lryae + 0 × ltba + 0 × lrma + u
------------------------------------------------------------------------------
New dep var lbpry | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
log price of butter lpbr | -.7481124 .14332 -5.22 0.000 -1.036277 -.4599483
log price of margarine lpsmr | .782316 .2466846 3.17 0.003 .2863234 1.278309
Constant _cons | 6.255797 .5969626 10.48 0.000 5.055523 7.456071
------------------------------------------------------------------------------
The Test
( 0.287 − 0.274 ) / 3
F = = 0.71
0.274 /( 51 − 6)
------------------------------------------------------------------------------
Share of Fuel in budget wfuel | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
log real expenditure logex | -.0118527 .0007211 -16.44 0.000 -.0132665 -.0104389
Constant _cons | .1160574 .0030032 38.64 0.000 .1101697 .1219451
------------------------------------------------------------------------------
(R − R ) / q 2 2
F = U R
(1 − R U ) /( N − k )
2
Y i = a + b1 X i 1 + ε i X i 1 + u
• Assume for simplicity that å and u are independent.
• Assume that å and X are independent of each other.
• Then the error term has the following properties:
E (ε i X i + u i | X ) = E (ε i X i | X ) + E (u i | X ) = E (ε i | X ) X i = 0