R/estimate_covariance.R
covariance_ll.Rd
This function performs the estimation of the covariance of a set of curves using local linear smoothers where the bandwidth is estimated using the methodology from Golovkine et al. (2021).
List, where each element represents a curve. Each curve have to be defined as a list with two entries:
$t Sampling points
$x Observed points.
Vector (default = seq(0, 1, length.out = 101)), sampling points at which estimate the curves.
Vector (default = seq(0.1, 0.9, by = 0.1)), the sampling points at which we estimate the parameters.
Vector (default = NULL), grid of bandwidths.
Boolean (default = TRUE), center the data?
Function (default = NULL), function to determine the delta.
Integer (default = 2), minimum number of observation for the smoothing.
String (default = 'epanechnikov'), the kernel used for the estimation:
epanechnikov
uniform
biweight
List of with three entries:
$parameters Estimated parameters.
$bandwidths_mat Estimated bandwidths matrix.
$covariance Estimated covariance.
Golovkine S., Klutchnikoff N., Patilea V. (2021) - Adaptive estimation of irregular mean and covariance functions.