adj_outlier: Corrects data located in outlier.

Description Usage Arguments Examples

View source: R/adj_outlier.R

Description

It is possible to use the Windsorizing method to correct the data above the reference value and the Trim(Truncation) method to delete data above the reference value.

Usage

1
adj_outlier(Input, Target = 0.01, Winsorizing = TRUE)

Arguments

Input

Factor Exposure Data

Target

reference value, basically 1 percent

Winsorizing

TRUE for Winsorizing method, FALSE for Trim(Truncation) method

Examples

1
2
3
4
5
## Not run: 
Input = sample(-1000:1000, 100, replace=F)
x = adj_outlier(Input, Target = 0.01, Winsorizing = TRUE)
 
## End(Not run)

hyunyulhenry/HenryQuant documentation built on Nov. 15, 2019, 2:28 a.m.