powered by
Adaptive sampling algorithm which implements several types of sampling strategies
fullrun( dat1, S, dat2, mode = 1, batchsize = 100, raking = TRUE, rakingmode = 3, rakingthreshold = 0.05, sdEstimate = mad, minSamples = 10 )
List with the resampled datasets per wave.
First dataset on which the strata are computed.
Matrix defining the strata.
Second dataset on which confidence intervals are computed.
Sampling mode (1 for random sampling, 2 for stratified random sampling, 3 for Neyman's sampling).
Batch size in each wave.
Boolean flag to switch on raking.
Option for raking (1 for random sampling, 2 for deterministic allocation, 3 for residual resampling).
Threshold for applying raking to a stratum.
The estimate of the standard deviation as a function handle (usually sd or mad).
Minimum number of samples used in each iteration.
.
require(chartreview)
Run the code above in your browser using DataLab