Saltar al contenido principal
InicioRProbability Puzzles in R

Probability Puzzles in R

Learn strategies for answering probability questions in R by solving a variety of probability puzzles.

Comience El Curso Gratis
4 Horas13 Videos45 Ejercicios
3410 AprendicesTrophyDeclaración de cumplimiento

Crea Tu Cuenta Gratuita

GoogleLinkedInFacebook

o

Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.
Group¿Entrenar a 2 o más personas?Pruebe DataCamp para empresas

Preferido por estudiantes en miles de empresas


Descripción del curso

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!
Empresas

Group¿Entrenar a 2 o más personas?

Obtenga acceso de su equipo a la biblioteca completa de DataCamp, con informes centralizados, tareas, proyectos y más
Pruebe DataCamp Para EmpresasPara obtener una solución a medida, solicite una demonstración.
  1. 1

    Introduction and Classic Puzzles

    Gratuito

    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.

    Reproducir Capítulo Ahora
    Introduction to the Course
    50 xp
    Writing a simple function
    100 xp
    Writing a simple for loop
    100 xp
    Setting a seed
    50 xp
    The Birthday Problem
    50 xp
    Simulation of a single n
    100 xp
    Using the pbirthday function
    100 xp
    Make a plot
    100 xp
    Monty Hall
    50 xp
    Win probability with "stick"
    100 xp
    Writing a function to "switch"
    100 xp
    Win probability with "switch"
    100 xp
  2. 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.

    Reproducir Capítulo Ahora
  3. 3

    Inspired from the Web

    The puzzles in this chapter were inspired by ideas encountered on the internet. In order to solve them, you will learn to combine tools such as nested for loops, and the functions round, identical, and sapply.

    Reproducir Capítulo Ahora
  4. 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.

    Reproducir Capítulo Ahora
Empresas

Group¿Entrenar a 2 o más personas?

Obtenga acceso de su equipo a la biblioteca completa de DataCamp, con informes centralizados, tareas, proyectos y más

Colaboradores

Collaborator's avatar
Chester Ismay
Collaborator's avatar
Amy Peterson

Requisitos Previos

Intermediate RFoundations of Probability in R
Peter Chi HeadshotPeter Chi

Assistant Professor of Statistics, Villanova University

Ver Mas

¿Qué tienen que decir otros alumnos?

Únete a 13 millones de estudiantes y empeza Probability Puzzles in R hoy!

Crea Tu Cuenta Gratuita

GoogleLinkedInFacebook

o

Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.