0
$\begingroup$

I have estimated a model with OLS, where I have found autocorrelation with Durbin-Watson and Breusch-Godfrey. I want to use Prais-Winsten or Cochrane-Orcutt to remove the problem. When estimating the model, it removes a variable, which is a squared variable of another variable in the model.

I use the following code:

gen yearsquared=year*year

For OLS:

reg ftheft tfr partic degrees year yearsquared

For Cochrane-Orcutt:

prais ftheft tfr partic degrees year yearsquared, corc

For Prais-Winston:

prais ftheft tft partic degrees year yearsquared

In both cases, yearsquared gets removed from Stata.

Any advice, as yearsquared shouldn`t be removed due to collinearity?

$\endgroup$
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.