Hey there,
I am new to R and want to winsorize my data. I would like to use the function "winsorize" 5%,95%, which is included in robustHD package, but i am wondering about the results. Why is the Min. still 14? And how can I change the results to percentiles of 10% and 90%?
I tried to change function "robs = c(0.05, 0.95)" to "robs = c(0.10, 0.90), but the results were the same.
summary(Data)
Min. 1st Qu. Median Mean 3rd Qu. Max.
14.0 59.0 139.5 250.4 315.0 1743.0
> Data.Robust= winsorize(Data, minval = NULL, maxval = NULL, probs = c(0.05, 0.95), na.rm = FALSE, round(5))
> Data.Robust=round(Data.Robust, digits = 0)
> summary(Data.Robust)
Min. 1st Qu. Median Mean 3rd Qu. Max.
14.0 59.0 139.5 186.4 315.0 418.0
Thank you very much