I would like to figure out a workaround so that the output of the summarize or mean procedures are sorted by the magnitude of the mean.
E.g., suppose I have binary (0 / 1) indicators for individuals as white, black, asian, Hispanic, native_american, mixed_race. And these are not mutually exclusive because someone can score "1" on two or more categories (if they were, tabulate with the sort option would do the trick).
In different samples the order of the group size differs, so we can't order the varlist a priori from largest to smallest.
Is there a standard procedure, or a simple workaround using saved results that would do the trick?
E.g., suppose I have binary (0 / 1) indicators for individuals as white, black, asian, Hispanic, native_american, mixed_race. And these are not mutually exclusive because someone can score "1" on two or more categories (if they were, tabulate with the sort option would do the trick).
In different samples the order of the group size differs, so we can't order the varlist a priori from largest to smallest.
Is there a standard procedure, or a simple workaround using saved results that would do the trick?
Comment