Statalist The Stata Listserver


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

Re: st: Detecting Outliers


From   Richard Williams <[email protected]>
To   [email protected]
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: [email protected]
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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index