********
sysuse auto
su headroom,mean
hist h, xline(`r(mean)')
********
would be a way to have a line drawn at the mean. In Stata 10, you could kill
the line and replace it with a custom line at the relevant location. Other
listers may have more elaborate advice...
Martin Weiss
_______________________
----- Original Message -----
From: "Tunga Kantarci" <[email protected]>
To: <[email protected]>
Sent: Saturday, May 17, 2008 10:35 PM
Subject: st: showing the mean in histogram
> Hello,
>
> I would like to indicate the mean on the histogram,
> with a tick on the horizontal axis.
> Is there a way to do this?
>
>
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/