Consider the experiment of rolling a pair of dice Suppose th
Consider the experiment of rolling a pair of dice. Suppose that we are interested in the sum of the face values showing on the dice. What is the probability of obtaining a value of 5? How to right this question on R
Consider the experiment of rolling a pair of dice. Suppose that we are interested in the sum of the face values showing on the dice. What is the probability of obtaining a value of 5? How to right this question on R
Solution
rolling a pair of dice, the following outcomes is
(1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6)
(2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6)
(3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6)
(4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6)
(5, 1), (5, 2), (5, 3), (5, 4), (5, 5), (5, 6)
(6, 1), (6, 2), (6, 3), (6, 4), (6, 5), (6, 6)
we are interested in the sum of the face values showing on the dice is 5
(1,4), (2,3), (3,2), (4,1)
Total is 36
5 is comes in 4 outcomes
the probability of obtaining a value of 5 is 4/36=0.11111
