# bcv

From MASS v7.3-40
by Brian Ripley

##### Biased Cross-Validation for Bandwidth Selection

Uses biased cross-validation to select the bandwidth of a Gaussian kernel density estimator.

- Keywords
- dplot

##### 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.

##### Value

- a bandwidth

##### References

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.

##### See Also

##### Examples

`bcv(geyser$duration)`

*Documentation reproduced from package MASS, version 7.3-40, License: GPL-2 | GPL-3*

### Community examples

Looks like there are no examples yet.