Description Usage Arguments Value Author(s) Examples
View source: R/outlier_cleansing.R
Apply outlier detection method
1 2 3 4 5 6 7 8 9 | outlier_cleansing(
time_series,
outlier_method,
data_rule,
mov_avg_n,
threshold_val,
causal_factor = T,
lag = 4
)
|
time_series |
ts object. The signal were to applied the outlier method. |
outlier_method |
String. Defines the type of outlier method to be applied. Options: *Standard Deviation*, *Iglewicz Hoaglin Method*, *Winsorizing* and *IQR*. |
data_rule |
String. Defines the classification of the data according to the number of observations. Options: *Historical*, *Moving Average Error* and *Rstl Error*. |
mov_avg_n |
Integer. Defines how many periods to consider to smooth the series. |
threshold_val |
Double. Defines the interval cut-off the extreme values. Between $0$ and $1$. |
causal_factor |
Logical. Defines if the series have regressors or not. |
lag |
Double. Defines the number of lags to be used for moving average |
ts object.
Sze Gee
1 2 3 4 | ## Not run:
outlier_cleansing()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.