Description Usage Arguments Value See Also
Evaluate leave-one-out cross-validation (LOOCV) for the Nadaraya-Watson estimator over a grid
1 2 | LOOCV_grid(x, y, hgrid = seq(from = 0.05, to = 3, length.out = 80),
weight_probs = c(0.05, 0.95))
|
x |
'x' values. |
y |
'y' values. |
hgrid |
The grid of test bandwidths. |
weight_probs |
Specification for what percentage of points are used in the weight function. |
The minimum bandwidth h, the minimum CV error and the grid of test bandwidths.
Other NOIS CV functions: MCV_grid
,
NOIS_fit
, PCV_grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.