R/estimate_b.R
estimate_b_cv.Rd
The function performs an estimation of the bandwidth for a univariate kernel regression estimator defined over continuous data using least-square cross validation for each curve and return the average bandwidth among them.
estimate_b_cv(data)
data | A list, where each element represents a curve. Each curve have to be defined as a list with two entries:
|
---|
Numeric, an estimation of the bandwidth.
Other estimate bandwidth:
estimate_b_list()
,
estimate_b()
if (FALSE) { X <- generate_fractional_brownian(N = 5, M = 300, H = 0.5, sigma = 0.05) estimate_b_cv(X) }