Hi,
I have a dynamic model where the dependent variable is lagged. Therefore I am using system-GMM as an estimator. I am also using forward orthogonal deviations as the transformation as my panel is unbalanced. I also want to be able to vary the lags for the level instruments and the difference instruments independently. Therefore I am putting this into the Stata whilst varying the lags to get what I want:
xtabond2 lnex l.lnex lngdpchina lngdpother lndistance cp l.cp, gmm(lnex lngdpchina lngdpother, lag(2 3) equation(diff) collapse) gmm(lnex lngdpchina lngdpother, lag(2 4) equation(level) collapse) iv(cp l.cp lndistance) orthogonal robust
Is this correct or am I using the gmm option equation(level/diff) incorrectly?
Thank you.
Related Posts with GMM Panel Data on Stata
how to split a var(string) into two vars hello, I have a question, how to sArray plit a into two as required: ----------------------- c…
Testing underpowerment of pre intervention dummyFor testing the validity of parallel trend assumption I need to know how many observations I have ( …
Randomly shuffling only one variable in StataHello, We are trying to run a placebo test for our model and to do that we wish to randomly shuffle…
fixed model in network meta analysis (NMA)In a NMA, the "network meta c" is a code for consisted random model, then if I need, how to run a fi…
New variable based on number of distinct observations if 2 conditions are metDear all, I'm trying to find the correct command for the following: I have a dataset where each com…
Subscribe to:
Post Comments (Atom)
0 Response to GMM Panel Data on Stata
Post a Comment