Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: How to find extreme values


From   San K <devank@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How to find extreme values
Date   Tue, 27 Mar 2012 19:42:04 +1100

I normally calculate the standard deviation and mean. Then you can
define what your extreme points are. For example, you can see anything
< (mean-4*SD) or >  (mean + 4*SD) is an extreme value.

I don't know Stata code much but in SPSS you can simply calculate the
mean & SD by aggregation command without really aggregating your data
set. Hope you can do similar.




On Tue, Mar 27, 2012 at 1:20 PM, Sandy Y.  Zhu <sandy.zhu@yale.edu> wrote:
> Hi guys:
>
> I was wondering if anyone knows how to find outliers or extreme values
> in Stata? I have a data whose values mostly lie in (-1,1) range, but
> some of them are really far off due to the way the data is scaled
> (somewhere around +/-100000). Is there any chance I can eliminate
> those with a stata function?
>
> Thank you!
>
> --
> Yours sincerely,
>
> Sandy Y. Zhu
> *
> *   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/

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index