Dear Statalist experts,
I am currently handling a questionnaire-derived dataset with mostly categorical (nominal and ordinal) variables with some missing data (MAR) in them, where people haven't completed the questionnaire. Due to the nature of the purpose of my final model (predictive diagnostics), it is important that I have as complete a dataset as possible and hence, I am hoping to fill in the data points using multiple imputation via Stata. I tried using MI chained but STATA keeps telling me that I have missing variables within my imputation variables but I thought this problem could be alleviated if I use chained equation; i.e. the iterations should run in a chain/loop simultaneously. The syntax I've used looked like the following:
mi impute chained (mlogit, include(Q2 Q69e Q77) noimputed augment) Q10, add(3) rseed(23549)
but I keep getting these error messages:
either
r(498) missing imputed values produced
This may occur when imputation variables are used as independent variables or when independent variables contain missing values.
or this:
[convergence not achieved
convergence not achieved
mlogit failed to converge on observed data
As a result, the regression model used to predict the missing value cannot be created. I really welcome any input at all in the matter. Any insights that could possibly resolve the matter would be greatly appreciated. Many thanks.
I am currently handling a questionnaire-derived dataset with mostly categorical (nominal and ordinal) variables with some missing data (MAR) in them, where people haven't completed the questionnaire. Due to the nature of the purpose of my final model (predictive diagnostics), it is important that I have as complete a dataset as possible and hence, I am hoping to fill in the data points using multiple imputation via Stata. I tried using MI chained but STATA keeps telling me that I have missing variables within my imputation variables but I thought this problem could be alleviated if I use chained equation; i.e. the iterations should run in a chain/loop simultaneously. The syntax I've used looked like the following:
mi impute chained (mlogit, include(Q2 Q69e Q77) noimputed augment) Q10, add(3) rseed(23549)
but I keep getting these error messages:
either
r(498) missing imputed values produced
This may occur when imputation variables are used as independent variables or when independent variables contain missing values.
or this:
[convergence not achieved
convergence not achieved
mlogit failed to converge on observed data
As a result, the regression model used to predict the missing value cannot be created. I really welcome any input at all in the matter. Any insights that could possibly resolve the matter would be greatly appreciated. Many thanks.
Comment