lscv.exact | Exact LSCV Calculation | lscv.exact |
lscv.exact(x, alpha)
This function performs the exact computation of the least squares cross validation statistic for one-dimensional kernel density estimation and a constant bandwidth.At the time of writing, it is implemented only for the Gaussian kernel (with the standard deviation of 0.4; Locfit's standard).
A vector of the LSCV statistic and the fitted degrees of freedom.
data(geyser) lscv.exact(geyser,alpha=0.25) # equivalent form using lscv lscv(geyser,alpha=0.25,exact=T)
lscv, lscvplot
locfit
Locfit Home | Help Index |