Prof. George Karras
Homework #4 uses the White and Breusch-Pagan procedures to test for the presence of heteroskedasticity in the empirical Neoclassical growth model, and to correct using Weighted Least Squares (WLS).
0. THEORY. As in the previous Homeworks, the theoretical model is
ln(yT) - ln(y0) = (1-e-T)[(1-)-1ln(s) - (1-)-1ln(n) + (1-)-1ln(h) - ln(y0)], (0)
where variables and parameters are defined as in Homework #2.
1. DATA. As in the previous Homeworks, consider the MRW data for the 98 countries of the non-oil sample.
2. OLS ESTIMATION. As in the last two Homeworks, rewrite equation (0) above in linear regression form:
growthi = 0 + 1lny1960i + 2lnsi + 3lnpopi + 4lnschooli + i, i=1,...,98, (1)
where the variables and parameters are defined as in Homework #2. Using OLS, estimate equation (1) and recover the squared estimated residuals. In RATS, writing
linreg growth / resid
# constant lny1960 lns lnpop lnschool
will run the regression and save the residuals ^ as the new variable resid. Create the squared residuals series, residsq, with the instruction
set residsq = resid**2
3. DIAGNOSIS OF HETEROSKEDASTICITY. We want to investigate whether the error term is homoskedastic. Implement the following two tests.
(a) The White Test. First, construct the products and cross-products of the explanatory variables. In RATS, specify
set lny1960sq = lny1960**2
set lnssq = lns**2
set lnpopsq = lnpop**2
set lnschoolsq = lnschool**2
set lny1960lns = lny1960*lns
set lny1960lnpop = lny1960*lnpop
set lny1960lnschool = lny1960*lnschool
set lnslnpop = lns*lnpop
set lnslnschool = lns*lnschool
set lnpoplnschool = lnpop*lnschool
Next, regress ^ 2 on these products and cross-products (including those of the constant term):
^i 2 = 0 + 1lny1960i + 2lnsi + 3lnpopi + 4lnschooli
+ 5lny1960 i2 + 6lns i2 + 7lnpop i2 + 8lnschool i2
+ 9lny1960ilnsi + 10ln1960ilnpopi + ... + 14lnpopilnschooli + vi, i=1,...,98. (2)
Using the R2 from this auxiliary regression calculate White's statistic and test the null hypothesis of homoskedasticity.
(b) The Breusch-Pagan Test. You somehow obtain the information that i2 = E( i2), the variance of i, may have the following exact structure:
i2 = h[0 + 1(lnpopi)2], (3)
where the function h takes only positive values. Estimate the auxiliary regression of ^i 2 on a constant and (lnpopi)2, and use the regression's R2 to calculate the Breusch-Pagan statistic for the null hypothesis of 1=0 (i.e., there is homoskedasticity).
4. WEIGHTED LEAST SQUARES (WLS) ESTIMATION. Suppose 2 i is indeed proportional to (lnpopi)2. Apply WLS estimation as follows. First transform the variables by dividing by lnpopi. In RATS, write
set trgrowth = growth/lnpop
set trconstant = 1/lnpop
set trlny1960 = lny1960/lnpop
set trlns = lns/lnpop
set trlnpop = lnpop/lnpop
set trlnschool = lnschool/lnpop
Next, implement WLS by estimating the transformed model with OLS. Compare the OLS and WLS results. Is the neoclassical model supported by the WLS results?