Durbin-Wu-Hausman Test

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

Saakshi
Posts: 24
Joined: Fri Jun 10, 2016 10:23 am

Durbin-Wu-Hausman Test

Postby Saakshi » Fri Jan 27, 2017 4:25 am

Hi,

I need to perform Durbin-Wu-Hausman Test for an OLS estimate. The null hypothesis is "OLS estimators are consistent". Can you please help me getting some code on this or any idea.

thanks

KrilleJ
Posts: 40
Joined: Fri Feb 20, 2015 6:15 am

Re: Durbin-Wu-Hausman Test

Postby KrilleJ » Fri Jan 27, 2017 4:55 am

If you generally use the following formula for the DWH test:

TestStat=d' * inv(Est Asy Var [d]) * d

where d is the difference between the IV and LS estimators, you can use the following command to extract the components needed:

matrix MyOLSBeta=OLS_eq.@coef
matrix MyOLSCov=OLS_eq.@coefcov

matrix MyIVBeta=IV_eq.@coef
matrix MyIVCov=IV_eq.@coefcov

The distribution of the test statistic under the null then depends on an appropriate number of DoF.

/K

Saakshi
Posts: 24
Joined: Fri Jun 10, 2016 10:23 am

Re: Durbin-Wu-Hausman Test

Postby Saakshi » Mon Jan 30, 2017 7:05 am

Thanks.

I need one more explanation. I used TSLS for an estimation and then followed regressor endogeneity test that is Durbin-Wu-Hausman. My regressor turns out to be endogenous as the null hypothesis is accepted. So far this means that the regressor is endogenous, so in this case can I go back and perform my OLS or I have to stick to my TSLS estimates only.

I am bit confused in this.

Please help.

Krille
Posts: 9
Joined: Tue Dec 13, 2016 11:16 am

Re: Durbin-Wu-Hausman Test

Postby Krille » Thu Feb 02, 2017 4:21 pm

If I recall correctly (you have to check) and read the test in the right way, a small observed value of the test statistic is an indication of OLS being "OK". The procedure should be described in detail in standard econometric books.


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 16 guests