When connected to an Aster database, the Sample analysis offers two sampling schemes:
- A simple binomial sampling on a row-by-row basis with given sample rates
- Sampling without replacement that selects a given number of rows
The sampling can either be applied without conditions to the entire relation (unconditional sampling), or applied with conditions (conditional sampling).
Only one random number generator is used throughout a single task for unconditional sampling, whereas a separate random number generator is created for each condition in one task for conditional sampling.