READ (DATA4-3) T HOUSING POP GNP UNEMP INTRATE OLS HOUSING INTRATE POP /DWPVALUE OLS HOUSING INTRATE GNP /DWPVALUE OLS HOUSING INTRATE POP GNP /DWPVALUE
All tests are highly significant, with p-values less than 0.01, leading to rejection of the null hypothesis and confirming the conclusions of Practice Problem 9.1.READ(data4-3) T HOUSING POP GNP UNEMP INTRATE OLS HOUSING INTRATE POP / RESID=U * * Perform a Breusch-Godfrey LM test of an AR(1) process. * Regress U on Y and U lagged. GENR ULAG = LAG(U) * set ULAG=0 for first observation IF (T.EQ.1963) ULAG=0 * Run auxiliary regression. ?OLS U ULAG INTRATE POP * One version of the test is an ordinary t-test on ULAG. TEST ULAG * Another is an LM test on NR2, which is asymptotically chi-square. GEN1 LM = $N*$R2 DISTRIB LM /TYPE=CHI DF=1
Updated March 5, 2001.
noelroy@morgan.ucs.mun.ca