Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: Want histogram output in tabular form


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Want histogram output in tabular form
Date   Wed, 25 Aug 2010 11:23:11 +0100

Check out 

SJ-5-2  gr0014  . . . . . . . Stata tip 20: Generating histogram bin variables
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . D. A. Harrison
        Q2/05   SJ 5(2):280--281                                 (no commands)
        tip illustrating the use of twoway__histogram_gen for
        creation of complex histograms and other graphs or tables

Typing 

. search histogram, sj 

in Stata will throw up this reference (and others). You can click your way through to a .pdf copy of the article, regardless of whether you or your institution subscribes to the Stata Journal (which would be a good idea, naturally). Alternatively, invest in

http://www.stata.com/bookstore/tips2.html

Nick 
n.j.cox@durham.ac.uk 

Michael Parzen

I am sure this has been asked before but I've scoured the archives with no luck.

I would like to either

 a) create a frequency table where I specify the bin with
or
b) obtain the bins and counts that histogram generates.

Thanks in advance for any assistance offered.

*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index