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?
Meta analysis using stata 15How can I test/visualize subgroup difference. I use metan by(subgroup) but I can’t get the differenc…
Reducing repeated responses to find actual sample size from a multiple imputed datasetHi there I am hoping someone can advise me on this complex dataset that is derived from a dual frame…
Scaling fitted values obtained from first stage of IVHi everyone: I am running the following regression where I instrument my binary endogenous treatmen…
svy: tabulate seems to misprint the extended missing value .zHello Statalist members, I am using Stata 17 (ver.10May2022). I found that svy: tabulate doesn't se…
Multiple time-failure analysis, event-specific coeffcients?Dear all, I am using stcox along with a stratification variable to estimate the hazard functions fo…
Subscribe to:
Post Comments (Atom)
0 Response to panel var _are the lags and D.variable working same?
Post a Comment