Hausman test and Sragan test

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

zaghdoud
Posts: 1
Joined: Sun Oct 12, 2008 10:55 am

Hausman test and Sragan test

Postby zaghdoud » Sun Oct 12, 2008 11:30 am

Good evening
:(
Can anybody, tell me how can i use the hausman test for the endogeneity variable in TSLS and how can i use Sragan test for the over-identifaction instruments in Eviews.


Thanks a lot.

rodo
Posts: 10
Joined: Fri Oct 10, 2008 6:34 am
Location: Brussels / Prague / Sofia
Contact:

Re: Hausman test and Sragan test

Postby rodo » Tue Oct 14, 2008 4:37 pm

hi, did you try the following command:

view/fixed/random effect testing/correlated random - haussman test


as a cross section random effect test
??

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13318
Joined: Tue Sep 16, 2008 5:38 pm

Re: Hausman test and Sragan test

Postby EViews Gareth » Thu Oct 30, 2008 11:47 am

I don't think that is the Hausman Test he is talking about.

Unfortunately EViews does not have the Hausman endogeneity test built in at the moment, however you should be able to perform it manually fairly easily.

We also do not have an automatic way of computing the Sargan test for TSLS.
Follow us on Twitter @IHSEViews

Wing
Posts: 1
Joined: Tue Dec 30, 2008 6:11 pm

Re: Hausman test and Sragan test

Postby Wing » Tue Dec 30, 2008 6:43 pm

Dear all,

Hossein Abbasi-Nejad and Shapour Mohammadi (both from University of Tehran) write an EViews program to run the Hausman test. It is available at http://papers.ssrn.com/sol3/papers.cfm?abstract_id=672641. This program is generic and easy to use. All you have to do is replace the panel/pool identifiers (which usually begin with '_') and variable names. To run the test, open your workfile, then run the program (File, Run). You will get the result instantly.

Regards,

Wing
http://maswing.wordpress.com

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13318
Joined: Tue Sep 16, 2008 5:38 pm

Re: Hausman test and Sragan test

Postby EViews Gareth » Wed Dec 31, 2008 9:08 am

Wing wrote:Dear all,

Hossein Abbasi-Nejad and Shapour Mohammadi (both from University of Tehran) write an EViews program to run the Hausman test. It is available at http://papers.ssrn.com/sol3/papers.cfm?abstract_id=672641. This program is generic and easy to use. All you have to do is replace the panel/pool identifiers (which usually begin with '_') and variable names. To run the test, open your workfile, then run the program (File, Run). You will get the result instantly.

Regards,

Wing
http://maswing.wordpress.com



I just ran that program and, although it has a couple of simple errors, if you can get it working, it does work. However it was written for EViews 4, when EViews didn't support the Hausman test for random effects. EViews 5 and 6 do include this test, so you don't need to use this program.
Follow us on Twitter @IHSEViews


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 72 guests