# Statistics: Dice Problems

A few fun statistic problems with 6 sided dice

## Problem 1: If I roll a six sided die, what’s the chances of you guessing the correct number it landed on ?

Given a six sided die the chances of you guessing 1 of those 6 different numbers {1,2,3,4,5,6} is 1 out of 6 or 1/6.

**Answer: **1/6

## Problem 2: If I roll a die, what’s the chances of you guessing the correct number it landed on, given that you are told it rolled on an even number?

The chances that we have given a six sided die roll of guessing the number it landed on is 1/6, the values on that die are {1,2,3,4,5,6}.

The number of even numbers {2,4,6} on the die is 3.

The number of odd numbers (1,3,5} on the die is 3.

The question is basically asking what’s the chances of guessing one of the three even numbers that the die could possibly roll on, and the answer is 1 out of 3 or 1/3.

**Answer: **1/3

## Problem 3: What is the probability of rolling two dice and getting at least one odd number?

P(roll an even value) = 3/6 = 1/2

P(roll an odd value) = 3/6 = 1/2

Let’s take a look at some of the possible rolls

P(roll an even value) and P(roll an odd value) = (1/2) (1/2) = 1/4

P(roll an odd value)and P(roll an even value) = (1/2) (1/2) = 1/4

P(roll an odd value) and P(roll an odd value) = (1/2) (1/2) = 1/4

P(roll an even value) and P(roll an even value) = (1/2) (1/2) = 1/4

Now out of those 4 possibilities, 3 of them contain at least 1 odd roll. So our answer is 1/4 + 1/4 + 1/4 = 3/4

or

equivalently one minus the chances of getting two even rolls = 1 — (1/4) = 3/4.

**Answer: **3/4

## Problem 4: What is the probability of rolling two dice and getting an odd sum ?

Suppose we roll two dice. It is assume each die is fair and 6-sided. It means a roll of any value, the probability equal 1/6. Each die has 3 even values {2,4,6} and 3 odd values {1,3,5}.

NOTE: The following sums

(i) even + even = even

(ii) even + odd = odd

(iii) odd + odd = even

(iv) odd + even = odd

This means that we need one die to be odd and the other to be even in order for the sum of the two dice to be odd. So we want to know the probability of getting (odd and even) or (even and odd).

That probability is calculated below:

P(odd) = Probability of getting an odd number

P(even) = Probability of getting an even number

P(odd) and P(even) = (3/6)(3/6) = (1/2)(1/2) = (1/4)

P(even) and P(odd) = (3/6)(3/6) = (1/2)(1/2) = (1/4)

Probability of getting an (even and odd) or (odd and even):

= P( ( P(odd) and P(even) ) or (P(even) and P(odd)) )

= (1/4) + (1/4) = (2/4) = (1/2)

**Answer:** 1/2

# Books For Extra Learning

** Understanding and Calculating the Odds: Probability Theory Basics and Calculus Guide for Beginners, with Applications in Games of Chance and Everyday Life** is a great book for more problems like the ones in this article and can help you beat the odds ! It goes from a basic introduction of probability to theory, combinatorics, and beginners calculus, all of which can be applied to games of chance.

Another great book on statistics is* *** Introduction to Statistical Learning with applications in R**.

**provides an accessible overview of the field of statistical learning, an essential tool set for making sense of the vast and complex data sets that have emerged in fields ranging from biology to finance to marketing to astrophysics in the past twenty years. This book presents some of the most important modeling and prediction techniques, along with relevant applications. Topics include linear regression, classification, re-sampling methods, shrinkage approaches, tree-based methods, support vector machines, clustering, and more. Color graphics and real-world examples are used to illustrate the methods presented. Since the goal of this textbook is to facilitate the use of these statistical learning techniques by practitioners in science, industry, and other fields, each chapter contains a tutorial on implementing the analyses and methods presented in R, an extremely popular open source statistical software platform.**

*An Introduction to Statistical Learning*Thanks for reading this article I hope its helpful to you all ! If you enjoyed this article and found it helpful please leave some claps to show your appreciation. Keep up the learning, and if you would like more mathematics, computer science, programming or algorithm analysis videos please visit and subscribe to my YouTube channels (randerson112358 & compsci112358 ). If you would like more articles on statistics please check my article on counting techniques and a sock problem.

# Check Out the following for content / videos on Computer Science, Algorithm Analysis, Programming, Mathematics and Logic:

**YouTube Channel:***randerson112358:*https://www.youtube.com/channel/UCaV_0qp2NZd319K4_K8Z5SQ

*compsci112358:*

https://www.youtube.com/channel/UCbmb5IoBtHZTpYZCDBOC1CA

**Website:**

http://everythingcomputerscience.com/

**Video Tutorials on Recurrence Relation:**

https://www.udemy.com/recurrence-relation-made-easy/

**Video Tutorial on Algorithm Analysis:**

https://www.udemy.com/algorithm-analysis/

**Twitter:**

https://twitter.com/CsEverything

## RESOURCES:

https://www.quora.com/What-is-the-probability-of-rolling-a-two-dice-and-getting-an-odd-number