Description Usage Arguments References
Windsorize data
1 2 3 | windsorize(x, method = c("trim", "outliers"), trim = 0.2, dist = 3)
var.windsorized(x, ...)
|
x |
a numeric vector. |
method |
possible choices are "trim" for trimming
arbitrary range of values or "mad" for
removing values that are outlying from the
median by |
trim |
the fraction (0 to 0.5) of observations to be trimmed from each end of x. Values outside that range are replaced with the nearest endpoint. |
dist |
distance from the median when using
|
Keselman, H. J., Algina, J., Lix, L. M., Wilcox, R. R., & Deering, K. (2008). A generally robust approach for testing hypotheses and setting confidence intervals for effect sizes. Psychological Methods, 13, 110<e2><80><93>129.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.