Question: PLEASE USE R CODE TO ANSWER THESE QUESTIONS Problem 1 : Let's say you are playing an altered version of Craps. It is a gambling
PLEASE USE R CODE TO ANSWER THESE QUESTIONS
Problem 1 : Let's say you are playing an altered version of Craps. It is a gambling game that uses two dice, and the sum of two rolled dice determines the outcome. If the sum is 2, 3, or 12, you lose all of your bet. If the sum is 7 or 11, then you earn the same amount as your bet. If the sum is 4, 5, 6, 8, 9, or 10, then you lose half of your bet.
a. Create a Probability Mass Function (PMF) of the variable X = the pro t from the game, assuming that you bet $30 for the game.
b. What is the expected value of X?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
