Compute the L-infinity depth of a sample of curves/functions.
Compute the L-infinity depth of a sample of curves/functions.
The L-infinity depth is a simple generalization of the Lp multivariate depth to functional data proposed in Long and Huang (2015) <arXiv:1506.01332 and also used in Dai et al. (2020) tools:::Rd_expr_doi("10.1016/j.csda.2020.106960") .
linfinity_depth(dt)
Arguments
dt: A matrix or data frame of size n functions/curves by p domain/evaluation points.
Returns
A numeric vector of size nrow(dt) containing the band depth values of each curve.
Long, J. P., & Huang, J. Z. (2015). A study of functional depths. arXiv preprint arXiv:1506.01332.
Dai, W., Mrkvička, T., Sun, Y., & Genton, M. G. (2020). Functional outlier detection and taxonomy by sequential transformations. Computational Statistics & Data Analysis, 106960.