In the game of Chuck-A-Luck a player tosses three dice and earns a dollar for ea
ID: 3933916 • Letter: I
Question
In the game of Chuck-A-Luck a player tosses three dice and earns a dollar for each 6 that appears. It costs one dollar for each roll of the three dice. Let X be the random variable representing the dollar amount won in a single roll of the three dice minus the dollar spent to play, Example: if the player rolls (6.2.6). then X = 1. Write R code to simulate the game of Chuck-A-Luck in the following steps. Write a function to simulate a roll of Chuck-A-Luck. The function should return the amount won minus the dollar spent (i.e., the random variable X from above.) Run your function and compute the sample mean and variance for this simulation. Plot a histogram of the X variable. Is the histogram symmetric about the mean?Explanation / Answer
#Make a vector that lists all the outcomes of rolling one die XRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.