Dear Statalists,
Can you please help me with the models for panel data with 200 firms of 20 industries over 10 years?
xtreg y x1 controls i.year i.industry
x1 is endogenous, so I should regress x1 on x2, controls and year&industry dummies
But x2 is also endogenous, x2 = z i.year i.industry (z is the instrument for x2)
Can anyone help me how to write 3sls using reg3 or any commands for 3sls, please? I have tried to find if reg3 is suitable for panel data, the answer is unclear.
I will really appreciate your help.
Thank you so much.
Related Posts with 3sls reg3
Moving average between missing variablesHi. I have monitoring data which were collected every three hours, as shown below. I am trying to fi…
ordered logit sorted by a binary variable including weightsi am trying to run an ordered logit model with wealth status (categorical) as dependent variable plu…
Marginal effects in Stochastic Frontier AnalysisDear all: I am estimating a panel data SFA using the model proposed by Battese and Coelli (1995). I …
Averaging observations within a column having missing valuesHello there ! I am hoping to get a reply for this since I am struggling with it for quite some time …
Loop to replace string variablesMy dataset is in wide format. Variables are string and non-string. Lots of vaibales contain "NA". I …
Subscribe to:
Post Comments (Atom)
0 Response to 3sls reg3
Post a Comment