Skip to main content
HomeProbability & StatisticsFoundations of Probability in Python

Foundations of Probability in Python

Learn fundamental probability concepts like random variables, mean and variance, probability distributions, and conditional probabilities.

Start Course for Free
5 Hours16 Videos61 Exercises
11,480 LearnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies


Course Description

Probability is the study of regularities that emerge in the outcomes of random experiments. In this course, you'll learn about fundamental probability concepts like random variables (starting with the classic coin flip example) and how to calculate mean and variance, probability distributions, and conditional probability. We'll also explore two very important results in probability: the law of large numbers and the central limit theorem. Since probability is at the core of data science and machine learning, these concepts will help you understand and apply models more robustly. Chances are everywhere, and the study of probability will change the way you see the world. Let’s get random!
  1. 1

    Let's start flipping coins

    Free

    A coin flip is the classic example of a random experiment. The possible outcomes are heads or tails. This type of experiment, known as a Bernoulli or binomial trial, allows us to study problems with two possible outcomes, like “yes” or “no” and “vote” or “no vote.” This chapter introduces Bernoulli experiments, binomial distributions to model multiple Bernoulli trials, and probability simulations with the scipy library.

    Play Chapter Now
    Let’s flip a coin in Python
    50 xp
    Flipping coins
    100 xp
    Using binom to flip even more coins
    100 xp
    Probability mass and distribution functions
    50 xp
    Predicting the probability of defects
    100 xp
    Predicting employment status
    100 xp
    Predicting burglary conviction rate
    100 xp
    Expected value, mean, and variance
    50 xp
    Calculating the expected value and variance
    50 xp
    Calculating the sample mean
    100 xp
    Checking the result
    100 xp
    Calculating the mean and variance of a sample
    100 xp
  2. 2

    Calculate some probabilities

    In this chapter you'll learn to calculate various kinds of probabilities, such as the probability of the intersection of two events and the sum of probabilities of two events, and to simulate those situations. You'll also learn about conditional probability and how to apply Bayes' rule.

    Play Chapter Now
  3. 4

    Probability meets statistics

    No that you know how to calculate probabilities and important properties of probability distributions, we'll introduce two important results: the law of large numbers and the central limit theorem. This will expand your understanding on how the sample mean converges to the population mean as more data is available and how the sum of random variables behaves under certain conditions. We will also explore connections between linear and logistic regressions as applications of probability and statistics in data science.

    Play Chapter Now

Collaborators

Collaborator's avatar
Hillary Green-Lerman
Collaborator's avatar
Adrián Soto

Prerequisites

Introduction to Statistics in Python
Alexander A. Ramírez M. HeadshotAlexander A. Ramírez M.

CEO at Synergy Vision

See More

What do other learners have to say?

Join over 13 million learners and start Foundations of Probability in Python today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.