Skip to main content

Fundamentals of Bayesian Data Analysis in R

Learn what Bayesian data analysis is, how it works, and why it is a useful tool to have in your data science toolbox.

Start Course for Free
4 Hours23 Videos58 Exercises18,604 Learners4450 XPMachine Learning Scientist TrackStatistician Track

Create Your Free Account



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 approach to statistical modeling and machine learning that is becoming more and more popular. It provides a uniform framework to build problem specific models that can be used for both statistical inference and for prediction. This course will introduce you to Bayesian data analysis: What it is, how it works, and why it is a useful tool to have in your data science toolbox.

  1. 1

    What is Bayesian Data Analysis?


    This chapter will introduce you to Bayesian data analysis and give you a feel for how it works.

    Play Chapter Now
    A first taste of Bayes
    50 xp
    Unknowns and ice creams
    50 xp
    Let's try some Bayesian data analysis
    50 xp
    Coin flips with prop_model
    100 xp
    Zombie drugs with prop_model
    100 xp
    Samples and posterior summaries
    50 xp
    Looking at samples from prop_model
    100 xp
    Summarizing the zombie drug experiment
    100 xp
    You've done some Bayesian data analysis!
    50 xp

In the following tracks

Machine Learning ScientistStatistician


nicksolomonNick SolomonchesterChester Ismay


Introduction to R
Rasmus Bååth Headshot

Rasmus Bååth

Data Science Lead at

Rasmus Bååth is a Data Science Lead at Previously, he was an instructor and Curriculum Lead for Projects at DataCamp. He has a PhD in Cognitive Science from Lund University in Sweden. Follow him at @rabaath on Twitter or on his blog, Publishable Stuff.
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