Hello all,
I was curious if someone code help me with Stata code in instrumenting a lagged dependent variable with prior values of itself. I have seen papers do this using Anderson and Hsiao (1981) as justification. My data is of a structure that it makes using any of the canned packages for dynamic panel models not feasible, so I am wondering how to do this manually.
Would it be appropriate to do something like so?
regress Δy(t-1) y(t-2) x1 x2 x3
predict p
regress y p x1 x2 x3 i.firm i.year
I do not think my mock example is correct, but I would greatly appreciate it if someone could help me out. Thanks!
Related Posts with Instrumenting a Lagged Dependent Variable
Problem with function definition for mm_rootI'm attempting to find the root of a non-linear equation using mata. Running Stata 15.1 on MacOS Moj…
Calculations via a loopHello. I have data with the following fields: Estimates for females by age band wf0to4_wtd_pop wf5…
How to change the range of graphsHi all, I am trying to include only a specific range of values in my graph for my x-axis. Code: t…
–etable– in the Nov. 17 update for v17.0Users who create post-estimation tables might take note of –etable– in the Nov. 17 update for v17.0.…
Graph combine bar plots and make them in same horizontal lineDear Stata users, Let me put my question simply. I want to combine two bar plots, one of them have …
Subscribe to:
Post Comments (Atom)
0 Response to Instrumenting a Lagged Dependent Variable
Post a Comment