Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: technical question on the removal of outliers
From
Robert A Yaffee <[email protected]>
To
[email protected]
Subject
Re: st: technical question on the removal of outliers
Date
Mon, 28 Feb 2011 13:20:45 -0500
Nick,
Winsorizing is one way of removing outliers, Nick. By removing
the values that are 3.5 sd away from the mean one removes the outliers.
It's not the only way.
Cheers,
Bob
Robert A. Yaffee, Ph.D.
Research Professor
Silver School of Social Work
New York University
Biosketch: http://homepages.nyu.edu/~ray1/Biosketch2009.pdf
CV: http://homepages.nyu.edu/~ray1/vita.pdf
----- Original Message -----
From: Nick Cox <[email protected]>
Date: Monday, February 28, 2011 4:27 am
Subject: Re: st: technical question on the removal of outliers
To: [email protected]
> Not so. Winsorizing replaces values in the tail with selected values
> closer to the middle of the distribution. It does not drop
> observations and is not what was asked for.
>
> That said, I agree with Eric. There are better ways to deal with
> possible outliers.
>
> Nick
>
> On Mon, Feb 28, 2011 at 6:50 AM, Robert A Yaffee <[email protected]>
> wrote:
>
> > Type: help winsor
> > findit winsorize
> > or
> > help robmean
> >
> > Either of the first two will provide the answer.
> >
> >
> > webuse auto
> > winsor mpg, p(.01)
> > From: [email protected]
>
> >> is there a possibility to remove outliers in the highest 99th and
> >> lowest 1st
> >> percentile in stata before running regressions? I proceed currently
> by
> >> using
> >> sum, varlist, det after which I manually drop these observations.
> >>
> >>
> >> However it is rather time consuming when one needs to run a lot of
> >> regressions.
> >> I would be glad if you could share such stata command with me.
>
> *
> * 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/