Dear Statalist
I've been trying to fit a multinomial random effects model to MI data. The only options are -gsem- and -gllamm- , but of course neither is officially supported with mi estimate. So when fitting the model with -gsem- I have used the cmdok option (whether it really is OK is another matter I guess), but after estimating the model on all the imputation sets it refuses to combine the results, issuing the following message in red (error r(3598)):
name conflict
stata(): 3598 Stata returned error
_e_repost(): - function returned error
<istmt>: - function returned error
Is it something to do variables named differently across imputations, or perhaps it doesn't like the contrained latent variable=1, with no standard error? Fitting a standard multinomial logit model with -gsem- and -mi estimate, cmdok- is fine, as is the also non-supported -melogit- , but random effects logit via gsem also gets the same error message as above.
Is there any way to 'coerce' MI estimate to go through with the combination of imputation results? Actually, using -gllamm- will work with -mi estimate, cmdok- but I would rather not as the full model I mean to fit will take around 6-7 hours for each imputation (and _mi_m=20). I am prepared to combine the results 'manually' if need be, but was hoping specifically to use -mi test- to test the equality of corresponding coefficients across the two non-reference categories.
Any ideas and thoughts greatly appreciated, many thanks
Matthew
I've been trying to fit a multinomial random effects model to MI data. The only options are -gsem- and -gllamm- , but of course neither is officially supported with mi estimate. So when fitting the model with -gsem- I have used the cmdok option (whether it really is OK is another matter I guess), but after estimating the model on all the imputation sets it refuses to combine the results, issuing the following message in red (error r(3598)):
name conflict
stata(): 3598 Stata returned error
_e_repost(): - function returned error
<istmt>: - function returned error
Is it something to do variables named differently across imputations, or perhaps it doesn't like the contrained latent variable=1, with no standard error? Fitting a standard multinomial logit model with -gsem- and -mi estimate, cmdok- is fine, as is the also non-supported -melogit- , but random effects logit via gsem also gets the same error message as above.
Is there any way to 'coerce' MI estimate to go through with the combination of imputation results? Actually, using -gllamm- will work with -mi estimate, cmdok- but I would rather not as the full model I mean to fit will take around 6-7 hours for each imputation (and _mi_m=20). I am prepared to combine the results 'manually' if need be, but was hoping specifically to use -mi test- to test the equality of corresponding coefficients across the two non-reference categories.
Any ideas and thoughts greatly appreciated, many thanks
Matthew
Comment