Dear members,
I am struggling in modeling a panel data with lag variables in Stata. I would like some help on what should I use on my panel data.
I tried the three equations below, theoretically they seem to be the same equation to me, but why the results are all different?
I read some panel VAR materials and papers, but I have trouble finding the right answer.
Which one is correct to use or can I use all of them?
1) pvar y1 y2 y3 y4, lag(1) instl(1/5) gmmstyle overid exog(x1 x2 x3) fod vce(cluster id)
2) pvar D.y1 D.y2 D.y3 D.y4, instl(1/5) gmmstyle overid exog(D.x1 D.x2 D.x3) fod vce(cluster id)
3) pvar D.y1 D.y2 D.y3 D.y4, lag(1) instl(1/5) gmmstyle overid exog(D.x1 D.x2 D.x3) fod vce(cluster id)
Related Posts with panel var _are the lags and D.variable working same?
How do I interpret interaction effects in a log-level regression model?My model: log(y)=β0 + β1x1 + β2log(x2) + β3x1log(x2). The x1 variable is endogenous and I instrume…
Evaluating a policy *expansion* using Difference in DifferenceDear All: I am writing to ask for a Difference-in-Difference question. Usually in a standard DiD s…
Mlabel command to label datapointsHello I am trying to label the datapoints in the graph below. I want to mark the number of machines …
Comparing median at 2 pointsDear Stata users, I am wondering, is it possible to compare the median of continuous variable (V1-s…
How to count the number of observations at the min and max value?Given the data set, Find the average education level in the sample. What are the lowest and highest …
Subscribe to:
Post Comments (Atom)
0 Response to panel var _are the lags and D.variable working same?
Post a Comment