Biased Cross-Validation for Bandwidth Selection
Usage
bcv(x, nb=1000, lower, upper)
Arguments
x
|
a numeric vector
|
nb
|
number of bins to use.
|
lower, upper
|
Range over which to minimize. The default is almost always satisfactory.
|
Description
Uses biased cross-validation to select the bandwidth of a Gaussian
kernel density estimator.Value
a bandwidthReferences
Scott, D. W. (1992)
Multivariate Density Estimation: Theory, Practice, and Visualization.
Wiley.See Also
ucv
, width.SJ
, density
Examples
data(faithful)
bcv(faithful$eruptions)