Skip to content
Tutorials Center
My learning

Topics

Probability and Statistics Tutorial

Learn Probability and Statistics step by step: 57 lessons in 13 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 What Is Statistics? Learn what statistics is, why it matters, how descriptive and inferential statistics differ, and how the statistical thinking cycle turns raw data into decisions.
  2. 2 Types of Data Understand qualitative and quantitative data, discrete and continuous variables, and the four measurement scales that decide which statistics and charts make sense.
  3. 3 Population vs Sample Learn the difference between a population and a sample, parameters and statistics, why we sample, and how sampling bias and sampling error distort conclusions.
  4. 4 Statistics with Python Set up a Python toolkit for statistics: the built-in statistics module, NumPy arrays, random number generators with seeds, and quick summaries you can reuse all course.

Describing Data

  1. 5 Mean, Median and Mode Learn how to calculate and choose between the mean, median and mode, how outliers and skew affect them, and how to find each by hand and in Python.
  2. 6 Weighted, Geometric and Harmonic Means Learn when the ordinary average fails and how to use the weighted mean, geometric mean and harmonic mean for grades, growth rates and speeds, with Python examples.
  3. 7 Frequency Tables and Grouped Data Build frequency, relative frequency and cumulative tables, group continuous data into class intervals, and estimate the mean from grouped data with the direct and step-deviation methods.
  4. 8 Variance and Standard Deviation Learn how variance and standard deviation measure spread, why the sample version divides by n minus 1, how the empirical rule works, and how to compute them in Python.
  5. 9 Quartiles, IQR and Outliers Learn percentiles, quartiles, the five-number summary and the interquartile range, and use the 1.5 times IQR rule and box plots to detect outliers in your data.
  6. 10 Skewness, Kurtosis and Z-Scores Describe the shape of a distribution with skewness and kurtosis, standardize values with z-scores, and learn how these measures connect to the normal curve.
  7. 11 Visualizing Distributions Pick the right chart for your data: histograms, bar charts, box plots, density curves and scatter plots, with Matplotlib examples and tips for honest, readable graphs.

Probability Foundations

  1. 12 Sample Spaces and Events Learn the language of probability: experiments, sample spaces, events, set operations, and three ways to assign probabilities (classical, empirical and subjective) with examples.
  2. 13 Probability Rules Master the core probability rules: complement, addition (including overlapping events), multiplication for independent events, and how to solve at-least-one problems step by step.
  3. 14 Counting: Permutations and Combinations Learn the multiplication principle, factorials, permutations and combinations, and use them to compute probabilities of cards, lotteries and committees, verified in Python.
  4. 15 Conditional Probability and Independence Learn conditional probability, the multiplication theorem, tree diagrams, the law of total probability and how to test whether two events are independent, with worked Python checks.
  5. 16 Bayes' Theorem Learn Bayes' theorem with medical-test, spam and factory examples: priors, likelihoods and posteriors, the base-rate fallacy, and sequential updating in Python.

Random Variables

  1. 17 Random Variables and Probability Mass Functions Understand random variables, discrete versus continuous, the probability mass function and how to build, check and simulate a discrete distribution, with Bernoulli and binomial previews.
  2. 18 Expected Value and Variance of Random Variables Compute the expected value, variance and standard deviation of a discrete random variable, use linearity of expectation, and apply them to games, insurance and decisions.
  3. 19 CDFs and Continuous Random Variables Learn the cumulative distribution function, probability density functions, how probability becomes area under a curve, and compute probabilities for uniform and normal variables with SciPy.
  4. 20 Joint Distributions and Covariance Learn joint, marginal and conditional distributions of two random variables, test independence, and compute covariance and correlation by hand and with NumPy.

Common Distributions

  1. 21 The Binomial Distribution Learn the binomial distribution: Bernoulli trials, the probability mass function, mean and variance, cumulative probabilities and when it applies, with runnable Python.
  2. 22 The Poisson Distribution Understand the Poisson distribution for counts of events in a fixed interval: the formula, mean equals variance, the link to the binomial, and worked Python examples.
  3. 23 The Uniform Distribution Learn the discrete and continuous uniform distributions: equally likely outcomes, density, mean, variance and probabilities as areas, with Python examples you can run.
  4. 24 Exponential and Geometric Distributions Model waiting times with the exponential and geometric distributions: formulas, the memoryless property, link to Poisson and binomial, and runnable Python examples.
  5. 25 The Normal Distribution Master the normal distribution: the bell curve, mean and standard deviation, the 68-95-99.7 rule, z-scores, standard normal tables and normal approximations, with Python.

Sampling and Experiments

  1. 26 Populations, Samples and Sampling Frames Go deeper on populations, samples and sampling frames: parameters versus statistics, why samples vary, sampling error, sample size and population versus sample variance.
  2. 27 Sampling Methods Compare simple random, systematic, stratified and cluster sampling, plus convenience and other non-random methods, with Python simulations showing their accuracy.
  3. 28 Sampling Distributions and the Central Limit Theorem Understand sampling distributions, the standard error and the Central Limit Theorem: why sample means look normal, with simulations of skewed data and proportions in Python.
  4. 29 Experiments and Sources of Bias Learn observational studies versus randomized experiments, control groups, randomization, blinding, confounding and the common sources of bias, with a Python simulation.

Estimation

  1. 30 Point Estimation Learn point estimation: estimators, bias, variance, mean squared error, consistency, the method of moments and maximum likelihood, with simulations you can run in Python.
  2. 31 Degrees of Freedom and the t Distribution Understand degrees of freedom and why small samples need the Student t distribution: heavier tails, t critical values, comparison with the normal, and Python examples.
  3. 32 Confidence Intervals for Means Build and interpret confidence intervals for a population mean using z and t methods, learn margin of error, sample size planning and the correct interpretation, with Python.
  4. 33 Confidence Intervals for Proportions Estimate a population proportion with Wald and Wilson confidence intervals, understand poll margins of error, sample sizes and differences of two proportions, with Python.

Hypothesis Testing

  1. 34 The Logic of Hypothesis Testing Learn how hypothesis tests work: null and alternative hypotheses, test statistics, p-values, significance levels, Type I and II errors and power, with simulations in Python.
  2. 35 The z-Test for Means and Proportions Run z-tests for a mean with known sigma, for one proportion and for two proportions: test statistic, p-value, critical regions, one-tailed versus two-tailed, with Python.
  3. 36 t-Tests: One-Sample, Two-Sample and Paired Learn the one-sample, two-sample (Welch) and paired t-tests: hypotheses, the t statistic, degrees of freedom, assumptions and effect size, with runnable Python examples.
  4. 37 Chi-Square Tests Use chi-square tests for categorical data: goodness of fit and independence in contingency tables, expected counts, degrees of freedom, assumptions and Cramer's V, with Python.
  5. 38 ANOVA: Comparing Three or More Means Compare several group means with one-way ANOVA: sums of squares, the F statistic, assumptions, Tukey post-hoc tests, effect size and a look at two-way ANOVA, with Python.

Regression

  1. 39 Correlation and Covariance Learn covariance, Pearson and Spearman correlation, how to read a correlation coefficient, and why correlation does not prove causation, with runnable code.
  2. 40 Simple Linear Regression Fit a straight line with least squares, interpret slope, intercept and Rยฒ, build confidence and prediction intervals, and check residuals, with Python examples.
  3. 41 Multiple Linear Regression Extend regression to several predictors: matrix least squares, adjusted Rยฒ, dummy variables, interactions, multicollinearity and model checks, in Python.
  4. 42 Logistic Regression Model yes/no outcomes with logistic regression: probabilities, odds ratios, maximum likelihood, confusion matrices and thresholds, with Python you can run.

Bayesian Statistics and Simulation

  1. 43 Bayesian Inference with the Beta-Binomial Model Learn Bayesian updating with the Beta-Binomial model: choose a prior, update with data, get credible intervals and compare with frequentist confidence intervals.
  2. 44 Monte Carlo Simulation Use Monte Carlo simulation to estimate probabilities, expectations and integrals, check the law of large numbers and quantify error, with seeded Python code.
  3. 45 Bootstrap and Permutation Tests Learn resampling: the bootstrap for confidence intervals of any statistic and permutation tests for comparing groups, without relying on normality assumptions.

Applied Statistics

  1. 46 Nonparametric Tests When data are skewed, ordinal or tiny, use rank-based tests: Mann-Whitney U, Wilcoxon signed-rank, Kruskal-Wallis and sign test, with SciPy examples.
  2. 47 A/B Testing Design and analyze A/B tests: hypotheses, sample size and power, the two-proportion z-test, confidence intervals for lift, peeking, and common pitfalls.
  3. 48 Time Series Basics Learn time series fundamentals: trend, seasonality, moving averages, autocorrelation, stationarity, differencing and exponential smoothing forecasts, in Python.
  4. 49 Multiple Testing and Effect Sizes Understand why many tests inflate false positives, how Bonferroni, Holm and Benjamini-Hochberg corrections work, and why effect sizes matter more than p-values.

Projects

  1. 50 Project: Exploratory Data Analysis A hands-on EDA project: summarize a messy customer dataset, handle missing values and outliers, compare groups, test relationships and write up findings.
  2. 51 Project: Analyzing an A/B Test Analyze a full A/B test: check randomization, test conversion with a z-test, compare revenue with a bootstrap, add a Bayesian view and write a clear recommendation.
  3. 52 Project: Building a Regression Model Build a regression model end to end: explore, fit, check diagnostics, handle a log transform, validate on a held-out test set and report predictions with intervals.

Practice and Review

  1. 53 Practice Set: Descriptive Statistics and Probability Twelve worked practice problems on mean, median, spread, z-scores, outliers, conditional probability, Bayes' theorem and counting, with solutions you can run.
  2. 54 Practice Set: Distributions and Inference Practice confidence intervals, z and t tests, two-sample and paired tests, proportions, chi-square, ANOVA, power and sample size with worked, runnable solutions.
  3. 55 Practice Set: Regression, Bayes and Simulation Ten practice problems on correlation, least squares, interpreting regression output, logistic odds, Bayesian updating, Monte Carlo and the bootstrap, with solutions.
  4. 56 Statistics Formula Cheat Sheet A compact statistics and probability cheat sheet: descriptive formulas, probability rules, distributions, confidence intervals, test choice, regression and Python equivalents.
  5. 57 Common Statistical Mistakes Twelve common statistics errors, from misreading p-values and confounding to Simpson's paradox, survivorship bias and the base-rate fallacy, with demonstrations.