public class NonParametricBootstrap extends java.lang.Object implements Resampling
| Constructor and Description |
|---|
NonParametricBootstrap(double[] sample)
Construct a bootstrap sample generator.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getResample()
Get a resample from the original sample
|
void |
seed(long... seeds)
Seed the random generator to produce repeatable sequences.
|
public NonParametricBootstrap(double[] sample)
sample - the original sample.public void seed(long... seeds)
Resamplingseed in interface Resamplingseeds - the seedspublic double[] getResample()
ResamplinggetResample in interface Resampling