powered by
Second order bagging CV bandwidth selector for Parzen-Rosenblatt estimator
tss_dens(x, r, s, h0, h1, nb = 1000, ncores = 1)
Second order bagging CV bandwidth.
Vector. Sample.
Vector. The two subsample sizes.
Positive integer. Number of subsamples.
Positive real number. Range over which to minimize, left bound.
Positive real number. Range over which to minimize, right bound.
Positive integer. Number of bins.
Positive integer. Number of cores with which to parallelize the computations.
Second order bagging cross-validation bandwidth selector for the Parzen-Rosenblatt estimator.
set.seed(1) x <- rnorm(10^5) tss_dens(x, 5000, 10, 0.01, 1, 1000, 2)
Run the code above in your browser using DataLab