Hi,
I am using a code similar to the below one but my code is too slow possibly because I have a more complicated model. Is there any way to make the below bootstrap faster?
Thanks,
NM
set more off use http://www.stata-press.com/data/r14/nhanes2f, clear svyset psuid [pweight=finalwgt], strata(stratid) psu(psuid) capture program drop savemargins program savemargins, rclass svy, subpop(race): mlogit health i.agegrp##c.zinc margins, at(zinc=(0 10)) predict(outcome(1)) post end bootstrap _b, saving(margins, replace) reps(200): savemargins
I am using a code similar to the below one but my code is too slow possibly because I have a more complicated model. Is there any way to make the below bootstrap faster?
Thanks,
NM
set more off use http://www.stata-press.com/data/r14/nhanes2f, clear svyset psuid [pweight=finalwgt], strata(stratid) psu(psuid) capture program drop savemargins program savemargins, rclass svy, subpop(race): mlogit health i.agegrp##c.zinc margins, at(zinc=(0 10)) predict(outcome(1)) post end bootstrap _b, saving(margins, replace) reps(200): savemargins