Bayesian Data Analysis in Python

Learn all about the advantages of Bayesian data analysis, and apply it to a variety of real-world use cases!
Start Course for Free
4 Hours14 Videos49 Exercises3,427 Learners
4000 XP

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. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies


Course Description

Bayesian data analysis is an increasingly popular method of statistical inference, used to determine conditional probability without having to rely on fixed constants such as confidence levels or p-values. In this course, you’ll learn how Bayesian data analysis works, how it differs from the classical approach, and why it’s an indispensable part of your data science toolbox. You’ll get to grips with A/B testing, decision analysis, and linear regression modeling using a Bayesian approach as you analyze real-world advertising, sales, and bike rental data. Finally, you’ll get hands-on with the PyMC3 library, which will make it easier for you to design, fit, and interpret Bayesian models.

  1. 1

    The Bayesian way

    Free
    Take your first steps in the Bayesian world. In this chapter, you’ll be introduced to the basic concepts of probability and statistical distributions, as well as to the famous Bayes' Theorem, the cornerstone of Bayesian methods. Finally, you’ll build your first Bayesian model to draw conclusions from randomized coin tosses.
    Play Chapter Now
  2. 2

    Bayesian estimation

    It’s time to look under the Bayesian hood. You’ll learn how to apply Bayes' Theorem to drug-effectiveness data to estimate the parameters of probability distributions using the grid approximation technique, and update these estimates as new data become available. Next, you’ll learn how to incorporate prior knowledge into the model before finally practicing the important skill of reporting results to a non-technical audience.
    Play Chapter Now
  3. 3

    Bayesian inference

    Apply your newly acquired Bayesian data analysis skills to solve real-world business challenges. You’ll work with online sales marketing data to conduct A/B tests, decision analysis, and forecasting with linear regression models.
    Play Chapter Now
  4. 4

    Bayesian linear regression with pyMC3

    In this final chapter, you’ll take advantage of the powerful PyMC3 package to easily fit Bayesian regression models, conduct sanity checks on a model's convergence, select between competing models, and generate predictions for new data. To wrap up, you’ll apply what you’ve learned to find the optimal price for avocados in a Bayesian data analysis case study. Good luck!
    Play Chapter Now
Datasets
Ads DataBikes Data
Collaborators
Amy PetersonJustin Saddlemyer
Michał Oleszak Headshot

Michał Oleszak

Machine Learning Engineer
Michał is a Machine Learning Engineer with a background in statistics and econometrics, holding degrees from Erasmus University Rotterdam, The Netherlands and Warsaw School of Economics, Poland. He is the author of the pmpp R package for forecasting with panel data. Having worked at a data science consultancy, he has gained experience in squeezing value from messy and incomplete data. He's currently shaping the future at an AI startup. Visit his homepage to find out more.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA