Dear statalist community,
I have a multiple imputed data set.
1) I want to compare ‘joint count’(which is not normally distributed) between 2 independent groups. I have used the stata’s ranksum command to do this in the complete case. I want to perform a similar, valid hypothesis testing in the MI data, but ranksum doesnt seem to be supported with mi estimate. I think I cannot use regression (which is supported in mi estimate) since ‘joint count’ is not normally distributed.
2)I want to compare the proportion of ‘male/female’ between 2 independent groups. I have used the chisquare test to do this in the complete case. Again, as above, chisquare is not supported with mi estimate. Is there a valid way to combine the p values of chisquare test across all the imputed datasets.
3)I have built a logistic regression model in a MI data set. I wanted to test the adequacy of the model using the Hosmer-Lemeshow test, but estat gof is not supported with mi estimate. I want to obtain the area under the ROC curve, but command lroc is not supported with mi estimate. Are there other commands that can achieve the same in a MI data set.
I have tried the cmdok function that stata manual suggests to use with mi estimate unsupported commands, but haven’t had any luck.
I am grateful for any advice.
Kind regards
I have a multiple imputed data set.
1) I want to compare ‘joint count’(which is not normally distributed) between 2 independent groups. I have used the stata’s ranksum command to do this in the complete case. I want to perform a similar, valid hypothesis testing in the MI data, but ranksum doesnt seem to be supported with mi estimate. I think I cannot use regression (which is supported in mi estimate) since ‘joint count’ is not normally distributed.
2)I want to compare the proportion of ‘male/female’ between 2 independent groups. I have used the chisquare test to do this in the complete case. Again, as above, chisquare is not supported with mi estimate. Is there a valid way to combine the p values of chisquare test across all the imputed datasets.
3)I have built a logistic regression model in a MI data set. I wanted to test the adequacy of the model using the Hosmer-Lemeshow test, but estat gof is not supported with mi estimate. I want to obtain the area under the ROC curve, but command lroc is not supported with mi estimate. Are there other commands that can achieve the same in a MI data set.
I have tried the cmdok function that stata manual suggests to use with mi estimate unsupported commands, but haven’t had any luck.
I am grateful for any advice.
Kind regards
Comment