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

Re: st: graphs, outliers, labels


From   grdsilva@usp.br
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: graphs, outliers, labels
Date   Fri, 14 May 2004 23:04:27 -0300

Supposing the variable of interest is named "xvar", the variable of
identification - "case",  and that you have seen just 4 outliers in a previous
screening using the Menu Graphics of Stata 8, then to identify outliers
(outsides in the box plot) you may type: graph box xvar, medtype(line)
mark(1,mlabel(case)mark(2,mlabel(case)) mark(3,mlabel(case))
mark(4,mlabel(case))
The values appear in the y axis. If the yscale is too coarse you may add an
option like for instance ylabel(0(5)50) to get a more detailed scale covering
the values f the median, 25th and 75th percentiles.
Guilherme

Citando daphna <bassok@hoover.stanford.edu>:

> Hello-
> 
> I am using the graph commands on stata for the first time and am running 
> into some confusion.
> 
> Is there any way I can get labels on my box plot graphs?
> 
> Specifically, I am using the box command.  I would like to see the values 
> of the median, 25th percentile, 75 %...etc.   Most importantly, I want to 
> see/know the values of the top and bottom cut off lines.  How do I find 
> these values?
> 
> I am interested in analyzing the outliers or outside values, but I am not 
> able to see what the specific lower and upper cut off values are.
> 
> Thanks in advance for your help.
> 
> Sincerely,
> 
> Daphna
> 
> 
> =====================================================================
> 
> Daphna Bassok
> 
> Research Assistant
> Center For Research On Education Outcomes
> Stanford University
> Stanford, CA 94305
> 
> Phone: (650) 725-6169
> 
> =====================================================================
> 
> *
> *   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/
> 



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