Skip to main content
HomePython

Bayesian Data Analysis in Python

4.0+
18 reviews
Intermediate

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 exercises12,082 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.
Group

Training 2 or more people?

Try DataCamp for Business

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.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Applied Statistics in Python

Go To Track
  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
    Who is Bayes? What is Bayes?
    50 xp
    Bayesians vs. Frequentists
    100 xp
    Probability distributions
    100 xp
    Probability and Bayes' Theorem
    50 xp
    Let's play cards
    100 xp
    Bayesian spam filter
    100 xp
    What does the test say?
    50 xp
    Tasting the Bayes
    50 xp
    Tossing a coin
    100 xp
    The more you toss, the more you learn
    100 xp
    Hey, is this coin fair?
    100 xp
  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
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

In the following Tracks

Applied Statistics in Python

Go To Track

datasets

Ads DataBikes Data

collaborators

Collaborator's avatar
Amy Peterson
Collaborator's avatar
Justin Saddlemyer
Michał Oleszak HeadshotMichał Oleszak

Machine Learning Engineer

Michał is a Machine Learning Engineering Manager based in Zurich, Switzerland. He has a background in statistics and econometrics, holding an MSc degree from Erasmus University Rotterdam, The Netherlands. He has worn many hats, having worked at a consultancy, a start-up, a software house, and a large corporation. He blogs about anything machine learning. Visit his website to find out more.
See More

Don’t just take our word for it

*4.0
from 18 reviews
44%
33%
11%
6%
6%
Sort by
  • Li D.
    25 days

    Great course. Highly recommended!

  • Vinay B.
    6 months

    Content was great. Helped to build intuition. However, an exercise on implementing pymc3 and coding one from scratch would have helped even more

  • Joel A.
    9 months

    I would have liked a little more information in the section on MCMC. Also, providing more of the underlying theory in credible intervals would be helpful.

  • Vengadesan N.
    over 1 year

    Perfect course for those who need to understand fundamental probability.

  • Nakul S.
    over 1 year

    Yet another high quality course from the DataCamp stable of instructors. Grid approximation is a very handy tool especially for single parameter posterior estimation. Conjugate priors takes it a step further. MCMC was the icing on the cake allowing one to sample from posterior without knowing the distribution! Moreover,Bayesian A/B testing, decision analysis, and regression models gives one a feel for how bayesian analysis can be practically applied. Overall, a very satisfying course!

"Great course. Highly recommended!"

Li D.

"Content was great. Helped to build intuition. However, an exercise on implementing pymc3 and coding one from scratch would have helped even more"

Vinay B.

"I would have liked a little more information in the section on MCMC. Also, providing more of the underlying theory in credible intervals would be helpful."

Joel A.

FAQs

Join over 15 million learners and start Bayesian Data Analysis 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.