Hi everyone,
I estimate a regression with instrumental variable but with few clusters, so I try to use the wild cluster bootstrap via boottest.
I have very different results when I change the random number seed : is it important to set seed? A way to choose this number?
Many thanks for those who read and for your answers.
Aimée
I estimate a regression with instrumental variable but with few clusters, so I try to use the wild cluster bootstrap via boottest.
I have very different results when I change the random number seed : is it important to set seed? A way to choose this number?
Many thanks for those who read and for your answers.
Aimée
Code:
- ivreg2 LNnb_totact (sect1=Z) V1 V2, cluster(timean)
- boottest sect1, ptype(equaltail)
- boottest sect1, ptype(equaltail) seed(987654321)
- boottest sect1, ptype(equaltail) seed(12345) Wild bootstrap-t, null imposed, 999 replications, Wald test, bootstrap clustering by timean, Rademacher weights: sect1 z = 3.6677 2 * min(Prob>|z|, Prob<-|z|) = 0.0300 95% confidence set for null hypothesis expression: [.09214, .7614]
Comment