Skip to main content
HomeR

Foundations of Probability in R

4.0+
11 reviews
Beginner

In this course, you'll learn about the concepts of random variables, distributions, and conditioning.

Start Course for Free
4 hours13 videos54 exercises38,262 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

Probability is the study of making predictions about random phenomena. In this course, you'll learn about the concepts of random variables, distributions, and conditioning, using the example of coin flips. You'll also gain intuition for how to solve probability problems through random simulation. These principles will help you understand statistical inference and can be applied to draw conclusions from data.
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

Statistician in R

Go To Track
  1. 1

    The binomial distribution

    Free

    One of the simplest and most common examples of a random phenomenon is a coin flip: an event that is either "yes" or "no" with some probability. Here you'll learn about the binomial distribution, which describes the behavior of a combination of yes/no trials and how to predict and simulate its behavior.

    Play Chapter Now
    Flipping coins in R
    50 xp
    Simulating coin flips
    100 xp
    Simulating draws from a binomial
    100 xp
    Density and cumulative density
    50 xp
    Calculating density of a binomial
    100 xp
    Calculating cumulative density of a binomial
    100 xp
    Varying the number of trials
    100 xp
    Expected value and variance
    50 xp
    Calculating the expected value
    100 xp
    Calculating the variance
    100 xp
  2. 3

    Bayesian statistics

    Bayesian statistics is a mathematically rigorous method for updating your beliefs based on evidence. In this chapter, you'll learn to apply Bayes' theorem to draw conclusions about whether a coin is fair or biased, and back it up with simulations.

    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

Statistician in R

Go To Track

collaborators

Collaborator's avatar
Nick Carchedi
Collaborator's avatar
Tom Jeon
Collaborator's avatar
Nick Solomon

prerequisites

Introduction to R
David Robinson HeadshotDavid Robinson

Principal Data Scientist at Heap

Dave is the Principal Data Scientist at Heap. He has worked as a data scientist at DataCamp and Stack Overflow, and received his PhD in Quantitative and Computational Biology from Princeton University. Follow him at @drob on Twitter or on his blog, Variance Explained.
See More

Don’t just take our word for it

*4.0
from 11 reviews
55%
18%
9%
18%
0%
  • Darius J.
    2 months

    Short and clear intro to probabilities. Thank you!

  • Li D.
    9 months

    Great

  • Edwin A.
    9 months

    This course gave me foundation about pobability and help me understand more about statistical inference.

  • Nicolas F.
    11 months

    This course was solid both in accuracy and with the quality of code to be able to teach the foundations of probability in R.

  • Dimitris L.
    12 months

    nice course

"Short and clear intro to probabilities. Thank you!"

Darius J.

"Great"

Li D.

"This course gave me foundation about pobability and help me understand more about statistical inference."

Edwin A.

Join over 15 million learners and start Foundations of Probability in R 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.