#1
|
|||
|
|||
Necco Odds
I am working through a roll of Necco wafers, and I just had three liquorice Neccos in a row.
This must be rare: 8 flavors. A wafer of a given flavor exists. The chances of the next wafer being the same flavor are 1 in 8. Same for the next wafer. 1/8 is 0.125. Therefore, the chances of three wafers of the same flavor, given a single wafer of that flavor to start, are 0.125 x 0.125 = 0.015625, or 1/64, or 1.56% Now, Neccos are packaged by weight--2.20oz per roll. But that's about 40 wafers. Let's say 40 wafers/roll. We can ignore wafers 39 and 40, as they cannot be followed by two additional wafers. This means 38 chances to have three wafers of the same flavor in a row. 38 x .015625 = 0.59375, or 19/32, or 59.375%. That's actually not that rare. You have only a slightly worse chance of getting three Necco wafers of the same flavor in a row, in a given roll of Necco wafers, than Ruben Patterson of the Portland Trail Blazers had of making a given free throw during this year's NBA season. Unless I'm missing something. Am I missing something? |
#2
|
|||
|
|||
Re: Necco Odds
Say the first 4 wafers are the same. Does this count twice? If you get 5 in a row, does it count 3 times? You're counting them obviously. Odds change if you say 3 and only 3.
|
#3
|
|||
|
|||
Re: Necco Odds
4 in a row counts twice. We are interested in any possible combination of three in a row.
|
#4
|
|||
|
|||
Re: Necco Odds
[ QUOTE ]
Say the first 4 wafers are the same. Does this count twice? If you get 5 in a row, does it count 3 times? You're counting them obviously. Odds change if you say 3 and only 3. [/ QUOTE ] Hi. arbuthnot was kind enough to post my crazy question here. I want to know what the odds are of ANY three-wafer set of the same flavor showing up. I think I have it right. If you have a roll of 40 all-chocolate Necco wafers, after all, you have 38 sets of three chocolate wafers. Right? The problem is that if wafer 1 is not chocolate, you only lose the first possible trio (wafers 1/2/3). Same w/wafer 40 (38/39/40). But if wafer 2 or wafer 39 is not chocolate, you lose two possibilities per wafer (1/2/3, 2/3/4 and 37/38/39, 38/39/40). Any other wafer, from 3 through 38, you lose three possible sets per nonchocolate wafer. This makes me think there is a subtlety to this that I haven't taken into account. |
#5
|
|||
|
|||
Re: Necco Odds
Well, that seems to be the reason that your number is so high...
|
#6
|
|||
|
|||
Re: Necco Odds
Compare your math to rolling a die. There are 6 sides, so chances of rolling a SIX is .166667. Now, if you roll it 6 times, it's not the case that you'll hit 1.0 SIXes. You'll hit on average 1.0 SIXes. Likewise, multiplying your percentage (which I believe is right) by 38, you've hit upon .59. This is not your chance of hitting one string of three in a row; this is the average number of 3-in-a-row sets you'll hit in one package.
What I think you need to do is take your probability and subtract it from 1.00. So 1.00 - .0156 = .984. Now raise this number .984 to the exponent "n", where "n" is the number of wafers. So .984^38 = probability of NOT getting a set of 3 in a row. 1.00 - that = probability of hitting at least one set in 38 wafers. |
#7
|
|||
|
|||
Re: Necco Odds
If you have a roll of 10,000 wafers, does this mean you have a 10,000 x 0.015625 chance of getting 3 in a row?
|
#8
|
|||
|
|||
Re: Necco Odds
I'm pretty sure that both solutions proposed so far are incorrect. The problem with the "1 - P(NOT)" method is that you do not have independence among the various sets of 3.
I believe you need to solve this using a recurrence relation, but I forget the details of the method. BruceZ or pzhon would know. In any case, it is at least a moderately difficult problem, IIRC. gm |
#9
|
|||
|
|||
Re: Necco Odds
Also, a quick sim of 1 million trials produced an answer of about 6.3%, which seems reasonable.
|
#10
|
|||
|
|||
Re: Necco Odds
Link To Bruce's Derivation of the General Formula
The exact answer is 6.16%, which agrees with the sim results. |
|
|