Dear all,
I am writing a project using IV as my main strategy, and I want to use a dynamic panel as a robustness check.
If we check these two following examples, they have the same results, a similar example from the xtabond2 file. But since my main IV strategy used constant term, is there a way to use the constant term in xtabond2 still?
If I get rid of "nolevel" option, the constant will show up, but it's not the same estimation as IV anymore, hence the results are also different.
use http://www.stata-press.com/data/r7/abdata.dta
ivreg2 D.n (DL.n = l2.n ) if inlist(year,1978), nocons first saverf
xtabond2 n L.n if inlist(year,1978) , gmm(L.n ) h(1) nolevel small svmat svvar
what I want to know is if there is a way to have the same results as IV regression using xtabond2 with a constant term. I.e.,
ivreg2 D.n (DL.n = l2.n ) if inlist(year,1978), first saverf
Thank you so much for your help,
Alex
Related Posts with How to get the same point estimate using ivreg2 and xtabond2 with a constant term
convert hexadecimal to binaryI have variables whose values come as hexadecimal strings 32 characters long as a rusult of an md5 h…
Combinations of binary variablesHello, I have a dataset with 10 variables and 5 binary variables (A, B, C,D,E). I'm trying to get a…
Restructuring data for survival analysisHello everyone, Please I need help here on re-structuring my data (Nigeria Demographic and Health S…
Histogram with lpattern(non-solid line) adds a weird slant lineHi all, I have just found that, when I specify 'lpattern(dash)' or 'dot' or, anything other than the…
Happy birthday to statalist.orgStatalist re-invented itself as a forum on March 31, 2014. That doesn't sound that long ago, but in …
Subscribe to:
Post Comments (Atom)
0 Response to How to get the same point estimate using ivreg2 and xtabond2 with a constant term
Post a Comment