I am imputing the interaction terms in a three way interaction using mi impute chained; I use the Royston approach in which I compute the interaction terms prior to running the imputation and then enter them in the imputation model. The interaction terms consist of a dummy variable (college attainment) and two continuous variables (father's SES and year of birth with the latter variable having no missing values). I have a relatively large N (roughly 7500). For the college dummy, I use (logit, augment), and for the remaining terms, I use (pmm, knn(5)). Even with this specification, I obtain the error "error occurred during imputation of ..." for the logit model of the college dymmy and, using the noisily option, I can see that it is due to perfect prediction from the interaction terms involving the college dummy. I hope this is sufficient for understanding the problem I have. Otherwise, I can provide more detailed information.
Related Posts with perfect prediction issue in mi impute chained with 3-way interaction term
How to extract element of a matrix and put it to new rows of this matrixDear Statalists, I am not very familiar with the matrix in Stata. I just have a simple question bel…
IVtobit aweight and clusteringDear friends, if I use tobit for dependent variable, Y, with lots of zero or negative values, can I …
Display only unique/destinct combinations in looped test of two identical varlistsHello all, I am using stata 16.1 and am struggling with the following challenges: 1.) I want to com…
Categorical covariate for Parametric Survival ModelHello House, I am running parametric survival models using Code: streg Xlist distribution () time f…
inquire about ORDERED LOGISTIC REGRESSIONHello, in my research paper, I have a dependent variable: financial stress level 1-10. I have a set …
Subscribe to:
Post Comments (Atom)
0 Response to perfect prediction issue in mi impute chained with 3-way interaction term
Post a Comment