[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: histogram, read axes

From   "Austin Nichols" <>
Subject   Re: st: RE: histogram, read axes
Date   Mon, 8 Dec 2008 14:24:53 -0500

Richard Boylan <>:
If you want to loop over values and run -twoway__histogram_gen- for
each distinct value, you can use -levelsof- and -foreach-.  -byhist-
on SSC uses the "total" category to pick bins using
-twoway__histogram_gen-, i.e. it uses the marginal distribution across
all by() groups.  In general, if you are comparing histograms it is
advantageous to use a common bin specification IMHO.

On Mon, Dec 8, 2008 at 2:11 PM, Richard Boylan <> wrote:
> Thanks, although the option "by()" is not allowed with
> twoway__histogram_gen mpg
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index