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

st: I'm making bar charts - can I add vertical CI markers on top of the bars?


From   Jesper Fjølner <jesperfjoelner@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: I'm making bar charts - can I add vertical CI markers on top of the bars?
Date   Thu, 18 Aug 2005 17:08:36 +0200

Ive created a bar chart with the command below and Ive added values on top
of the bars with the "blabel" option.
Is it possible to mark a 95% confidence interval at the top of the bar
instead of the value of the bar?
Perhaps marking the CI with a small vertical line if possible. This is used
everywhere, but I'm not sure if Stata will do it.


graph bar varname, ///
	over(sex, relabel(1 "Male" 2 "Female")) ///
	blabel(bar,format(%9.2f)) 


I'm using Stata Intercooled 8. Thanks for any help.

Jesper F, Denmark

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