This function performs the estimation of the mean of a set of curves using smoothing splines.

mean_ss(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

Cai T., Yuan M. (2011) - Optimal Estimation of the mean function based on discretely sampled functional data: phase transition, The Annals of Statistics