POIFD: Integrated Depth for Partially Observed Functional Data

View source: R/POIFD.R

POIFDR Documentation

Integrated Depth for Partially Observed Functional Data

Description

Compute the depth measures of a partially observed functional data set evaluated in a common grid.

Usage

POIFD(data, type = c("MBD", "FMD", "MHRD"), phi)

Arguments

data

matrix p by n, being n the number of functions and p the number of grid points. Rownames are the dense grid x and colnames the identifier of each functional data.

type

chosen depth measure. Fraiman and Muniz depth ("FMD"), Modified band depth ("MBD") or Modified Half Region Depth and Modified Epigraph/Hipograph Index "MHRD")

phi

phi function of weights for the POIFD. The default value is as in the paper, i.e. the proportion of observed functions at each time point.

Value

Ordered vector of depths from the deepest to outward. The names are the functions names (if provided) or the column position.

Examples

data(exampleData)
data <- exampleData$PoFDintervals
poifd <- POIFD(data,  type = c("MBD"))


fdaPOIFD documentation built on May 16, 2022, 5:05 p.m.