  Interactive Course

# Foundations of Probability in Python

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

• 5 hours
• 16 Videos
• 61 Exercises
• 1,821 Participants
• 5,050 XP

### Loved by learners at thousands of top 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.

2. #### Important probability distributions

Until now we've been working with binomial distributions, but there are many probability distributions a random variable can take. In this chapter we'll introduce three more that are related to the binomial distribution: the normal, Poisson, and geometric distributions.

3. #### 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.

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.

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.

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.

3. #### Important probability distributions

Until now we've been working with binomial distributions, but there are many probability distributions a random variable can take. In this chapter we'll introduce three more that are related to the binomial distribution: the normal, Poisson, and geometric distributions.

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.

### What do other learners have to say? “I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group “DataCamp is the top resource I recommend for learning data science.”

Louis Maiden “DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA ##### Alexander A. Ramírez M.

CEO at Synergy Vision

Alexander is the CEO @ Synergy Vision which focuses on financial data science. He is a Computer Engineer from Universidad Simón Bolivar (USB) with 22 years of experience. He has corporate experience in telecom companies implementing Internet services and planning the expansion of the telecom network. Also worked at Banesco, one of the main banks in Venezuela, implementing mobile banking. He is currently the CTO at SynergyGB implementing mobile and web apps for Banks in Venezuela, Panamá, Puerto Rico and the Dominican Republic. He is finishing a Masters in Random Models and he is working in a Doctorate in Mathematics at Universidad Central de Venezuela (UCV). At Synergy Vision he provides services to Banks, Insurance companies and Brokerages. They offer training about trading, investments, finance, and risk and develop technology solutions like mobile and web apps for brokerages and also risk solutions for banks.

See More
##### Collaborators
• Hillary Green-Lerman

• 