Description Usage Arguments Value References Examples
Computes least squares cross-validation (CV) bandwidth (BW) for log domain KDE.
1 |
x |
numeric vector of the data. Must be strictly positive, will be log transformed during estimation. |
grid |
number of points used for BW selection CV grid. |
NB |
number of points at which to estimate the KDE at during the CV loop. |
bw the optimal least squares CV bandwidth.
Silverman, B. W. (1986). Density estimation for statistics and data analysis. Monographs on Statistics and Applied Probability. 26.
Stone, C. J. (1984). An asymptotically optimal window selection rule for kernel density estimates. The Annals of Statistics, 12(4), 1285-1297.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.