Bookmark and Share

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]

st: Determining h or p in winsor command


From   Amanda Balzer <[email protected]>
To   <[email protected]>
Subject   st: Determining h or p in winsor command
Date   Thu, 29 Sep 2011 14:17:19 -0500

I am using Nick Cox's -winsor- command to clean outliers in my data and wondered what the rule of thumb is in determining either the p (fraction of observations) or h (number of observations) to enter in the command to be winsorized. Do you simply view scatterplots and count observations? This seems problematic with large datasets. 

When calculating the values for winsorizing by hand (which I was doing before this command), I would simply set all values greater/less than the upper and lower Tukey's hinges +/- 1.5*spread to the said value. The -winsor-  command does a similar computation but doesn't automatically set the too high and too low values to the determined minimum and maximum. How does one determine p or h?

Amanda Balzer
University of Nebraska-Lincoln
[email protected]




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