Estimation of the optimal subsample size for bagged CV bandwidth for Parzen-Rosenblatt estimator
Source:R/mopt.R
mopt.Rd
Estimation of the optimal subsample size for bagged CV bandwidth for Parzen-Rosenblatt estimator
Usage
mopt(x, N, r = 1000, s = 100, ncores = parallel::detectCores())
Arguments
- x
Vector. Sample.
- N
Positive integer. Number of subsamples for the bagged bandwidth.
- r
Positive integer. Size of the subsamples.
- s
Positive integer. Number of subsamples.
- ncores
Positive integer. Number of cores with which to parallelize the computations.