Bookmark and Share

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

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

st: CDF log-normal and histogram

From   Beatrice Crozza <>
To   statalist <>
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.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index