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
Panel data with averaged observationsHello everyone. I am new at STATA and struggling to come up with a proper methodology. I have a pane…
Using loop to import, edit, then export .csv filesHello, I am importing a large number of .csv files into Stata. Before I can import the files, I nee…
Predicting residuals from instrumental regressionModel : ivreghdfe itotf (qt = lagqt lagcfo) cfo, absorb(gvkey fyear) endog(qt) cluster(gvkey) resid …
Looping over two localsHello, I'm endeavoring to loop over two locals. The first local is made up variables consisting of …
Five Year Average Period. Each Variable?Dear all, I want to create five year average periods for my independent variables (FDI inflows) and…
Subscribe to:
Post Comments (Atom)
0 Response to perfect prediction issue in mi impute chained with 3-way interaction term
Post a Comment