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?
Count Number of Unique Values Across VariablesHello, I am trying to figure out how I can count the number of unique values across several variable…
Ignoring null values in sumI have a variable of "totalamountraised" that i would like to find the mean for. Some observations h…
Test for a trend of bacterial resistance against antibiotics over ten years periodDear statalist, Unfortunately, I posted this question one week on cross-validated and have yet to g…
random number generationusing stata 13 I have set a seed value and using gen random=runiform() generated random numbers. Whe…
comparing difference in average marginal effects (AME) between stratified samplesHi Statalists, I was wondering how to conduct a significance test to compare the difference in aver…
Subscribe to:
Post Comments (Atom)
0 Response to panel var _are the lags and D.variable working same?
Post a Comment