Dear all,
I am following this approach: https://www.stata.com/support/faqs/s...-imputed-data/ in order to combine the suest command with multiply imputed data. The gives me the following code:
Which allows me to estimate the following two-stage logit model:
However, I want to include clustered standard errors, but I am unsure how to do that. I tried including vce(cluster clustvar) at the end of the logit code, but it reports robust standard errors still. How do I change the programming of the program in order to cluster standard errors appropriately?
All tips are very much appreciated!
I am following this approach: https://www.stata.com/support/faqs/s...-imputed-data/ in order to combine the suest command with multiply imputed data. The gives me the following code:
Code:
cap program drop mysuest program mysuest, eclass properties(mi) version 12.0 args model1 model2 qui `model1' estimates store est1 qui `model2' estimates store est2 suest est1 est2 estimates drop est1 est2 ereturn local title "Seemingly unrelated estimation" end
Code:
mi estimate: mysuest "logit var1 var2 var3 var4 var5 var6 var7 var8 var9" "logit var10 var2 var3 var4 var5 var6 var7 var8 var9 if var1 == 1"
All tips are very much appreciated!
Comment