powered by
Bagging bootstrap bandwidth selector for Parzen-Rosenblatt estimator
hboot_bag( x, m = n, N = 1, nb = 1000L, g, lower, upper, ncores = parallel::detectCores(logical = FALSE) )
Bagged CV bandwidth.
Vector. Sample.
Positive integer. Size of the subsamples.
Positive integer. Number of subsamples.
Positive integer. Number of bins.
Positive real number. Pilot bandwidth.
Positive real number. Range over which to minimize, left bound.
Positive real number. Range over which to minimize, right bound.
Positive integer. Number of cores with which to parallelize the computations.
Bagging bootstrap bandwidth selector for the Parzen-Rosenblatt estimator.
set.seed(1) x <- rnorm(10^5) hboot_bag(x, 5000, 10, 1000, lower=0.001, upper=1, ncores=2)
Run the code above in your browser using DataLab