Learn R Programming

localFDA (version 1.0.0)

outlierLocalizationDistance: Outlier localization distances

Description

Compute the localization distances of order k of the curve y0.

Usage

outlierLocalizationDistance(X, localrule = 0.9, whiskerrule = 3)

Arguments

X

matrix p by n, being n the number of functions and p the number of grid points.

localrule

Local distance rule: the method marks a curve as outlier if its k order localization distances are outliers in more than local_rulex100 percent of the k-order univariate boxplots. Default is 0.90 so a function must be at least an outlier in 90 percent of the k-order localization distances.

whiskerrule

Parameter for the whiskers of the univariate boxplot of the localization distances of order kth. Default value is 3.

Value

A list

References

El<U+00ED>as, Antonio, Jim<U+00E9>nez, Ra<U+00FA>l and Yukich, Joe (2020). Localization processes for functional data analysis (submitted).

Examples

Run this code
# NOT RUN {
outliers <- outlierLocalizationDistance(outlierData, localrule = 0.9, whiskerrule = 3)
outliers$outliers_ld_rule

# }

Run the code above in your browser using DataLab