Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Detecting Outliers


From   Richard Williams <Richard.A.Williams.5@ND.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Detecting Outliers
Date   Tue, 02 May 2006 09:14:07 -0500

At 08:02 AM 5/2/2006, Raphael Fraser wrote:
I have 10 years data (5000 observations) on patients heights and
weights. Is there any ado-file that could assist in locating possible
outliers?

Raphael
Nick Cox's -extremes- is a helpful utility. It can easily show you the univariate outliers. If you are interested in those cases where height and weight are most discrepant, you could compute their ratio and find the extremes on it. Or, regress weight on height and look for the largest residuals.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: Richard.A.Williams.5@ND.Edu
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc
*
* 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