I encountered the following error message while trying to bootstrap the -mlogit- command, and I'd like to know the exact problem in the bootstrap samples that causes it:
"collinearity in replicate sample is not the same as the full sample, posting missing values"
(I have an example to produce it below.)
While I understand that this message reflects some problem in estimating the model, I can't seem to find any documentation about it. I presume it reflects sparsity in the data, but as in the example below, I'm not necessarily getting this message in all bootstrap samples with sparse distributions. If I knew better what was going on, I'd feel more confident about choosing to ignore bootstrap samples that occasioned this message. Any thoughts about figuring out what it means?
"collinearity in replicate sample is not the same as the full sample, posting missing values"
(I have an example to produce it below.)
While I understand that this message reflects some problem in estimating the model, I can't seem to find any documentation about it. I presume it reflects sparsity in the data, but as in the example below, I'm not necessarily getting this message in all bootstrap samples with sparse distributions. If I knew better what was going on, I'd feel more confident about choosing to ignore bootstrap samples that occasioned this message. Any thoughts about figuring out what it means?
Code:
cap prog drop test prog test tab rep78 foreign // inserted to display sparsity mlogit rep78 i.foreign end // sysuse auto bootstrap, noisily seed(74558) reps(5): test
Comment