I have a panel dataset organised on the individual level and I am trying to impute a categorical variable which have missing values using a count variable (The dependent variable). I have made 5 imputations and now I would like to aggregate those five datasets by Time and the imputed categorical var as a state ID. I know that collapse can’t be used with mi in stata, is there any way that I can perform this manually using mi xeq or any alternatives? My aim at the end of this to use mi estimate with a glm family(Poisson) on the 5 imputations in there aggregative forms.
Related Posts with Using Collapse with Mi xeq
Multilevel variance conf. interval is not estimableHello all, I'm examining the association between race of the defendent (5 groups) and the legal pro…
Add/substract a certain number of WEEKDAYS from a daily dateHi, I would like to add/substract a certain number of WEEKDAYS from a daily date (rdq). minus 10 an…
Checking for specific string valuesDear Statlist community, Despite being a very simple question, I did not figure how to perform this…
spatial models and variable interactionsHello to this very precious forum, I would like to ask why spatial panel models (e.g by the command …
Parallelising tasksHi all, maybe this is a naive question. However, let's say I have either a for loop or a collapse l…
Subscribe to:
Post Comments (Atom)
0 Response to Using Collapse with Mi xeq
Post a Comment