## S3 method for class 'fts':
var(x, method = c("coordinate", "FM", "mode", "RP", "RPD", "radius"),
trim = 0.25, alpha, weight, ...)
x
= variables and y
= variance rates.method = "coordinate"
, it computes coordinate-wise variance.
If method = "FM"
, it computes the variance of trimmed functional data ordered by the functional depth of Fraiman and Muniz (2001).
If method = "mode"
, it computes the variance of trimmed functional data ordered by $h$-modal functional depth.
If method = "RP"
, it computes the variance of trimmed functional data ordered by random projection depth.
If method = "RPD"
, it computes the variance of trimmed functional data ordered by random projection derivative depth.
If method = "radius"
, it computes the standard deviation function of trimmed functional data ordered by the notion of alpha-radius.mean.fts
, median.fts
, sd.fts
, quantile.fts
# Fraiman-Muniz depth was arguably the oldest functional depth.
var(x = ElNino, method = "FM")
var(x = ElNino, method = "coordinate")
var(x = ElNino, method = "mode")
var(x = ElNino, method = "RP")
var(x = ElNino, method = "RPD")
var(x = ElNino, method = "radius", alpha=0.5, weight="hard")
var(x = ElNino, method = "radius", alpha=0.5, weight="soft")
Run the code above in your browser using DataLab