Hi everyone!
I need help! I have multiple imputed my data using -mi impute chained-.
One of the imputed variables is a metric socio-economic indicator(ses) derived form a pca analysis (standardized weighted factor score).
Now I want to create a new variable that is equal to the 4 quartile groups of ses. I have tried:
mi extract 0
mi xeq: xtile sesquart = ses, n(4)
mi replace0 using closures_imputed.dta, id(id)
But, the number of observations when combining the dataset still corresponds to m=0 which is much less than the imputed values.
Essentially I want a grouped variables that I can use for analysis.
What am I doing wrong?
Related Posts with xtile after mi impute chained
inrange including negative valuesHi all, I am attempting to create a dummy variable within stata for modeately negative real interst…
25 Portfolio Returns series by Dependent Double Sort - ASTILE* Example generated by -dataex-. To install: ssc install dataex clear input int stock_id str52 stock…
Lagged dependent variable, fixed effects, and IVHello everyone, I have concerns for several days about the validity of the results I obtain with my…
Winsorization in Cross Sectional Data Setup* Example generated by -dataex-. To install: ssc install dataex clear input int stock_id str52 stock…
Panel regressions with an interaction term between a time dummy variable and a time invariant variableThis question is cross posted here: https://stats.stackexchange.com/ques...riable-and-a-t The ques…
Subscribe to:
Post Comments (Atom)
0 Response to xtile after mi impute chained
Post a Comment