Mi estimate error for ML multinomial
Posted: Tue Mar 03, 2015 4:55 pm
I tried run ML multinomial model using runmlwin with MI data generated by realcom, but get error message as "mi estimate: omitted terms vary
The set of omitted variables or categories is not consistent between m=1 and m=2; this is not allowed. To identify varying sets, you can use mi xeq to run the command on individual imputations or you can reissue the command with mi estimate, noisily".
mi xeq can't work for runmlwin so I ran ml multinomial model for each MI dataset one by one (runmlwin), no problem at all. I also check each MI dataset, all outcome have 3 categories. any help please? my code is
mi estimate, cmdok: runmlwin outcome2 cons, level2(psytm: cons) level1(patient) discrete(distribution(multinomial) link(mlogit) denom(cons) basecategory(2))
The set of omitted variables or categories is not consistent between m=1 and m=2; this is not allowed. To identify varying sets, you can use mi xeq to run the command on individual imputations or you can reissue the command with mi estimate, noisily".
mi xeq can't work for runmlwin so I ran ml multinomial model for each MI dataset one by one (runmlwin), no problem at all. I also check each MI dataset, all outcome have 3 categories. any help please? my code is
mi estimate, cmdok: runmlwin outcome2 cons, level2(psytm: cons) level1(patient) discrete(distribution(multinomial) link(mlogit) denom(cons) basecategory(2))