powered by
Bandwidth selector for non-parametric estimation. Estimates the optimal AMISE bandwidth using the Normal Scale Rule with Gaussian kernel.
nsrk(x, log_trsf=FALSE)
Univariate data.
Logical flag: if TRUE the data are log-transformed (usually used for skewed positive data). By default log_trsf = FALSE.
TRUE
log_trsf = FALSE
The bandwidth value.
M. P. Wand and M. C. Jones, (1995). Kernel Smoothing. Chapman and Hall, London.
# NOT RUN { x <- rnorm(1000) h <- nsrk(x) # }
Run the code above in your browser using DataLab