R/estimate_bandwidth.R
estimate_bandwidth_covariance.Rd
This function performs an estimation of the bandwidth for a univariate kernel regression estimator defined over continuous data.
estimate_bandwidth_covariance(
curves,
params,
sigma = 0,
grid_bandwidth = lseq(0.001, 0.1, length.out = 101),
n_obs_min = 2,
kernel_name = "epanechnikov"
)
List, where each element represents a curve. Each curve have to be defined as a list with two entries:
$t The sampling points
$x The observed points.
List, estimation of the different parameters for the data points pair to estimate:
$point Time point where the smoothing has been done.
$H Estimated regularity.
$L Estimated constant.
$var Estimated variance.
$mom Estimated \(E(X^{2}_{t_0})\).
$var_st Estimated \(E(X^{2}_{t_0})\).
Numeric, estimation of the std of the noise \(\sigma\).
Vector (default = lseq(0.001, 0.1, length.out = 101)), grid of bandwidths.
Integer (default = 2), minimum number of points in the neighborhood to keep the curve in the estimation.
String (default = 'epanechnikov'), the kernel used for the estimation:
epanechnikov
uniform
biweight
Numeric, an estimation of the bandwidth.
Golovkine S., Klutchnikoff N., Patilea V. (2021) - Adaptive estimation of irregular mean and covariance functions.
Other estimate bandwidth:
estimate_bandwidth_mean()