SHASH_out | R Documentation |
A robust outlier detection based on modeling the data as coming from a SHASH distribution.
SHASH_out(x, maxit = 20, out_lim = 3, weight_init = NULL)
x |
The numeric vector in which to detect outliers. |
maxit |
The maximum number of iterations. Default: |
out_lim |
SD threshold for outlier flagging. Default: |
weight_init |
Initial weights. Default: |
A "SHASH_out"
object, i.e. a list with components
Indices of the detected outliers.
The normalized data.
Coefficients for the SHASH-to-normal transformation.
TRUE for the detected outliers for each itertation.
Last iteration number.
Logical indicating whether the convergence criteria was satisfied or not.
x <- rnorm(100) + (seq(100)/200)
x[77] <- 13
SHASH_out(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.