Question

In: Statistics and Probability

We keep tossing a fair coin n = 106 million times, write down the outcomes: it...

We keep tossing a fair coin n = 106 million times, write down the outcomes: it gives a Heads-and-Tails-sequence of length n. We call an integer i special, if the i, i + 1, i + 2, i + 3, . . . , i + 18-th elements of the sequence are all Heads. That is, we have a block of 19 consecutive Heads starting with the i-th element of the sequence. Let X denote the number of special integers i. What is the expected value of X? I also want the numerical value.

Solutions

Expert Solution

Let be the indicator random variable that takes the value 1 if the ith coin is the first coin in a sequence of 19 consecutive heads.

For any sequence of length 19, the starting coin can be from toss ,

such that is between and

Thus the number of such sequences is

                                                               

The expected number of such sequences is

                                                               

                                                                                       by linearity of expectation

Now the expectation for to be a sequence of k heads is

                                                            

(since each toss is independent, expectations can be multiplied and expectation of each coin turning a head is 1/2)

Thus

The expected number of such sequences is

                                                               

                                                               

                                                               

Now substitute n = 106 million

we get the expected number of such sequences is

                                    


Related Solutions

We keep tossing a fair coin n=106 million times, write down the outcomes: it gives a...
We keep tossing a fair coin n=106 million times, write down the outcomes: it gives a Heads-and-Tails-sequence of length n. We call an integer i special, if the i,i + 1,i + 2,i + 3,...,i + 18-th elements of the sequence are all Heads. That is, we have a block of 19 consecutive Heads starting with the i-th element of the sequence. Let X denote the number of special integers i. What is the expected value of X? and calculate...
in tossing a coin 1024 times we get 460 tails. is this coin fair? use a...
in tossing a coin 1024 times we get 460 tails. is this coin fair? use a significance level equal to 5%
A fair coin is tossed 4 times. a. Write the outcomes of the sample space b....
A fair coin is tossed 4 times. a. Write the outcomes of the sample space b. Let A be the event of obtaining at least one head, find P(A) c. Let B be the event of obtaining at least one tail, find P(B) d. Let C be the event of obtaining two tails, find P(C) e. Find P(A ∪ B) f. Find P(A ∩ B) g. Find P(A ∪ B ∪ C)
A fair coin is flipped six times. The outcomes of the coin flips form a palindrome...
A fair coin is flipped six times. The outcomes of the coin flips form a palindrome if the sequence of T’s and H’s reads the same forwards and backwards, e.g. THTTHT. Let A denote the event that the first, second and fourth flips are all ‘T’. Let Z denote the event that the six flips form a palindrome. (a) Is A independent of Z? (b) Is A independent of Z? (c) A fair coin flipped six times and a certain...
In tossing a fair coin 16 times, what is the probability of getting at most 4...
In tossing a fair coin 16 times, what is the probability of getting at most 4 tails?
I toss a fair coin 20 times. (a) Calculate the probability of tossing 18 or more...
I toss a fair coin 20 times. (a) Calculate the probability of tossing 18 or more heads exactly. (b) Now perform the same calculation, approximating the actual binomial distribution with a normal distribution, picking a proper random variable, and using the correct mean and variance. (c) Do the results reasonably agree?
When tossing a fair coin three times what is the probability of getting 0, 1, 2,...
When tossing a fair coin three times what is the probability of getting 0, 1, 2, or 3 heads (as opposed to tails)? Write the answers in fractional notation, corresponding to the order given.
Madi and Alex are both tossing a fair coin. Madi tosses hers 10 times and Alex...
Madi and Alex are both tossing a fair coin. Madi tosses hers 10 times and Alex tosses his 30 times. Which of them is more likely to get more than 60% heads or do they have the same chance? Explain why? 1.) Describe a model for Madi and Alex's coin tossing. What measures can help you decide who is more likely to get more than 60% or if they are equally likely. 2.) If you gave students this problem without...
Check 1 ptRetries 1 A fair coin is tossed 7 times. Compute the probability of tossing...
Check 1 ptRetries 1 A fair coin is tossed 7 times. Compute the probability of tossing 7 tails in a row. 1128​   Enter your response as a reduced fraction. Question Help: Message Message instructor Unattempted Question 2 Check 1 ptRetries 1 A CEO of Awesome Coolers owns 4 pairs of pants, 13 shirts, 8 ties and 3 jackets. How many different outfits can he wear to the office if he must wear one of each item? The CEO has  different outfits....
A player tosses a fair coin n times. Each time, if the coin lands on Head,...
A player tosses a fair coin n times. Each time, if the coin lands on Head, the player win a dollar, otherwise, the player loses a dollar. What is the expected earning of the player? What is the variance of the earning of the player? Now the player apply a new strategy: the player will play the game until he gets a head. What is the expected earning of the new strategy? Does the result depend on n?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT