Histogram Bin Based Bandwidth Selection

DESCRIPTION:

Uses a histogram density estimate of bin width to select the bandwidth of a Gaussian kernel density estimator.

USAGE:

bandwidth.hb(x, freq) 

REQUIRED ARGUMENTS:

x
a numeric vector

OPTIONAL ARGUMENTS:

freq
Vector the same length as x, giving frequencies (positive integers). If supplied, equivalent to replacing x with rep(x, freq).

VALUE:

a bandwidth

REFERENCE:

Venables, W. N. and Ripley, B. D. (1997) Modern Applied Statistics with S-PLUS, Second Edition. Springer.

SEE ALSO:

, , , ,