Learn R Programming

localFDA (version 1.0.0)

localizationStatistics: Localization Distances Statistics

Description

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

Usage

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<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 {
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)]

# }

Run the code above in your browser using DataLab