Available sampling constraints

The following sampling constraints are available. These constraints may be used in any resampling setting.

Standard deviation

UncertainData.SamplingConstraints.TruncateStdType
TruncateStd(nσ::Number)

A constraint indicating that the distribution furnishing an uncertain value should be truncated at the mean ± (n standard deviations).

Notes

  • Beware when you apply the TruncateStd constraint to a (usually a numeric) population with a small value range. With small, you might end up with a population mean between the actual values, so that the range [mean(pop) - nσ*std(pop), mean(pop) + nσ*std(pop)] returns nothing.
source

Minimum value

Maximum value

Value range

Lower quantile

Upper quantile

Quantile range

UncertainData.SamplingConstraints.TruncateQuantilesType
TruncateQuantiles(lower_quantile::Float64, upper_quantile::Float64)

A constraint indicating that the distribution furnishing an uncertain value should be truncated at some quantile quantile (lower_quantile, upper_quantile).

source