Hi all,
I'd appreciate your help with this. I'm trying to obtain bootstrap bias corrected confidence intervals from multinomial regression model run on imputed data, also weighted. This is my code for the multinomial model:
mi estimate, eform: mlogit outcome exposure covariates [pweight], rrr b(1)
I'm trying the following code with added bootstrap bias corrected confidence interval:
program define mymlogit
mlogit outcome exposure covariates [pweight], rrr b(1)
end
use "mydata.dta", clear
*mi set mlong
mi convert mlong
mi xeq: bootstrap, reps(100) bca: mymlogit
estat bootstrap, bca
And I'm getting the following error message:
'insufficient observations to compute jackknife standard errors'
But I also think the issue may be with the code and not just the small number of replications / small sample size. My dataset contains 1,158 cases; no rare outcomes.
Thanks for your help.
Darina
I'd appreciate your help with this. I'm trying to obtain bootstrap bias corrected confidence intervals from multinomial regression model run on imputed data, also weighted. This is my code for the multinomial model:
mi estimate, eform: mlogit outcome exposure covariates [pweight], rrr b(1)
I'm trying the following code with added bootstrap bias corrected confidence interval:
program define mymlogit
mlogit outcome exposure covariates [pweight], rrr b(1)
end
use "mydata.dta", clear
*mi set mlong
mi convert mlong
mi xeq: bootstrap, reps(100) bca: mymlogit
estat bootstrap, bca
And I'm getting the following error message:
'insufficient observations to compute jackknife standard errors'
But I also think the issue may be with the code and not just the small number of replications / small sample size. My dataset contains 1,158 cases; no rare outcomes.
Thanks for your help.
Darina
Comment