depthf.ABD {ddalpha} | R Documentation |
Adjusted Band Depth for Functional Data
Description
The adjusted band depth
of functional real-valued data based on either the
C
(uniform) norm, or on the L^2
norm of functions.
Usage
depthf.ABD(datafA, datafB, range = NULL, d = 101, norm = c("C", "L2"),
J = 2, K = 1)
Arguments
datafA |
Functions whose depth is computed, represented by a |
datafB |
Random sample functions with respect to which the depth of |
range |
The common range of the domain where the functions |
d |
Grid size to which all the functional data are transformed. For depth computation,
all functional observations are first transformed into vectors of their functional values of length |
norm |
The norm used for the computation of the depth. Two possible
choices are implemented: |
J |
The order of the adjusted band depth, that is the maximal number of functions
taken in a band. Acceptable values are |
K |
Number of sub-samples of the functions from |
Details
The function returns the vector of the sample adjusted band depth values. The kernel
used in the evaluation is the function K(u) = exp(-u)
.
Value
A vectors of length m
of the adjusted band depths.
Author(s)
Stanislav Nagy, nagy@karlin.mff.cuni.cz
References
Gijbels, I., Nagy, S. (2015). Consistency of non-integrated depths for functional data. Journal of Multivariate Analysis 140, 259–282.
Nagy, S., Gijbels, I. and Hlubinka, D. (2016). Weak convergence of discretely observed functional data with applications. Journal of Multivariate Analysis, 146, 46–62.
Nagy, S., Gijbels, I. and Hlubinka, D. (2017). Depth-based recognition of shape outlying functions. Journal of Computational and Graphical Statistics, 26 (4), 883–893.
See Also
Examples
datafA = dataf.population()$dataf[1:20]
datafB = dataf.population()$dataf[21:50]
depthf.ABD(datafA,datafB)
depthf.ABD(datafA,datafB,norm="L2")