[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: histogram with overlaid normal error

From   Thomas <>
Subject   st: histogram with overlaid normal error
Date   Fri, 01 Feb 2008 17:01:38 +0000

Dear Statalisters,

the following works fine:
histogram /varname/, kdensity by(yr)

however when I do the same with a normal distribution:
histogram /varname/, normal by(yr)

I get the following error:
error in expression: normden(x,,)*1

What am I doing wrong here?

Many thanks!

Thomas Triebs

PhD Candidate
Judge Business School
University of Cambridge

Member of the Electricity Policy
Reseach Group

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index