Hi there
If I want to tab values by order of frequency for one variable, I simply do this:
tab var1, sort
But what if I want to tab across multiple variables var1 to var7?
One way might be to restructure my data from wide to long, so that I have var1 to var7 listed as observations.
Can anyone suggest a nice alternative that doesn't involve having to restructure my data?
Any thoughts much appreciated!
With thanks
Tim
If I want to tab values by order of frequency for one variable, I simply do this:
tab var1, sort
But what if I want to tab across multiple variables var1 to var7?
One way might be to restructure my data from wide to long, so that I have var1 to var7 listed as observations.
Can anyone suggest a nice alternative that doesn't involve having to restructure my data?
Any thoughts much appreciated!
With thanks
Tim
Comment