Hi guys!
I'm using 2SLS on Panel Data, however when I calculate 2SLS manually, I mean, by doing:
First Stage:
reg x1 x2 z1 z2, robust
predict x1_hat
Second Stage:
reg y x1_hat x2
I am not sure if these are the right commands, do I need to use xtreg on the same steps instead of using just reg? Because when I use the command:
ivreg2 y x2 (x1=z1 z2), robust
I am not getting the same coefficients as the manual method, so that's why I am not sure of what method I should use. I was thinking of using xtivreg2, but I am not sure.
What do you think?
PS: I am not using fixed effects
Related Posts with 2SLS on Panel Data
Computing IPW estimator by handHello everyone, For my project, I try to know if a certain type of policy ("pol", which is a dummy)…
Difference between quietly gen, quietly test and quietly regress?Hi guys, I'm trying to replicate a paper but could not understand the meaning of the following comma…
New to SSC mbitobit - Bivariate Tobit modelDear all, Thanks to Professor Baum, A new command is available in SSC. -mbitobit-. This command re-a…
hausman test problemDear all, I am working with panel data and when I use the command: hausman fe re, force, I get the…
Combining a newly constructed dummy variables to one categorical variable for analysis/refcatDear Statalist, I have currently created four variables about family status: 1) Parents living toge…
Subscribe to:
Post Comments (Atom)
0 Response to 2SLS on Panel Data
Post a Comment