I've just imputed my dataset (in the wide format), and I would like to create a set of passive variables based on the imputed variables. For example I have imputed BMI and I would like to categorise this into normal, overweight & obese:
Code:
mi passive: egen cut (bmi), at(24.99, 29.99), gen(bmicat)
Also, is there another option besides 'cut' which one can combine with egen when creating categorical variables from continuous ones?
Thanks!
/Amal
0 Response to Combining mi:passive with egen options
Post a Comment