Uniform Discrete Distribution Sampler
Draw each integer in an inclusive safe-integer range with equal nominal probability using a seeded pseudorandom source.
Description
Draw each integer in an inclusive safe-integer range with equal nominal probability using a seeded pseudorandom source.
Uniform Discrete Distribution Sampler: Draw each integer in an inclusive safe-integer range with equal nominal probability using a seeded pseudorandom source.
When to use Uniform Discrete Distribution Sampler
Use this probability or sampling tool to compute a stated quantity or generate reproducible draws from a precisely parameterized distribution or stochastic model.
- minimum
- Required integer input.
- maximum
- Required integer input.
- Sample count
- Required integer input.
- Seed
- Required string input.
How Uniform Discrete Distribution Sampler works
Draw each integer in an inclusive safe-integer range with equal nominal probability using a seeded pseudorandom source. The tool evaluates the supplied inputs together and returns the named outputs below; it does not infer omitted operating conditions or change the units shown.1
- Samples
- The resulting samples returned as a list.
Limitations and assumptions
- Results depend on parameterization, support, random source, seed, convergence, burn-in, autocorrelation, proposal quality, normalization, numerical tails, and whether model assumptions match the process. Samples are not exact evidence of convergence.
- Use finite inputs in the displayed units and preserve more precision than the final presentation requires. Independently verify safety-critical, financial, compliance, or production decisions.
Alternative or Complementary approaches
Check analytic moments or known test cases, use independent chains and diagnostics for Monte Carlo methods, report seed and effective sample size, and inspect tail behavior.
References
-
Probability distribution — Wikipedia contributors
Similar or alternative tools
- F-Distribution Sampler
Draw an F ratio from two independent chi-square variates, each divided by its degrees of freedom.
- Discrete Importance Sampler
Draw category indices from a proposal distribution and return target/proposal importance weights; proposal support must cover every positive target category.
- Negative Binomial Distribution Sampler
Draw the number of failures before a specified integer number of successes in independent Bernoulli trials.