Hi everyone,
I have just run the code
followed by
, but I noticed that the standard errors for the margins command are robust standard errors rather than clustered standard errors. It seems that only the vce(robust) and the vce(unconditional) options are available for average marginal effects, which do not provide the correct confidence intervals for my study. My question is: is it possible to estimate average marginal effects with clustered standard errors in Stata?
Thank you!
I have just run the code
Code:
logistic high_conflict i.ses i.single_parent i.gender i.immigrant i.age, vce(cluster individual_id)
Code:
margins, dydx(*)
Thank you!
Comment