Skip to main content

Kotlin Notebook

Try this guide as a Kotlin Notebook with Kandy visualizations — run the cells to see charts and explore the data interactively.
Every distribution encodes assumptions about what values are possible and how likely they are. This guide groups distributions by the kind of data they model and shows how to verify the fit.

Decision Table

Durations and Waiting Times

Counts and Events

Proportions and Rates

General-Purpose Symmetric

Verifying the Fit

After choosing a distribution, compare it against observed data using the Kolmogorov-Smirnov test.
A non-significant KS test does not prove the distribution is correct — it means the data does not strongly contradict that choice.
Last modified on April 18, 2026