I have a probability problem I was wondering if there is a cool generating function or something to deal with it.
Suppose you flip a fair coin 20 times, what's the probability that you get at least 6 consecutive heads?. at least 10 consecutive heads?. Exactly 8 consecutive heads?. And so forth.
The operative word here is consecutive
If it weren't for the 'consecutive', a binomial could easily be used.
I know that the expected number of flips before one gets 6 consecutive heads is 126. Perhaps that can be used somehow.
I set up a Markov chain for smaller numbers of trials, but this is rather large. I suppose I could for this also, but the matrix would be bigger. Is there a cool way to tackle it?.
Suppose you flip a fair coin 20 times, what's the probability that you get at least 6 consecutive heads?. at least 10 consecutive heads?. Exactly 8 consecutive heads?. And so forth.
The operative word here is consecutive
If it weren't for the 'consecutive', a binomial could easily be used.
I know that the expected number of flips before one gets 6 consecutive heads is 126. Perhaps that can be used somehow.
I set up a Markov chain for smaller numbers of trials, but this is rather large. I suppose I could for this also, but the matrix would be bigger. Is there a cool way to tackle it?.