Dear Statalist members,
I would like to use the >margins< command to compute adjusted predictions and marginal effects after running a difference GMM model by >xtabond2<. When I call the command, however, Stata returns the output preceded by a warning message: "Warning: cannot perform check for estimable functions".
What does this message mean? are there any latent/unobserved components of the GMM model that >margins< does not integrate over?
Here is my code:
Relatedly, perhaps - I am a bit surprised that >margins< does not return the sample mean of the outcome after GMM:
Could someone explain what is going on here? Ultimately, can >margins< be used after >xtabond2< to obtain meaninful estimates ofthe marginal means and their standard errors?
Thanks a lot!
Dr. Luca J. Uberti
Department of Economics and Management
University of Luxembourg
I would like to use the >margins< command to compute adjusted predictions and marginal effects after running a difference GMM model by >xtabond2<. When I call the command, however, Stata returns the output preceded by a warning message: "Warning: cannot perform check for estimable functions".
What does this message mean? are there any latent/unobserved components of the GMM model that >margins< does not integrate over?
Here is my code:
Code:
webuse abdata xtabond2 n L.n w k yr*, gmm(L.n, lag(1 .)) robust twostep margins
Code:
qui xtabond2 n L.n w k yr*, gmm(L.n, lag(1 .)) robust twostep * margins * gen insample = (e(sample)==1) sum n if insample==1
Thanks a lot!
Dr. Luca J. Uberti
Department of Economics and Management
University of Luxembourg
Comment