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
extracting components from filename including special charactersHi, i received a bunch (several hundred) of xls. files that should be read into Stata. Unfortunately…
Bayesian Nominal Response ModelPlease the entire house, I need someone to guide me on how I can fit nominal response model using ba…
Reformatting Matrix for Event StudyDear Statlists, I am currently working on an event study with a focus on the acquirers stock price …
Regression in data panel. Collinearity with FEHello, I am struggling with my data panel analysis. I am conducting a research with information of …
Between group difference of 2 groups with covariate-adjusted meansHi, I am new to Stata and I need to know how can I go about comparing the adjusted means between 2 …
Subscribe to:
Post Comments (Atom)
0 Response to 2SLS on Panel Data
Post a Comment