Dear Stata-listers,
I am trying to run the Wooldridge 2005* model with correlated random effects. The model runs fine when I estimate using the standard option for analytical standard errors, but when I try to bootstrap the se's, Stata complains about "collinearity in replicate sample is not the same as the full sample, posting missing values".
When I use the command below, there is no problem. Two of the five year-dummies are dropped due to collinearity.
xtpoisson $YVAR L.$YVAR $XVARS $XBAR YVAR0 d_year*, re
($XBAR adds the means of $XVARS, YVAR0 is the initial value of $YVAR; other macro's have the obvious definitions)
However, when I bootstrap:
xtpoisson $YVAR L.$YVAR $XVARS $XBAR YVAR0 d_year*, re vce(bootstrap, reps(250) noi)
one more year dummy is dropped, and Stata complains about "collinearity in replicate sample is not the same as the full sample, posting missing values". This happens *every* single resampling, and every time the same year dummy is dropped. I have a balanced panel, so it seems unlikely that the sampling makes an unlucky draw every time.
Could you point me to possible issues to look at? I don't really know where to start looking for a solution…
Thanks!
Matthijs
*(J. Appl. Econ 20: 39-54, 'simple solutions to the initial conditions problem in dynamic nonlienar panel data models with unobserved heterogeneity')
I am trying to run the Wooldridge 2005* model with correlated random effects. The model runs fine when I estimate using the standard option for analytical standard errors, but when I try to bootstrap the se's, Stata complains about "collinearity in replicate sample is not the same as the full sample, posting missing values".
When I use the command below, there is no problem. Two of the five year-dummies are dropped due to collinearity.
xtpoisson $YVAR L.$YVAR $XVARS $XBAR YVAR0 d_year*, re
($XBAR adds the means of $XVARS, YVAR0 is the initial value of $YVAR; other macro's have the obvious definitions)
However, when I bootstrap:
xtpoisson $YVAR L.$YVAR $XVARS $XBAR YVAR0 d_year*, re vce(bootstrap, reps(250) noi)
one more year dummy is dropped, and Stata complains about "collinearity in replicate sample is not the same as the full sample, posting missing values". This happens *every* single resampling, and every time the same year dummy is dropped. I have a balanced panel, so it seems unlikely that the sampling makes an unlucky draw every time.
Could you point me to possible issues to look at? I don't really know where to start looking for a solution…
Thanks!
Matthijs
*(J. Appl. Econ 20: 39-54, 'simple solutions to the initial conditions problem in dynamic nonlienar panel data models with unobserved heterogeneity')
Comment