Richard Boylan <[email protected]>:
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 <[email protected]> wrote:
> Thanks, although the option "by()" is not allowed with
> twoway__histogram_gen mpg
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/