If I were to run a linear regression, say
then I could access the coefficients in future lines of code with
or
.
is there a succinct way to obtain the same for specific coefficients from a GMM regression? I understand that the coefficients are somehow stored in e(b) but
all result in a type mismatch. The gmm estimation function I am using looks like this:
I want this so I can plug the labor elasticity from the GMM into a function to estimate markups.
Thanks in advance for your help!
Code:
reg lyi lki lli, robust
Code:
_b[lki]
Code:
_b[lli]
is there a succinct way to obtain the same for specific coefficients from a GMM regression? I understand that the coefficients are somehow stored in e(b) but
Code:
disp e(b) disp e(b)[1] disp e(b){rho}
Code:
gmm (ly - ( {rho}*lly + {beta0} + {betak}*(lk - {rho}*llk) + {betal}*(ll - {rho}*lll) ) ), instruments(lk llk lll logwag loglwag) nolog
Thanks in advance for your help!
Comment