How to estimate a two stage fixed-effects regression

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

batanaich
Posts: 1
Joined: Thu Jan 21, 2010 8:35 am

How to estimate a two stage fixed-effects regression

Postby batanaich » Thu Jan 21, 2010 1:55 pm

I have been trying to use the two stage least squares specification to estimate the gravity model of trade using fixed effects model . to be specific, here are my problems, 1. can I generate a new variable using the cross-section individual effects and use it in the two stage estimation. 2. can I have a step by step procedure to carry out this process. I have been stuck for almost a fortnight now :cry:

thanks

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: How to estimate a two stage fixed-effects regression

Postby startz » Thu Jan 21, 2010 2:04 pm

If y and x are your LHS and RHS variables, z is your instrument, and q holds the cross-section identifiers, you might try

Code: Select all

tsls y x @expand(q) @ z @expand(q)


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 1 guest