P08 - 178380 - Eviews Guide
P08 - 178380 - Eviews Guide
file: wage1.wf1
The usual SE:
61
Choose Heteroskedasticity Consistent Covariance/White in the
Estimation Options box.
62
Date: 09/28/04 Time: 21:32
Sample: 1 526
Included observations: 526
White Heteroskedasticity-Consistent Standard Errors & Covariance
Variable Coefficient Std. Error t-Statistic Prob.
C 0.321378 0.109469 2.935791 0.0035
MARR_MALE 0.212676 0.057142 3.721886 0.0002
MARR_FEMALE -0.198268 0.058770 -3.373619 0.0008
SINGLE_FEMALE -0.110350 0.057116 -1.932028 0.0539
EDUC 0.078910 0.007415 10.64246 0.0000
EXPER 0.026801 0.005139 5.215010 0.0000
EXPERSQ -0.000535 0.000106 -5.033361 0.0000
TENURE 0.029088 0.006941 4.190731 0.0000
TENURESQ -0.000533 0.000244 -2.187835 0.0291
In this example, the White SEs and the usual ones are almost the same.
Perform the BP test. In the Eq_8_6 window, choose View/Residual
Tests/White Heteroskedasticity (no cross terms)1. Note: the BP test
is a special case of the White test without cross terms.
You’ll get
1
The student version of Eviews 4.1 is used to get the results for heteroscedasticity. If you use a
current version of Eviews such as 6th version, the results might change due to using different set of
explanatory variables especially in white heteroscedasticity test.
63
F-statistic 1.457277 Probability 0.144024
Obs*R-squared 15.90816 Probability 0.144575
Test Equation:
Dependent Variable: RESID^2
Method: Least Squares
Date: 09/28/04 Time: 21:53
Sample: 1 526
Included observations: 526
Variable Coefficient Std. Error t-Statistic Prob.
C 0.222807 0.132654 1.679608 0.0936
MARR_MALE -0.045922 0.038520 -1.192169 0.2337
MARR_FEMALE -0.043534 0.040276 -1.080894 0.2803
SINGLE_FEMALE 0.007294 0.038493 0.189497 0.8498
EDUC -0.025062 0.020476 -1.224002 0.2215
EDUC^2 0.001229 0.000845 1.453638 0.1467
EXPER 0.006965 0.006350 1.096818 0.2732
EXPER^2 -7.24E-05 0.000231 -0.313872 0.7537
EXPERSQ^2 -3.81E-08 5.78E-08 -0.659291 0.5100
TENURE -0.001891 0.006711 -0.281820 0.7782
TENURE^2 0.000228 0.000363 0.628406 0.5300
TENURESQ^2 -6.54E-08 1.62E-07 -0.404133 0.6863
R-squared 0.030244 Mean dependent var 0.152030
64
eq02
eq03
65
eq04
66
You’ll see the following:
Choose Weighted LS/TSLS and type the weight inc^(-1/2) in the box.
Click OK. And, OK again.
Remarks:
67
[3] Example 8.9
use GPA1.wfl
generate parcoll: parcoll=(fathcoll>0 or mothcoll>0). That is,
parcoll=1 if either fathcoll>0 or mothcoll>0; =0, otherwise.
OLS with the standard SE
Dependent Variable: PC
Method: Least Squares
Sample: 1 141
Included observations: 141
Variable Coefficient Std. Error t-Statistic Prob.
C -0.000432 0.490536 -0.000881 0.9993
HSGPA 0.065394 0.137258 0.476435 0.6345
ACT 0.000565 0.015497 0.036427 0.9710
PARCOLL 0.221054 0.092957 2.378024 0.0188
R-squared 0.041526 Mean dependent var 0.397163
Adjusted R-squared 0.020537 S.D. dependent var 0.491055
S.E. of regression 0.485986 Akaike info criterion 1.422685
Sum squared resid 32.35700 Schwarz criterion 1.506338
Log likelihood -96.29930 F-statistic 1.978510
Durbin-Watson stat 1.759636 Prob(F-statistic) 0.120096
Dependent Variable: PC
Method: Least Squares
Sample: 1 141
Included observations: 141
White Heteroskedasticity-Consistent Standard Errors & Covariance
Variable Coefficient Std. Error t-Statistic Prob.
C -0.000432 0.495880 -0.000871 0.9993
HSGPA 0.065394 0.141487 0.462194 0.6447
ACT 0.000565 0.016071 0.035126 0.9720
PARCOLL 0.221054 0.088038 2.510900 0.0132
R-squared 0.041526 Mean dependent var 0.397163
Adjusted R-squared 0.020537 S.D. dependent var 0.491055
S.E. of regression 0.485986 Akaike info criterion 1.422685
Sum squared resid 32.35700 Schwarz criterion 1.506338
Log likelihood -96.29930 F-statistic 1.978510
Durbin-Watson stat 1.759636 Prob(F-statistic) 0.120096
68
1. Estimate the model by OLS and obtain the predicted pc (click
“forecast” in the OLS output window): pcf (automatically
generated by EViews).
2. Since pcf is always between (0,1), go ahead to generate weight:
h=pcf*(1-pcf).
3. Re-estimate the model by WLS, using 1/h^0.5 as the weight.
Dependent Variable: PC
Method: Least Squares
Sample: 1 141
Included observations: 141
Weighting series: 1/H^0.5
Variable Coefficient Std. Error t-Statistic Prob.
C 0.026210 0.476650 0.054988 0.9562
HSGPA 0.032703 0.129882 0.251790 0.8016
ACT 0.004272 0.015453 0.276455 0.7826
PARCOLL 0.215186 0.086292 2.493703 0.0138
Weighted Statistics
R-squared 0.026172 Mean dependent var 0.390076
Adjusted R-squared 0.004847 S.D. dependent var 0.484103
S.E. of regression 0.482928 Akaike info criterion 1.410059
Sum squared resid 31.95104 Schwarz criterion 1.493712
Log likelihood -95.40919 F-statistic 2.224037
Durbin-Watson stat 1.731452 Prob(F-statistic) 0.088163
Unweighted Statistics
R-squared 0.040928 Mean dependent var 0.397163
Adjusted R-squared 0.019927 S.D. dependent var 0.491055
S.E. of regression 0.486138 Sum squared resid 32.37717
Durbin-Watson stat 1.757520
69