localizationStatistics: Localization Distances Statistics

Description Usage Arguments Value References Examples

View source: R/LocalizationStatistics.R

Description

Estimate the mean and standard deviation of the localization distances mean.

Usage

1
localizationStatistics(y, robustify = TRUE, whiskerrule)

Arguments

y

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

robustify

if TRUE the mean and standard deviation are estimated with a the trimmed sample. Default is TRUE.

whiskerrule

Range parameter for the univariate boxplot detection rule. Default = 3.

Value

a list with the localization distances of each function (localizationDistances), the estimated mean (mean) and standard deviation (sd).

References

Elías, Antonio, Jiménez, Raúl and Yukich, Joe (2020). Localization processes for functional data analysis (submitted).

Examples

1
2
3
localizationStatistics_full <- localizationStatistics(exampleData[,1:101], robustify = TRUE)
localizationStatistics_full$trim_mean[c(1, 25, 50 ,75, 100)]
localizationStatistics_full$trim_sd[c(1, 25, 50 ,75, 100)]

localFDA documentation built on Oct. 23, 2020, 6:17 p.m.