Hello everyone,
Is there any way to foster the process of bootstrapping. I am replicating only 1000 times but it is stuck after 5 replications for a long time. I can see Stata working but with no progress. Please see the codes below. The dots are where the estimation seems stuck for a long time (last one and half hour). The 'gsem' model and the 'nlcom' runs perfectly without bootstrapping.
Any suggestion is highly appreciated.
Is there any way to foster the process of bootstrapping. I am replicating only 1000 times but it is stuck after 5 replications for a long time. I can see Stata working but with no progress. Please see the codes below. The dots are where the estimation seems stuck for a long time (last one and half hour). The 'gsem' model and the 'nlcom' runs perfectly without bootstrapping.
Code:
capture program drop boots program boots, rclass gsem (L -> wk*@1, link(logit) fam(bin)) /// (z1 <- z0 treat, link(ident) fam(gaus)) /// (L <- hotash itihash z1 treat, link(logit) fam(bin)), diff return scalar product = _b[z1:treat]*_b[L:z1] end bootstrap r(product), reps(1000) seed(329250) : boots (running boots on estimation sample) Bootstrap replications (1000) ----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 ....
Comment