nsrk {FiSh} | R Documentation |
Normal scale rule for kernel density estimation
Description
Bandwidth selector for non-parametric estimation. Estimates the optimal AMISE bandwidth using the Normal Scale Rule with Gaussian kernel.
Usage
nsrk(x, log_trsf=FALSE)
Arguments
x |
Univariate data. |
log_trsf |
Logical flag: if |
Value
The bandwidth value.
References
M. P. Wand and M. C. Jones, (1995). Kernel Smoothing. Chapman and Hall, London.
Examples
x <- rnorm(1000)
h <- nsrk(x)
[Package FiSh version 1.1 Index]