Probability & Statistics

169 articles in this category.

Random Walk

Visualize a 1D random walk over time.

Monte Carlo Simulation

Estimating Pi using random points in a circle.

Central Limit Theorem

Sample means converge to a normal distribution regardless of the population shape.

Probability Distributions

Exploring continuous probability density functions and their parameters.

Bayes' Theorem

A fundamental theorem for updating probabilities based on new evidence.

Birthday Paradox

Birthday Paradox

Hypothesis Testing

Visualize the relationship between significance level, effect size, and statistical power in a two-tailed Z-test.

Law of Large Numbers

The sample average converges to the expected value as the number of trials increases.

Poisson Process

Poisson Process.

Confidence Intervals

Visualize how confidence intervals capture the true population mean.

Correlation & Covariance

Learn how covariance and correlation measure relationships between random variables and how they differ.

Maximum Likelihood Estimation

Find the parameters of a probability distribution that best explain the observed data.

Regression to the Mean

Regression to the Mean

Gambler's Ruin Problem

Visualizes the classic gambler's ruin random walk and explores ruin probabilities over time.

Markov Chain Monte Carlo

Visualize the Metropolis-Hastings algorithm sampling from complex distributions.

A/B Testing

Compare conversion rate distributions to evaluate statistical significance and power.

Benford's Law

Visualize how the leading digits of many real-life numerical datasets follow a logarithmic distribution.

Beta Distribution

Explore the Beta distribution and the effect of its shape parameters.

Bootstrapping

Visualize statistical bootstrapping through resampling with replacement to estimate distributions.

Chi-Squared Test

Visualize the Chi-Squared goodness-of-fit test by comparing observed and expected frequencies.

Conditional Probability Tree

Visualize a two-stage process and calculate joint probabilities using a tree structure.

Copulas & Joint Distributions

Explore how copulas link marginal distributions to form a joint probability distribution.

Coupon Collector Problem

Visualize the expected number of random draws required to collect all unique coupons in a set.

Kernel Density Estimation

Visualize non-parametric density estimation using different kernel functions and bandwidths.

Order Statistics

Visualize the distribution of the k-th smallest value in a sample of size n.

Prime Number Patterns

Visualize the distribution and underlying order of prime numbers using the Ulam spiral.

Survival Analysis

Estimate time-to-event outcomes using the Kaplan-Meier estimator.

Entropy & Information Theory

Visualize Shannon entropy, probability distributions, and information content for binary and ternary systems.

Exponential Distribution

Visualize the exponential distribution PDF and CDF with an adjustable rate parameter.

Kaplan-Meier Estimator

Estimate time-to-event outcomes and survival probabilities using the Kaplan-Meier estimator.

Moment Generating Functions

Visualize moment generating functions for different probability distributions and see how they derive moments.

Multivariate Normal Distribution

Visualize 2D normal distributions with varying correlation and standard deviations.

Power Analysis

Visualize statistical power, Type II error (β), and their relationship with effect size, sample size, and significance level.

Queueing Theory (M/M/1)

Visualize an M/M/1 queue with adjustable arrival and service rates.

Rejection Sampling

Generate samples from a complex target distribution by using a scaled, simpler proposal distribution.

ROC Curve & AUC

Visualize True Positives, False Positives, and trade-offs in binary classification.

Extreme Value Distribution

Visualize the Generalized Extreme Value distribution including Gumbel, Fréchet, and Weibull families.

Fisher Information

Visualize Fisher Information and the Cramér-Rao bound for normal distribution parameter estimation.

Pólya Urn Model

Visualize the evolution of ball proportions in a Pólya Urn scheme with reinforcements.

Negative Binomial Distribution

Visualize the probability of experiencing a number of failures before achieving a target number of successes.

Hidden Markov Model

Visualize state transitions, emitted observations, and probability inference in a Hidden Markov Model.

Alias Method Sampling

Build an alias table for weighted categorical draws and compare exact probabilities with reproducible samples.

Simpson's Paradox

Compare within-group and pooled success rates, reveal aggregation reversals, and test a common population mix.

Hypergeometric Distribution

Count marked items in finite samples without replacement, explore exact event probabilities, and compare the variance with a replacement model.

Multinomial Distribution

Explore joint category counts in fixed independent trials, exact ordering probabilities, binomial marginals and negative count covariance.

Dirichlet Distribution

Explore a continuous probability simplex, Dirichlet concentration, exact count-based Bayesian updates and uncertainty over category probabilities.

Chernoff Bounds

Compare inclusive binomial tail probabilities with optimized Chernoff bounds, explore exponential tilts, and recognize trivial, deterministic and limiting cases.

Poisson-Binomial Distribution

Build success-count probabilities from independent trials with different chances, inspect inclusive events and compare a binomial model with the same mean.

Empirical CDF

Calculate the step CDF for a finite sample with ties and observe right-continuity.

Benjamini-Hochberg Procedure

Visualize rank-based false-discovery control across a family of hypotheses.

Exact Permutation Test

Enumerate all equally likely treatment pairs under the sharp no-effect randomization null.

Fisher's Exact Test

Enumerate tables with fixed margins to compute a two-sided p-value.

Galton-Watson Extinction

Visualize the extinction probability and expected population size in a Galton-Watson branching process.

Holm Step-Down Procedure

Compare sorted p-values with rank-dependent family-wise thresholds and map decisions back to their original labels.

Inclusion-Exclusion

Enumerate overlapping die events and trace the singles, pair and triple corrections that count their union exactly once.

Inspection Paradox

Compare ordinary mean with stationary time-average inspected gap and residual wait.

Law of Total Variance

Visualize how total variance decomposes into within-group variance and between-group variance.

Secretary Problem

Explores optimal stopping in the classic Secretary Problem where N applicants are evaluated one by one.

Stochastic Dominance

Understand First-Order Stochastic Dominance by comparing distribution pairs and their cumulative distribution functions.

Total Variation Distance

Visualize the maximum difference between probabilities assigned to the same event by two distributions, and construct their maximal coupling.

Antithetic Variates

Pair each uniform input with its mirror and compare exact equal-budget estimator variances, including a case that gets worse.

Beta Binomial Prediction

Compare a beta-mixture predictive count with a binomial count having the same mean probability.

Binary Channel Mutual Information

Follow a noisy binary channel and compare the information carried by biased and balanced inputs.

Bounded Optional Stopping

Stop a small random walk at a barrier or deadline and verify the drift-compensated martingale identity exactly.

Chebyshev Inequality

Compare an exact finite-distribution tail with the variance-only Chebyshev bound, including a sharp example.

Control Variates

Subtract a centered known-mean control and tune its coefficient to change variance without changing expectation.

Jensen Inequality

Move a two-point distribution and compare a convex function of its mean with its expected function value.

Kelly Log Growth

Compare expected logarithmic growth across fractions of a hypothetical repeated binary wager.

Kolmogorov-Smirnov Statistic

Measure the largest vertical gap between a four-point empirical CDF and the uniform reference CDF.

Mann-Whitney U Test

Count cross-sample wins and ties, then compare U with every indexed allocation of two small samples.

McNemar Exact Test

Track paired binary changes and enumerate the discordant outcomes behind an exact McNemar p-value.

Negative Hypergeometric Distribution

Draw without replacement until a chosen marked item arrives and inspect the exact waiting-time distribution.

Rao Blackwellization

Average an unbiased estimator within sufficient-count groups and compare its exact variance before and after conditioning.

Stratified Sampling Variance

Choose two strata in a six-item population and compare every stratified estimate with equal-size simple random sampling.

Sufficient Statistics Factorization

Group binary samples by their success count and see which ordering information stops depending on the unknown probability.

Wilcoxon Signed-Rank Test

Rank paired differences and enumerate sign assignments, including zero removal and tied absolute ranks.

Zero Inflated Poisson

Separate structural zeros from ordinary Poisson zeros and see how mixing changes count variability.

Bertrand Ballot Prefix Paths

Count vote paths that stay ahead and see how a strict boundary changes the result.

Beta–Geometric Waiting Time

See how uncertainty in one shared success probability creates decreasing hazards and a heavy waiting-time tail.

Blackwell Garbling and Decision Risk

Compare experiments by the decision risk incurred after degrading their signals.

Cauchy Sample-Mean Stability

See why averaging independent Cauchy observations does not narrow their sampling law.

Derangements and Fixed Points

Count unchanged positions in a uniform random permutation and see why one missing match is impossible.

Good–Turing Unseen Mass

Use singleton species to estimate unseen probability mass and inspect the estimator’s limits.

Newsvendor Discrete Critical Fractile

Minimize expected mismatch cost and see why discrete quantile optima can tie.

Neyman–Pearson Randomized Test

Spend a false-positive budget on the outcomes with the strongest likelihood ratios.

Nontransitive Dice Cycle

Find a cyclic winning relation among independently checked original dice.

Empty Boxes in Random Allocation

Find the exact distribution of empty boxes after a fixed number of random placements.

Poisson Thinning and Independent Counts

Split Poisson arrivals into two types and verify that their counts are independent.

Inversions of a Random Permutation

Build the exact inversion-count distribution and compare its symmetry and moments.

Renewal Reward Rate

Compare reward per unit time with the average of individual cycle rates.

Exact Conditional Runs Test

Count binary runs and compare their order with every arrangement having the same totals.

Von Neumann Unbiased Bits

Extract a fair bit from a biased coin and measure the chance that a finite attempt produces no output.

Wald Sequential Likelihood Ratio

Follow binary observations until the likelihood ratio first reaches an evidence boundary.

Anscombe Quartet Diagnostics

Compare nearly identical summaries with four very different scatterplots.

Azuma Predictable Bets

Bound adapted betting outcomes without assuming independent increments.

Berkson Selection and Collider Bias

Watch selection create an association between initially independent traits.

Bernoulli Likelihood Ratio Test

Compare a null likelihood with its fitted alternative and build an exact LR-ordered test.

Bhatia–Davis Variance Bound

Use a known mean to sharpen the variance bound for bounded data.

Bonferroni and Šidák Corrections

Compare two family-wise error thresholds and see when independence matters.

Borel–Cantelli Lemmas

Contrast finite event windows with the probability of infinitely many occurrences.

Brownian Bridge Covariance

Pin a Brownian process at two endpoints and inspect the resulting covariance.

Cantor Singular Distribution

Build a continuous singular distribution from finite ternary bit sums.

Capture–Recapture Population Estimation

Compare two capture occasions and see when overlap can estimate an unknown population.

Competing Risks and Cumulative Incidence

Separate all-cause survival from the probability of each mutually exclusive event type.

Compound Poisson Counts

Add one- and two-unit jumps to Poisson arrivals and see why count variance can exceed the mean.

Determinantal Subset Diversity

Use determinants to make similar items compete for inclusion in a random set.

Doob Random-Walk Maximal Bound

Bound the chance of ever crossing a threshold and distinguish it from the final-time event.

Efron–Stein Variance Bound

Bound a nonlinear statistic’s variance by replacing one independent coordinate at a time.

Ewens Permutation Cycle Law

Weight permutation cycles and connect enumeration to a rising-factorial probability law.

Exchangeability and Dependence Mixtures

Compare permutation symmetry with independence and expose a finite-exchangeability boundary.

F Distribution and Moment Boundaries

Form a ratio of normalized variances and discover when its moments stop existing.

Fieller Ratio Confidence Sets

See why uncertainty in a denominator can create unbounded confidence sets.

Friedman Repeated-Measures Rank Test

Rank matched treatments and compare the result with its exact tiny null distribution.

Friendship Paradox Sampling

Compare people, edge endpoints and individual neighbor averages without mixing them.

Gaussian Stein Identity

Relate a Gaussian expectation to a derivative and expose the required centering and variance factor.

Geometric Brownian Ito Drift

Separate a multiplicative diffusion's mean, median and logarithmic drift.

Hellinger Square-Root Geometry

Turn probability distances into chords between square-root vectors.

Hoeffding Inequality

Compare a distribution-free concentration guarantee with an exact finite binomial tail.

Horvitz–Thompson Unequal Sampling

Use inclusion weights to estimate a finite population total without bias.

Inverse Gaussian First Passage

Link a positive waiting-time density to drifted Brownian first passage.

Kingman Coalescent Tree Moments

Build genealogy moments from independent merger waits and explain mutation-count overdispersion.

Le Cam Rare-Event Limit

Quantify a rare-event Poisson approximation with an exact overlap distance and finite bound.

Logistic Probability Distribution

Invert a logistic CDF and compare location, scale and the distribution’s actual variance.

Lognormal Moments and Scale

Compare the mean, median and mode of a positive variable whose logarithm is normal.

Monty Hall Host Policies

Change the host’s policy to see why the same goat reveal can imply different odds.

Paley–Zygmund Lower Bound

Use two moments to guarantee a nonnegative variable exceeds a fraction of its mean.

Waiting Time for Coin Patterns

See how self-overlap changes the waiting time for an exact coin pattern.

Pollaczek–Khinchine Service Variability

Expose the second service moment behind mean queueing delay and recognize instability.

Probability Generating Functions

Multiply probability polynomials to discover sums, zero mass and moments.

Randomized Response and Estimation

Trade truthful-response probability for privacy and see how it changes an unbiased prevalence estimate.

Rényi Entropy and Effective Support

Change entropy order to move from support counting to dominant outcomes.

Skellam Poisson Difference

Subtract two independent event counts and follow diagonal probability mass.

Student t Tails and Moment Boundaries

Compare exact small-degree t tails with a normal law and identify when moments stop existing.

Cramér–Rao Biased Variance Bound

Explain why shrinkage can fall below an unbiased variance bound without contradicting Cramér–Rao.

Cramér–von Mises CDF Gap

Compare integrated CDF error with a fully specified null instead of a single largest gap.

Delta Method Transformations

Compare tangent-based uncertainty with an exact transformed sampling distribution.

Dirichlet–Multinomial Predictive Counts

Integrate uncertain category probabilities to predict joint counts.

Fano Decoding Entropy Bound

Relate decoding errors to conditional entropy and separate channel noise from optimal decoding.

Kendall Tau-b Tied Pairs

Count concordance and distinguish single-axis ties from joint ties in rank association.

Kruskal–Wallis Exact Ties

Inspect tied ranks and compare a small exact allocation test with its asymptotic reference.

Maximal Coupling Total Variation

Construct a joint law that makes two random variables agree as often as their marginals allow.

Randomized Probability Integral Transform

Fill the jumps of a discrete CDF with an auxiliary uniform variable to obtain a uniform transform.

Spearman Average Ranks and Permutations

See how average ranks and exact permutations handle tied ordinal data.

Ville Anytime E-Process

Control the chance of ever crossing an evidence threshold while allowing data-dependent stopping.

ABC Tolerance Posterior

See how a simulator acceptance tolerance changes an approximate posterior.

Arcsine Last-Zero Random Walk

Discover why a fair random walk often makes its last return near an endpoint.

Bayesian Persuasion Posterior Splitting

Split a prior into honest posterior beliefs and see how a sender can change decisions while preserving the average belief.

Bennett Bernoulli Tail Budget

Compare rare-event probabilities with a bound that uses both variance and support.

Berry-Esseen Binomial Jump Distance

Measure the largest normal-approximation error at binomial jumps and compare it with a theorem’s bound.

Beta–Bernoulli Point-Null Bayes Factor

Compare a point null with a continuous alternative using integrated evidence and model odds.

Boolean Noise Hypercontractivity

See how product-space noise turns a second-moment bound into a fourth-moment bound.

Broken Stick Triangle Cut Geometry

Two random cuts form a triangle only one quarter of the time, and the geometry explains every failed stick.

DKW Simultaneous CDF Band

Build one distribution-free confidence band for an entire empirical CDF.

Doob Finite Markov Bridge

Reweight transitions to condition an entire Markov path on its final state.

Erlang B Finite-Server Loss

Fill a finite set of servers and see when arrivals are lost instead of queued.

Gaussian Entropy Power and Independence

See why independent Gaussian sums saturate an entropy bound while correlated sums need not.

Hawk-Dove Invasion Stability

Compare a rare invader with a resident population and discover when aggression stabilizes at a mixture rather than a pure strategy.

Hawkes Branching Renewal Criticality

Follow expected event clusters through a self-exciting kernel and separate critical growth from stationarity.

Kac Positive Return Identity

Relate a state’s stationary weight to its first strictly positive return time.

Kemeny Random-Target Hitting

Average hitting times over a stationary random target and discover start-state invariance.

Multilevel Monte Carlo Allocation

Allocate costly multilevel samples by variance while distinguishing real lower bounds from executable counts.

Multinomial Type Large Deviation

Compare exact multinomial type mass with its relative-entropy exponential rate.

Noncentral Chi-Square Poisson Mixture

Resolve a noncentral squared-normal law into ordinary chi-square components.

Parrondo Mixed Game Stationary Drift

Two losing coin games can combine into a winning game because mixing changes which capital states are visited.

Replicator Cyclic Payoff Spirals

Rock beats scissors, yet cyclic competition can spiral inward, circle forever or spiral outward depending on the cost of losing.

Sicherman Dice Sum Factorization

Unusual six-sided dice can reproduce every sum probability of ordinary dice while having very different faces.

Variational KL and Exponential Tilting

Turn a score into a KL lower bound and explain the gap through its tilted law.

Wishart Bartlett Construction

Construct a random-matrix law from independent scalar primitives and track its determinant moments.

Wright–Fisher Neutral Genetic Drift

Keep the expected allele frequency fixed while random reproduction erases genetic diversity.