As expected, I am having convergence issues using mlogit during mi impute chained (for variables with 3 or more categories). I have a variety of categorical variables with missing-ness that I wish to impute. Predictive mean matching (PMM) is described in the Stata Manual as being designed for continuous variables only (an alternative to linear regression - with some advantages). However, there is literature and statistical grounds that support PMM's use for categorical variables as well. PMM solves my convergence issues for my categorical variables - and I want to use it for them. However, it then treats the categorical variables imputed via PMM as continuous variables (as opposed to factor variables) in subsequent imputations.
As stated in the official Stata Manual (mimiimputechained.pdf):
Similarly, when any imputation variable is imputed using a continuous variable method (such as PMM)... mi impute chained automatically includes it as a continuous variable in the prediction equations of other variables. I don't want this.
Question: Therefore, I am wondering if there's an option (similar to ascontinuous for logit, ologit, & mlogit) that can be used during PMM imputation so that certain variables (i.e., categorical variables) imputed via PMM can be treated asfactor (as i.variables) in subsequent imputations. Has anyone figured out a way to do this?
Thanks for the help!
As stated in the official Stata Manual (mimiimputechained.pdf):
When any imputation variable is imputed using a categorical method (logit, ologit, or mlogit), mi impute chained automatically includes it as a factor variable in the prediction equations of other imputation variables. Suppose that x1 is a categorical variable and is imputed using the multinomial logistic method. However, if you wish to include a factor variable as continuous in prediction equations, you can use the ascontinuous option within the specification of the univariate imputation method for that variable.
Question: Therefore, I am wondering if there's an option (similar to ascontinuous for logit, ologit, & mlogit) that can be used during PMM imputation so that certain variables (i.e., categorical variables) imputed via PMM can be treated asfactor (as i.variables) in subsequent imputations. Has anyone figured out a way to do this?
Thanks for the help!
Comment