[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Histograms and "by"
Is there a relatively easy way of achieving the following?
I have a categorical variable -var1- and I would like to get an histogram of
var2 for each of the levels of this variable var1. The problem is that I
don't want to do the histograms one by one.
For example, to plot "regular plots", for all the levels, we usually do do
graph bar var1, by(var2)
But I tried using "by" with histograms and had no luck...
Is there something similar that I can use with histograms? I was trying to
avoid to plot each of the histograms separately, then saving them and then
using combine... Is there an easier way?
Express yourself instantly with MSN Messenger! Download today - it's FREE!
* For searches and help try: