Learn statistics: 15 free interactive lessons
3 to 5 minute lessons where you run real simulations: flip coins, load dice, draw samples, build confidence intervals and fit lines. Everything is computed live, right here in your browser.
Do it in the browser: a real statistics tool, a short mission and instant feedback. No install. Optional certificate at the end of the course.
Open the courseLessons
- Law of Large NumbersA coin has a fixed probability p of landing heads, but each flip is unpredictable. What becomes predictable is the proportion of heads…
- Expected valueThe expected value E[X] is the weighted average of the outcomes, each weighted by its probability: E[X] = Σ x·P(x). For a fair die it is…
- Variance and spreadTwo data sets can share the same mean and still look nothing alike. Variance measures how far the points sit from the mean: the average of…
- Sets and Venn diagramsEvents are sets of outcomes. A ∪ B (union) happens when A or B happens; A ∩ B (intersection) when both happen; Aᶜ (complement) when A does…
- Counting: permutations and combinationsWhen choosing r items from n, ask one question: does order matter?
- Conditional probability and BayesP(A | B) is the probability of A given that B happened. A medical test gives P(+ | sick), its sensitivity. The patient wants the opposite:…
- Discrete distributionsA discrete random variable takes countable values: 0, 1, 2… Its PMF gives P(X = k) for each value; its CDF accumulates them, P(X ≤ k).
- Continuous distributionsA continuous variable can take any value in an interval. The probability of an exact point is zero; what matters is the area under the…
- Sampling distribution and the CLTTake a sample of size n and compute its mean. Repeat many times: the means form the sampling distribution.
- Confidence intervalsA confidence interval is the estimate ± a margin of error: x̄ ± z*·σ/√n. The confidence level refers to the method, not to one interval.
- The bootstrapWith only one sample, how do we know how much the mean would vary? The bootstrap resamples the data itself with replacement, many times,…
- Prior and posterior: Beta-BinomialIn Bayesian inference, a parameter (here, a coin's p) has a prior distribution expressing what we believe before the data. Observing data…
- Bayes factorsTo compare two hypotheses, Bayes works with odds: posterior odds = prior odds × Bayes factor.
- Least squares regressionA regression line ŷ = m·x + b predicts y from x. Each point's vertical distance to the line is its residual.
- CorrelationPearson's r measures the strength and direction of a linear relationship, from −1 (perfect negative) through 0 (none) to +1 (perfect…