Statalist


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

Re: st: obtaining the frequencies used in histogram


From   Scott Merryman <[email protected]>
To   [email protected]
Subject   Re: st: obtaining the frequencies used in histogram
Date   Mon, 8 Feb 2010 21:53:34 -0600

Sorry,  I assumed you had saved the graphs.

If have the data you can use  -twoway__histogram_gen-  to obtain the
information:


. clear

. sysuse sp500
(S&P 500)

. twoway__histogram_gen volume, display
(bin=15, start=4103, width=1280.3533)

. return list

scalars:
                  r(N) =  248
                r(bin) =  15
              r(width) =  1280.353333333333
              r(start) =  4103
                r(min) =  4103
                r(max) =  23308.3
               r(area) =  1

macros:
               r(type) : "density"

.

Scott


On Mon, Feb 8, 2010 at 9:33 PM, David Merriman <[email protected]> wrote:
> This sounds great but....
> I don't know where to find the *.gph file. .Can you tell me how to
> find out what the path would be?
> I will order the Kit Baum book...sounds very useful.
>
> Thanks for your help.
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index