Skip to main content
HomeR

Course

Probability Puzzles in R

BasicSkill Level
4.8+
65 reviews
Updated 08/2024
Learn strategies for answering probability questions in R by solving a variety of probability puzzles.
Start Course for Free
RProbability & Statistics4 hr13 videos45 Exercises3,750 XP4,252Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

Do you want to take your probability skills to the next level? This course will help get you there, using problem-based learning with probability puzzles as the framework. As you are guided through their solutions, you will gain coding tools and general strategies for solving probability problems that you might encounter in many other situations. Organized by theme, the course begins with classic problems like the Birthday Problem and Monty Hall, and ends with puzzles that involve poker like Texas Hold'em and the World Series of Poker!

Prerequisites

Intermediate RFoundations of Probability in R
1

Introduction and Classic Puzzles

This chapter will introduce some basic principles that will be used throughout the course, such as writing loops and functions. Then, we dive into a couple of classic problems: the Birthday Problem, and Monty Hall.
Start Chapter
2

Games with Dice

In this chapter, we explore games in which dice are rolled, including Yahtzee, Settlers of Catan, and Craps. You will learn tools such as using built-in R functions to calculate combinatorics, and using functions such as replicate and the %in% operator.
Start Chapter
3

Inspired from the Web

4

Poker

This chapter explores questions in poker, including the most often televised version of Texas Hold'em. We will learn to code for win probabilities with any given number of outs, and also explore a more theoretical model of poker known as the von Neumann model. We will learn to use functions such as Reduce, runif, and ifelse.
Start Chapter
Probability Puzzles in R
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 65 reviews
82%
17%
2%
0%
0%
  • Emese
    5 weeks ago

  • Tung
    2 months ago

    .

  • abe
    2 months ago

  • Héctor David
    5 months ago

  • Vitalii
    7 months ago

  • Joaquim
    7 months ago

Emese

abe

Héctor David

FAQs

What classic probability puzzles are covered in this course?

The course covers the Birthday Problem, Monty Hall, Yahtzee, Settlers of Catan, Craps, Texas Hold'em poker, and several puzzles inspired by problems found on the internet.

Do I need strong math skills or just basic probability knowledge?

You should complete Foundations of Probability in R first. The course uses coding to solve puzzles rather than heavy math, but a solid grasp of probability basics is essential.

What R functions and techniques will I practice in this course?

You will use replicate, sapply, Reduce, runif, ifelse, combinatorics functions, nested loops, and the %in% operator to solve probability puzzles programmatically.

Is the poker chapter useful if I do not play poker?

Yes, the poker chapter teaches transferable probability concepts like calculating win probabilities with any number of outs and explores the von Neumann theoretical model of poker.

How is this course different from a standard probability theory course?

It uses a problem-based learning approach where you solve entertaining puzzles rather than study theory. Each puzzle teaches coding tools and strategies applicable to many probability problems.

Join over 19 million learners and start Probability Puzzles in R today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.