Functional Depth Outliers
func_depth_outlier.Rd
This function calculates the functional depth and returns the outliers.
Arguments
- data
A matrix where each row is an observation of a time series. Row names should be a unique ID.
- times
A vector of length equal to the number of columns as data specifying the time points recorded at.
- threshold
The choice of threshold calculation. One of c("beta", "bootstrap"). Default "beta".
- perc
The percentile of the distribution to use. Default 0.01.
- B
The number of bootstraps to use. If 0, distribution is fitted to empirical depths. Default 10.
- maxiter
Maximum number of iterations for outlier detection. Default 10.