Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: RE: RE: How to put percentiles texts in box (Distribution) plot


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: RE: How to put percentiles texts in box (Distribution) plot
Date   Sun, 7 Feb 2010 17:14:02 -0000

Note that neither -graph box- nor -graph hbox- purports to show the 95%
percentile as such. 

In addition, see 

SJ-9-3  gr0039  . . . . . . . . Speaking Stata: Creating and varying box
plots
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  N.
J. Cox
        Q3/09   SJ 9(3):478--496                                 (no
commands)
        explains how to use egen to calculate the statistical
        ingredients needed for box plots and variations of box
        plots; shows the use of twoway to then create the plots

Nick 
[email protected] 

Martin Weiss

sysuse auto, clear
su price , d
graph box price, ylabel(`r(p50)' "Median"  /* 
 */ `r(p75)' "75th perc." `r(p95)' "95th perc.", /* 
 */  angle(horizontal) labsize(medlarge))

Heekyung Kim

I am using -graph box- to get a distribution box plot.  Is there an
automatic way to put the text, 95% percentile, 75% percentile, median,
etc., next to the corresponding lines of the boxes?

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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