LOCFIT: R and S-Plus Help | ||||
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.
Arguments:
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.
Examples:
data(geyser) lscv.exact(geyser,alpha=0.25) # equivalent form using lscv lscv(geyser,alpha=0.25,exact=T)
Key Words:
htest
| ||||
|
Built: Thu Dec 2 16:56:05 EST 2004
Copyright © 2004, Catherine Loader locfit@herine.net | ||||