Suppose you flip a fair coin repeatedly until you see a Heads followed by another Heads or a Tails followed by another Tails (i.e. until you see the pattern HH or TT).
(a)What is the expected number of flips you need to make?
(b)Suppose you repeat the above with a weighted coin that has probability of landing Heads equal to p.Show that the expected number of flips you need is 2+p(1−p)/1−p(1−p)
Suppose you flip a fair coin repeatedly until you see a Heads followed by another Heads...
Suppose we flip a fair coin n times. We say that the sequence is balanced when there are equal number of heads and tails. For example, if we flip the coin 10 times and the results are HT HHT HT T HH, then this sequence balanced 2 times, i.e. at position 2 and position 8 (after the second and eighth flips). In terms of n, what is the expected number of times the sequence is balanced within n flips?
4. A fair two-sided coin is tossed repeatedly. (a) Find the expected number of tails until the first head is flipped. (b) Find the probability that there are exactly 5 heads in the first 10 flips. (c) Use the central limit theorem/normal approximation to approximate the probability that in the first 100 flips, between 45 and 55 of the flips are heads.
You have a biased coin, where the probability of flipping a heads is 70%. You flip once, and the coin comes up tails. What is the expected number of flips from that point (so counting that as flip #0) until the number of heads flipped in total equals the number of tails?
Please show ALL STEPS. NEAT HANDWRITING ONLY PLEASE Thank You Suppose we flip a fair coin n times. We say that the sequence is balanced when there are equal number of heads and tails. For example, if we flip the coin 10 times and the results areHTHHTHTTHH, then this sequence balanced 2 times, i.e. at position 2 and position 8 (after the second and eighth flips). In terms of n, what is the expected number of times the sequence is...
Question 2 Suppose you have a fair coin (a coin is considered fair if there is an equal probability of being heads or tails after a flip). In other words, each coin flip i follows an independent Bernoulli distribution X Ber(1/2). Define the random variable X, as: i if coin flip i results in heads 10 if coin flip i results in tails a. Suppose you flip the coin n = 10 times. Define the number of heads you observe...
Problem 2: Tails and (Heads or Tails?) Alice and Bob play a coin-tossing game. A fair coin (that is a coin with equal probability of 1. The coin lands 'tails-tails' (that is, a tails is immediately followed by a tails) for the first 2. The coin lands 'tails-heads (that is, a tails is immediately followed by a heads) for the landing heads and tails) is tossed repeatedly until one of the following happens time. In this case Alice wins. first...
6. A fair coin is flipped repeatedly until 50 heads are observed. What is the probability that at least 80 flips are necessary? (You may calculate an approximate answer.)
Q3. Suppose we toss a coin until we see a heads, and let X be the number of tosses. Recall that this is what we called the geometric distribution. Assume that it is a fair coin (equal probability of heads and tails). What is the p.m.f. of X? (I.e., for an integer i, what is P(X=i)? What is ?[X]? ({} this is a discrete variable that takes infinitely many values.)
Stacy and George are playing the heads or tails game with a fair coin. The coin is flipped repeatedly until either the fifth heads or the fifth tails appears. If the fifth heads occurs first, Stacy wins the game. Otherwise, George is the winner. Suppose that after the fifth flip, three heads and two tails have occurred. What is the probability that Stacy wins this game?
You have a biased coin where heads come up with probability 2/3 and tails come up with probability 1/3. 2. Assume that you flip the coin until you get three heads or one tail. (a) Draw the possibility tree. (b) What is the average number of flips? Use the possibility tree, and show your calculation. 2. Assume that you flip the coin until you get three heads or one tail. (a) Draw the possibility tree. (b) What is the average...