I have a table for 3 numeric variables by 3 groups:
tabstat var1 var2 var3, by(group)
Var1 | Var2 | Var3 | |
Group 1 | 1.1 | 400 | 5.5 |
Group 2 | 1.3 | 500 | 5.8 |
Group 3 | 2.5 | 600 | 4.5 |
Now I would like to define thresholds for "low" and "high" values of the variables such that I get the following table.
Var1 | Var2 | Var3 | |
Group 1 | Low | Medium | Medium |
Group 2 | High | Low | Medium |
Group 3 | High | High | Low |
Best
0 Response to Table with string values
Post a Comment