Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: confidence intervals histograms


From   "Clive Nicholas" <Clive.Nicholas@newcastle.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: confidence intervals histograms
Date   Tue, 15 Feb 2005 18:35:27 -0000 (GMT)

Richard Lenhardt wrote:

> May I ask if anyone knows if there is an easy way to create graphs with
> confidence intervals displayed on top of histogram bars?

The example below is little more than behind-the-curtains fiddling after
you've noted the CI values, but it's a start:

. twoway histogram x, xlabel(-50(5)40) xline(-36.36756 17.32514)

Of course, -xline- submits its (red) lines under the histoblocks, which
may or may not be what you want.

CLIVE NICHOLAS        |t: 0(044)7903 397793
Politics              |e: clive.nicholas@ncl.ac.uk
Newcastle University  |http://www.ncl.ac.uk/geps

*
*   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/



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