Your Interactive Companion
Probability and Statistics Lab
Distribution map
Bernoulli distribution
A single trial with two outcomes: success with probability p and failure with probability 1-p.
Binomial distribution
Counts successes in n independent Bernoulli trials with common success probability p.
Poisson distribution
Counts events occurring independently at a constant average rate \(\lambda\) over a fixed interval.
Hypergeometric distribution
Counts successes in K draws without replacement from a population of size N containing M successes.
Geometric distribution
Models the trial number on which the first success occurs.
Negative binomial distribution
Models the trial number on which the r-th success occurs.
Discrete uniform distribution
Assigns equal probability to every integer between a and b inclusive.
Uniform distribution
Chooses a point from an interval so probability is proportional to interval length.
Triangular distribution
A bounded continuous distribution with lower bound a, mode c, and upper bound b.
Exponential distribution
A waiting-time distribution for events occurring independently at a constant rate.
Normal distribution
The classic bell curve, symmetric around \(\mu\) with variance \(\sigma^2\).
Chi-square distribution
A sampling distribution formed by summing squared independent standard normal variables.
F distribution
The ratio of two independent chi-square variables scaled by their degrees of freedom.
Analysis Tools
Confidence intervals
Visualize the sampling uncertainty around the estimate while computing the interval.
Hypothesis testing
See the rejection region, test statistic, p-value, and decision together.
Lookup tables and power
Connect critical values and tail areas to the power calculation.
Statistical tables
Use the Z, t, chi-square, and F tables in the same style as the notes.
Simulations
Finite population sampling
Rank random numbers and return a sample without replacement.
Bayes theorem simulation
Simulate the red-red, white-white, and mixed-card question.
Random number generators
Generate and inspect a linear congruential sequence.
German tank problem
Sample plate numbers and estimate the hidden population size.
Galton board
Drop animated balls through pegs with a chosen right-move probability.
Poisson approximation
Choose n and p, then compare the binomial PMF with Poisson(lambda=np).
Birthday paradox
Add people to a calendar heat map and see shared birthdays appear.
Disclosure of ballot box results
Reveal ballot boxes over time and track intervals and a one-sided test.
Monty Hall
Choose the number of doors and compare staying with switching.
Airplane seat problem
Let one passenger lose a ticket, then watch whether the last passenger gets the assigned seat.