Bagging bootstrap bandwidth selector for Parzen-Rosenblatt estimator
Source:R/hboot_bag.R
hboot_bag.Rd
Bagging bootstrap bandwidth selector for Parzen-Rosenblatt estimator
Usage
hboot_bag(
x,
m = n,
N = 1,
nb = 1000L,
g,
lower,
upper,
ncores = parallel::detectCores(logical = FALSE)
)
Arguments
- x
Vector. Sample.
- m
Positive integer. Size of the subsamples.
- N
Positive integer. Number of subsamples.
- nb
Positive integer. Number of bins.
- g
Positive real number. Pilot bandwidth.
- lower
Positive real number. Range over which to minimize, left bound.
- upper
Positive real number. Range over which to minimize, right bound.
- ncores
Positive integer. Number of cores with which to parallelize the computations.