Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Understanding the differences between boottest and cgmwildboot

    Dear community,

    I/m trying to understand the differences behind the boottest and cgmwildboot commands...maybe a first question is, ...should the boottest and cgmwildboot command give the same results? (using the same seeds and regression). I find that the results are different (although they are closer between each other than with the non-bootstrapped errors).

    Below the example using the nlsw88 data like in the cgmwildboot help file.


    set seed 293867483
    webuse nlsw88, clear
    drop if industry==. | tenure==.

    regress wage tenure , cluster(industry)
    boottest {tenure} , cluster(industry) rep(1000) seed(12345) nograph boottype(wild) bootcluster(industry)

    cgmwildboot wage tenure, cluster(industry) seed(12345) reps(1000) bootcluster(industry)



    In the case of the cgmwildboot the CI for tenure is [.13334021 .23370585], while when using boottest the CI for tenure is [.1250953 .2410478].

    It is also not a matter of number of reps.

    thansk for any help!
Working...
X