Hi,
I need to bootsrap the standard error for one variable in my model. It's the inverse mills ratio that I calculated manually from the first stage of Heckman model and I am bringing it to the second stage model which is a repeated measurement model and I am using mixed model for it. I want to bootsrap the SE to mitigate the bias in SE caused by manually bringing in the IMR.
I want to run something like:
but I get this error: vcetype 'bootstrap' not allowed
Do you know of a way to bootsrap SE in a mixed model?
Thanks
I need to bootsrap the standard error for one variable in my model. It's the inverse mills ratio that I calculated manually from the first stage of Heckman model and I am bringing it to the second stage model which is a repeated measurement model and I am using mixed model for it. I want to bootsrap the SE to mitigate the bias in SE caused by manually bringing in the IMR.
I want to run something like:
Code:
mixed y `x' IMR year || id:, vce(bootstrap (_b[IMR]),rep(100) seed(12345))
Do you know of a way to bootsrap SE in a mixed model?
Thanks
Comment