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

Re: st: confidence intervals histograms

From   "Clive Nicholas" <>
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:
Newcastle University  |

*   For searches and help try:

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