Archive for heads and tails

Cross validated question

Posted in R, Statistics, University life with tags , , , on February 20, 2012 by xi'an

Another problem generated by X’validated (on which I spent much too much time!): given an unbiased coin that produced M heads in the first M tosses, what is the expected number of additional tosses needed to get N (N>M) consecutive heads?

Continue reading