Shandelle rolls a pair of fair dice and sums the number of spots that appear on the up faces. She then flips a fair coin the number times associated with the sum of the spots. For example, if she rolled a 3 and a 4, then she flips the fair coin 7 times. If the coin flipping part of the random experiment yielded an equal number of heads and tails, find the probability that she rolled an 8 on the dice rolling part of the random experiment. Write a Monte Carlo simulation in R to support the analytic solution.
Sample(Event) space of getting equal number of heads and tails : (1,1),(2,2),(3,3),(4,4) (5,5),(6,6) i.e on the dice rolling part of the experiment she would have got 2 (1+1),4(2+2),6(3+3),8(4+4),10(5+5),12(6+6)
Therefore
Number of ways of getting equal number of heads and tails = 6
Event of getting a 8 on the dice rolling part of the experiment is (4,4) : Given that coin flipping part of the random experiment yielded an equal number of heads and tails
Number of ways of getting a 8 on the dice rolling part of the experiment : Given that coin flipping part of the random experiment yielded an equal number of heads and tails, i.e From the event space = 1
probability that she rolled an 8 on the dice rolling part of the random experiment, If the coin flipping part of the random experiment yielded an equal number of heads and tails
= Number of ways of getting a 8 on the dice rolling part of the experiment : Given that coin flipping part of the random experiment yielded an equal number of heads and tails, i.e From the event space / Number of ways of getting equal number of heads and tails
= 1/6=0.1667
If the coin flipping part of the random experiment yielded an equal number of heads and tails, the probability that she rolled an 8 on the dice rolling part of the random experiment = 1/6 = 0.1667
Shandelle rolls a pair of fair dice and sums the number of spots that appear on...
Let A= rolling 2 on pair of fair dice and B = getting 1 heads on 3 rolls of a fair coin. Assuming the rolls of the dice are independent of the coin tosses, what is Prob (A AND B)? (round to 4 decimals)
A six-sided dice is rolled twice. Find the probability that the larger of the two rolls was less than or equal to5 A fair coin is flipped 3 times. Find the probability that exactly 1 of the flips will turn up as heads.
3) We roll 2 fair dice. a) Find the probabilities of getting each possible sum (i.e. find Pr(2), Pr(3), . Pr(12) ) b) Find the probability of getting a sum of 3 or 4 (i.e.find Pr(3 or 4)) c) Find the probability we roll doubles (both dice show the same value). d) Find the probability that we roll a sum of 8 or doubles (both dice show the same value). e) Is it more likely that we get a sum...
1. A fair coin is flipped four times. Find the probability that exactly two of the flips will turn up as heads. 2. A fair coin is flipped four times. Find the probability that at least two of the flips will turn up as heads. 3. A six-sided dice is rolled twice. Find the probability that the larger of the two rolls was equal to 3. 4. A six-sided dice is rolled twice. Find the probability that the larger of...
Question 2 In a series of 100 fair coin flips, on average, what is the longest consecutive run of either heads or tails? What about for 1000 fair coin flips? Perform a Monte Carlo simulation to answer this question. Hint: look at function rle(). For example, suppose in 10 coin flips we observe {H,H,H,T,T,H,T,T,T,T},{H,H,H,T,T,H,T,T,T,T}, then the longest run is four. use rstudio do this.
the probability of rolling a pair of dice that sums 7 is pie= 1/6 a) out of 4 independent rolls of the dice what is the mean number of timed the dice will show a 7? b) out of 4 independent rolls of the dice what is the probability of rolling a 7 three or more timed ?
I NEED HELP ASAP. THANK YOU Consider rolling a fair die thrice and tossing a fair coin sixteen times. Assume that all the tosses and rolls are independent. and the chance that the total The chance that the total number of heads in all the coin tosses equals 12 is (Q3) number of spots showing in all the die rolls equals 12 is (Q4) The number of heads in all the tosses of the coin plus the total number of...
Problem 4. A fair coin is tossed consecutively 3 times. Find the conditional probability P(A | B), where the events A and B are defined as A-(more heads than tails came upl, B-(1st toss is a head) 1St toss is a head Problem 5. Consider rolling a pair of dice once. What is the probability of getting 7, given that the sum of the faces is an odd number?
Two fair dice are tossed independently, and the pair, (X, Y), denote the number of spots on the first and on the second dice. Consider two random variables: U = X + Y and W = X-Y! 1. Find the distribution of U. 2. Find the distribution of W. 3. Find the conditional distribution of W, given that U 6
Mysterioso the Magician is walking down the street with a box containing 25 identical looking coins: 24 are fair coins (which flip heads with probability 0.5 and tails with probability 0.5) and one is a trick coin which alwavs flips heads. Renata the Fox skillfully robs Mysterioso of one of the coins in his box (chosen uniformly at random). She decides she will flip the coin k times to test if it is the trick coin. (a) What is the...