Question: Please use R programming. 1. Refer to the gambler's dispute of 1654 problem on page 109 of Dobrow (problem 3.5) in which we are trying
Please use R programming.
1. Refer to the gambler's dispute of 1654 problem on page 109 of Dobrow (problem 3.5) in which we are trying to find the probability of obtaining at least one "double six" in throwing a pair of dice 24 times. We found that probability to be 35) 24 36 P(at least 1 double six) = 1 = .4914 (a) Simulate the gambler's dispute of 1654 and calculate the estimated probability of obtain- ing at least one "double six" in throwing a pair of dice 24 times. Run this experiment for a simulation size of 1,000 and compute the empirical probability (b) Compare your estimated probability with the true probability. 1. Refer to the gambler's dispute of 1654 problem on page 109 of Dobrow (problem 3.5) in which we are trying to find the probability of obtaining at least one "double six" in throwing a pair of dice 24 times. We found that probability to be 35) 24 36 P(at least 1 double six) = 1 = .4914 (a) Simulate the gambler's dispute of 1654 and calculate the estimated probability of obtain- ing at least one "double six" in throwing a pair of dice 24 times. Run this experiment for a simulation size of 1,000 and compute the empirical probability (b) Compare your estimated probability with the true probability
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
