
Stanton D. answered 01/26/20
Tutor to Pique Your Sciences Interest
Hi Jason M.,
This one is a little tricky. Break that 100-trials universe down into segments of trials 1-5, 2-6, 3-7.... 96-100. These are all the possible consecutive runs of 5 E (call E the desired result, with the 0.35 probability/trial) events happening (note that there are 96 of them, not 95 or 100!). Now for just one of these, the probability of getting EEEEE is just (0.35)^5 ~ 0.005252, right? But, you can't just multiply that by the number of segments, b/c eventually that cumulative value would exceed probability 1!
So, knowing the P(EEEEE) ~ 0.005252, therefore the P(NOT EEEEE) ~= 1 - 0.005252 ~ 0.994748 for any segment. The P of getting 96 of those results in a row is (0.994748)^96, or ~ 0.6032 . That's the P of not having gotten ANY (EEEEE) string in the first 100 trials, so the P(at least one EEEEE string) = 1 - 0.6032 or ~ 0.3968 . You might wonder if these events are really independent, since they overlap -- but they are; you are only asking "did I get an EEEEE, or not?", not "were there only DDDDD" where D = anything but E. So you don't care what you got on any particular individual trial, only that you didn't have an EEEEE over a particular 5-trial set.
Similar calculations enable your 1000 trials and so on. Remember to pay attention to the exact number of possible runs, it's not 1000 and so on.
-- Cheers, -- Mr. d.
Alex O.
Dear Stanton D. It seems there is some error in your calculations or I don't exactly understand conditions of the problem: Let's consider throwing of the coin i.e. probability is 0.5 and we want to find probability of the same side falling at least twice in a row out of 4 tries: According to your explanation it will be 1 - (1 - 0.25)^3 ~ 0.578 but if we consider all possible combinations (0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111) we see that there are exactly 8 combinations out of 16 that satisfy our requirements i.e. probability is 0.5. Could you please clarify what am I missing here?01/31/21