Description Usage Arguments Details Examples
Winsorized variance
1 |
x |
An R object. Currently there are methods for
numeric/logical vectors and date,
date-time and time interval objects. Complex vectors
are allowed for |
trim |
the fraction (0 to 0.5) of observations to be
trimmed from each end of |
na.rm |
a logical value indicating whether |
When using a trimmed mean, certain types of analyses, require a Winsorized variance.
The process of Winsorizing data by 20% is related to 20% trimming. Recall that when computing a 20% trimmed mean, the g
smallest and the g
largest observations are removed, where g = 0.2n
rounded down to the nearest integer, in which case the 20% trimmed mean is the average of the remaining values.
Winsorizing the data by 20% means that the g
smallest values are not trimmed, but rather, they are set equal to the smallest value not trimmed. Similarly, the g
largest values are set equal to the largest value not trimmed.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.