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

st: Re: boxplot outlier labeling


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: boxplot outlier labeling
Date   Tue, 23 Sep 2003 20:48:54 -0500

----- Original Message ----- 
From: <cthompson@dfpm.utah.edu>
To: <Statalist@hsphsun2.harvard.edu>
Sent: Tuesday, September 23, 2003 2:21 PM
Subject: st: boxplot outlier labeling


> Greetings Statalisters -
> Following a perusal of the STATA 8 graphics manual as well as
> searching STATA's help feature, I am unable to determine if the
> outliers in a boxplot can be labeled with, say, a state name.
> In STATA 7, this option was easily obtained via s([varname]) -
> did this option not make the cut with STATA 8 or are there
> intermediate steps I am unaware of??
>
> Many thanks in advance,
> Clint Thompson
>

I believe what you are looking for is [G] marker_label_options.

In the following example, the two outliers are labeled with the make of the car:

. use "C:\Stata8\auto.dta", clear
(1978 Automobile Data)

. graph box mpg, medtype(line) over(rep78)  mark(1, mlab(make))


I hope this helps,
Scott



*
*   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–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index