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]

Re: st: RE: CDF log-normal and histogram

From   Maarten buis <>
Subject   Re: st: RE: CDF log-normal and histogram
Date   Mon, 14 Feb 2011 12:32:10 +0000 (GMT)

--- On Mon, 14/2/11, Beatrice Crozza wrote:
> Is there a way to write the following command with a
> longnormal insted of a normal?
> histogram var1, freq normal
> I tried:
> historgam var1, freq lognormal
> but doesn't work.

What kind of options are allowed or not allowed is 
documented in the help file. The -lognormal- option
is not in present in the helpfile of -histogram-, so 
it should come as no surprise that that is not 
allowed. That this graph cannot be automatically 
generated is not much of a loss, as it is a bad 
graph. So, you are much better off, looking at the 
alternatives we gave you.

You can create this graph using -twoway histogram- 
and -twoway function-, so if you are determined 
enough to create a bad graph you can, but I am not
going to help you anymore than this hint.

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

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