Hi,
I am trying to replicate this CRE probit model discussed in here:
https://www.statalist.org/forums/forum/general-stata-discussion/general/1346297-average-marginal-effects-from-chamberlain-mundlak-device-cre
I would like to include several variables for which to compute margins. E.g. what would be equivalent for 'lhinc' and 'kids':
I tried this:
but that does not work. Any ideas?
I am trying to replicate this CRE probit model discussed in here:
https://www.statalist.org/forums/forum/general-stata-discussion/general/1346297-average-marginal-effects-from-chamberlain-mundlak-device-cre
I would like to include several variables for which to compute margins. E.g. what would be equivalent for 'lhinc' and 'kids':
Code:
margins, dydx(lhinc kids) force
Code:
margins, expression(normalden(xb()*(1/sqrt(1 + e(sigma_u)^2)))*(_b[lhinc kids])*(1/sqrt(1 + e(sigma_u)^2))) force
Comment