Hi all,
I want to limit a Z-score to 2.5 std (I want to reduce the effect of outliers). As I am calculating the Z-score for the whole universe at each sector, I am having some trouble to limit the variables to those limits.
I know that I can use winsorize to get rid of the outliers, but I want to have a cut of based on std than on the percentiles. I want to add more factors and do some math with the Zscores.
Any ideas how can I limit the variable to -2.5 to 2.5 std?
Thank you!!!!