This function performs the estimation of the mean of a set of curves using local linear smoothers where the bandwidth is estimated using the methodology from Zhang et Wang (2016).

mean_lll(curves, grid)

Arguments

curves

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.

grid

Vector, sampling points at which estimate the mean.

Value

Vector representing the mean curve.

References

Zhang X. and Wang J.-L. (2016) - From sparse to dense functional data and beyond, The Annals of Statistics