Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: CDF log-normal and histogram


From   Beatrice Crozza <[email protected]>
To   statalist <[email protected]>
Subject   st: CDF log-normal and histogram
Date   Fri, 11 Feb 2011 19:23:21 +0000

Dear All,

I want to have a graph which combine the histogram of frequencies for
my variable and on the same graph an empirical CDF of data and a
fitted CDF (log-normal)

I can do the histogram in this way:
histogram var1, freq

To see if my variable follows a log-normal I do:
dpplot var1, dist(log-normal)

The CDF of my variable in this way:
distplot var1,

How can I combine the histogram with the empirical CDF and the fitted
CDF (log-normal)?

I tried with twoway but it doesn't work.

Thank you very much for your help.

Best,
Bea
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index