← Science & Mathematics Labs
10 simulators

Statistics & Data Science

Distributions, regression & inference — how we reason under uncertainty and find patterns in data, from sampling and Bayes to clustering and overfitting.

🔔

Probability Distributions

Draw repeatable samples from normal, binomial and uniform models and compare the growing histogram with the theoretical mean and variance.

Open Simulator →
⚖️

Mean, Median & Variance

Move one observation and watch the mean balance point, the sorted median pair and squared-deviation columns respond differently.

Open Simulator →
📈

Central Limit Theorem

Average repeated samples from skewed or binary populations and watch the distribution of sample means tighten and become bell shaped.

Open Simulator →
🔗

Correlation vs. Causation

Link X and Y through a hidden common cause, then intervene on X to see that association and true effect can disagree.

Open Simulator →
📉

Linear Regression

Fit a line to thirty noisy points, inspect every residual square, and compare your line with the least-squares optimum.

Open Simulator →
🎯

Sampling & Bias

Sample a two-group population with fair and unequal selection rules and see how bias moves the sample mean away from the truth.

Open Simulator →
🧪

Hypothesis Testing

Shade two-sided p-value tails on a normal null model, pick a significance level, and simulate repeated true-null tests.

Open Simulator →
🎲

Bayes' Theorem

Follow a screening probability tree from prevalence, sensitivity and specificity to the chance a positive result is a real defect.

Open Simulator →
🔵

Clustering

Run real k-means iterations on a point cloud and watch memberships flip and centroids converge as k and separation change.

Open Simulator →
🧵

Overfitting vs. Generalization

Fit polynomials of rising degree to noisy data and compare training and held-out error with and without ridge regularization.

Open Simulator →