public class BootstrapEstimator
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
BootstrapEstimator(Resampling bootstrap,
StatisticFactory factory,
int B)
Constructs a bootstrap estimator.
|
BootstrapEstimator(Resampling bootstrap,
StatisticFactory factory,
int B,
boolean isParallel)
Constructs a bootstrap estimator.
|
| Modifier and Type | Method and Description |
|---|---|
double |
value()
The estimator value.
|
double |
variance()
The estimator variance, of which the convergence limit is decided by
sample size, not B.
|
public BootstrapEstimator(Resampling bootstrap, StatisticFactory factory, int B)
bootstrap - the bootstrap method and the samplefactory - the statisticB - the number of bootstrap replicaspublic BootstrapEstimator(Resampling bootstrap, StatisticFactory factory, int B, boolean isParallel)
bootstrap - the bootstrap method and the samplefactory - the statisticB - the number of bootstrap replicasisParallel - true if to run in parallel cores