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
nonstandard rolling regressionsDear All, Suppose that I have the following dataset Code: * Example generated by -dataex-. To insta…
Incorporating Year and Firm Fixed Effects in Panel Data with reghdfe, but how?Hi All, As I am replicating a paper, I will use 9 years of data instead of their 2 years. To take a…
Using panel data weight files in StataDear all, For my Master thesis on economic inequality, I am using panel data. For each year, househ…
Displaying all numbers in outputHi all, I need help changing the format of an output. I have tried all the options in help format an…
Questions of xtabond2 system GMM, gmmstyle or ivstyle?Dear all, I have been trying to replicate the paper Global Capital Fows and Financing Constraints b…
Subscribe to:
Post Comments (Atom)
0 Response to Using Collapse with Mi xeq
Post a Comment