powered by
Uses biased cross-validation to select the bandwidth of a Gaussian kernel density estimator.
bcv(x, nb = 1000, lower, upper)
a numeric vector
number of bins to use.
Range over which to minimize. The default is almost always satisfactory.
a bandwidth
Scott, D. W. (1992) Multivariate Density Estimation: Theory, Practice, and Visualization. Wiley.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.
ucv, width.SJ, density
ucv
width.SJ
density
# NOT RUN { bcv(geyser$duration) # }
Run the code above in your browser using DataLab