STATISTICAL SAMPLING
Statistical sampling studio
Generate samples from common probability models, then compare what happened with what the model expects.
Set up a sample
Results
Observed frequencies vary naturally from sample to sample.
Cumulative sample mean
Track the running sample mean against the model’s theoretical mean. A finite path can move farther away temporarily; this descriptive view does not certify randomness.
Cumulative sample meanTheoretical mean
Cumulative checkpoints table
| Samples | Cumulative mean | Theoretical mean |
|---|
Observed and expected frequencies
ObservedExpected
Expected values come from the selected mathematical model. Bars show relative frequency within each row; they are a visual comparison, not a pass/fail test.
What these models mean
- Binomial: counts successes across a fixed number of independent trials with the same success probability.
- Poisson: counts events in a fixed interval when events occur independently at a steady average rate.
- Normal: models continuous values around a mean with a chosen standard deviation.
- Exponential: models nonnegative waiting times between events at a constant rate.
Binomial and Poisson samples use discrete probability masses. Normal and exponential samples use finite-precision numerical transforms; their histogram bins use approximate expected probabilities, and extremely rare tail values are grouped. Exported continuous samples are numeric approximations, not exact real numbers.
This is a learning and simulation tool, not a statistical certification suite. A histogram that looks close or far away cannot prove that a random generator is fair, secure, or defective. A statistical test can flag patterns for investigation, but cannot replace analysis of the generator and its implementation. See NIST’s explanation of the limits of statistical randomness testing.
The settings and samples remain in this page’s memory unless you download the CSV. They are not written to browser storage or sent to Twirlseed. Your browser may cache the app files for offline use.