Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > The Academy > Tilted Knowledge and How-To


 
 
LinkBack Thread Tools
Old 12-10-2008, 01:44 PM   #1 (permalink)
zomgomgomgomgomgomg
 
telekinetic's Avatar
 
Location: Fauxenix, Azerona
Starburst statistics brainteaser

So as I sit hear eating a starburst 2-pack (of which there is an entire drawer in the office), I started wondering about the probabilities they represented (clearly a busy day at work).

For people not familiar, there are four flavors, pink red orange and yellow, and each pack has two candies. The packs do have a left and right orientation, so in theory you could have 16 different candy combinations, if you consider 'right pink/left yellow' different from 'right yellow/left pink'.

Easy question: What is the probability that if you gathered 16 packs from a large population, you would have one of each combination?

Harder question: What is the probability that you would get one pack of each possible combination, if (like a sane person) you count 'right pink/left yellow' and 'right yellow/left pink' as being the same?

Harder question abstracted to dice: What is the probability of rolling 11 times and getting each number, 2 through 12, exactly once?

I may just be super tired, but the only answer I've come up with to second problem seems excessively fiddly and counterintuitive to me, though for some reason the third seems easier, since I'm used to thinking of statistics and dice.

Please spoilerify your answers for a few days so people who want to try it have a chance...I'll try to mull over a better answer to the second one (and third, by extension) and post it up when I get home.
__________________
twisted no more

Last edited by telekinetic; 12-10-2008 at 02:41 PM..
telekinetic is offline  
Old 12-10-2008, 01:59 PM   #2 (permalink)
Evil Priest: The Devil Made Me Do It!
 
Daniel_'s Avatar
 
Location: Southern England
You are evil and should be punished for puting this problem in my head.

I have to get a pad now. Grrrr!
__________________
╔═════════════════════════════════════════╗
Overhead, the Albatross hangs motionless upon the air,
And deep beneath the rolling waves,
In labyrinths of Coral Caves,
The Echo of a distant time
Comes willowing across the sand;
And everthing is Green and Submarine

╚═════════════════════════════════════════╝
Daniel_ is offline  
Old 12-10-2008, 02:02 PM   #3 (permalink)
Soaring
 
PonyPotato's Avatar
 
Location: Ohio!
I'll be thinking about this for the next couple of hours. Thanks. :P
__________________
"Without passion man is a mere latent force and possibility, like the flint which awaits the shock of the iron before it can give forth its spark."
— Henri-Frédéric Amiel
PonyPotato is offline  
Old 12-11-2008, 04:47 PM   #4 (permalink)
Junkie
 
Quote:
Originally Posted by twistedmosaic View Post
So as I sit hear eating a starburst 2-pack (of which there is an entire drawer in the office), I started wondering about the probabilities they represented (clearly a busy day at work).

For people not familiar, there are four flavors, pink red orange and yellow, and each pack has two candies. The packs do have a left and right orientation, so in theory you could have 16 different candy combinations, if you consider 'right pink/left yellow' different from 'right yellow/left pink'.

Easy question: What is the probability that if you gathered 16 packs from a large population, you would have one of each combination?

Harder question: What is the probability that you would get one pack of each possible combination, if (like a sane person) you count 'right pink/left yellow' and 'right yellow/left pink' as being the same?
Are you assuming the starbursts colors and orientation have a completely equal distribution? Without that assumption your first 2 questions are impossible to answer.

Quote:
Harder question abstracted to dice: What is the probability of rolling 11 times and getting each number, 2 through 12, exactly once?
This one is pretty easy is you generalize it for order.

Spoiler:
First you need to calculate the odds of rolling this in order.

To do this you multiply the odds of rolling 2-12 individually and then multiply by the number of orders you can roll it.

odds for 7 6/36 =0.167
odds for 6 and 8 5/36 =0.139
odds for 5 and 9 4/36 =0.111
odds for 4 and 10 3/36 =0.083
odds for 3 and 11 2/36 =0.056
odds for 2 and 12 1/36 =0.028

Multiply them together and you get:

(6*5^2*4^2*3^2*2^2)/36^11=86400/131621703842267136

this is the probability of rolling in a specific order. Now you have one of these for each possible way to order the rolls.

To compute the number of orders you will need to use a partial factorial.
The first roll has 11 possibilities (2-12). After each roll the number of possibilities drops by one. Thus you have a partial factorial. 11*10*9*8*7*6*5*4*3*2=39916800

Multiplying the odds for one order above yields a probability of: 86400*39916800/131621703842267136=2.62024531 × 10-5
or 1 in 38,164.3656.

It has been a few years since I have done any probability & stats how did I do?
Rekna is offline  
Old 12-11-2008, 06:19 PM   #5 (permalink)
Living in a Warmer Insanity
 
Tully Mars's Avatar
 
Super Moderator
Location: Yucatan, Mexico
Quote:
Originally Posted by twistedmosaic View Post
For people not familiar, there are four flavors, pink red orange and yellow, and each pack has two candies. The packs do have a left and right orientation, so in theory you could have 16 different candy combinations, if you consider 'right pink/left yellow' different from 'right yellow/left pink'.
I was going to start in on this and suddenly realized I've always considered pink, red orange and yellow to be colors and not flavors. I've decided to slowly back away from this problem as it is clearly beyond my comprehension.
__________________
I used to drink to drown my sorrows, but the damned things have learned how to swim- Frida Kahlo

Vice President Starkizzer Fan Club
Tully Mars is offline  
Old 12-11-2008, 08:09 PM   #6 (permalink)
zomgomgomgomgomgomg
 
telekinetic's Avatar
 
Location: Fauxenix, Azerona
Quote:
Originally Posted by Rekna View Post
Are you assuming the starbursts colors and orientation have a completely equal distribution? Without that assumption your first 2 questions are impossible to answer.
Yes, definitely...sorry, I meant to state it in the setup...
__________________
twisted no more
telekinetic is offline  
Old 12-13-2008, 01:55 PM   #7 (permalink)
Junkie
 
Quote:
Originally Posted by twistedmosaic View Post
Easy question: What is the probability that if you gathered 16 packs from a large population, you would have one of each combination?
Spoiler:
The odds of getting any one of the individual packs in a single pick is 1/16. To verify this look at probability of a the color of a single candy being color a) which is 1 in 4. Then look at the probability of the color of the second candy which is also 1/4 (though technically it is slightly smaller since the population has been lowered by the first pick, I'm assuming the population is essentially infinite and an earlier pick doesn't affect the probability of a future event, thus each pick is an independent event). Multiply them together and you get 1/16.

Now we just have to compute the successive probabilities. The first pick has perfect odds (16/16) of being unique. The second pick has the odds of 15/16 of being unique and so on and each successive pick is 1 less on the numerator. Thus your odds are 16!/16^16 is equal to 1 in 881,657.952.

I would try to simplify my expression but i don't have a pen and paper to do it and typing it on a computer would be a pain so you will have to live with the decimal representation.

I'll leave the middle one for someone else thought if you follow the way I did this one and the hardest one it shouldn't be to hard.
Rekna is offline  
Old 12-23-2008, 08:27 AM   #8 (permalink)
Addict
 
Deltona Couple's Avatar
 
Location: Spring, Texas
Quote:
Originally Posted by Rekna View Post
Are you assuming the starbursts colors and orientation have a completely equal distribution? Without that assumption your first 2 questions are impossible to answer.



This one is pretty easy is you generalize it for order.

Spoiler:
First you need to calculate the odds of rolling this in order.

To do this you multiply the odds of rolling 2-12 individually and then multiply by the number of orders you can roll it.

odds for 7 xxxxxxxx
odds for 6 and 8 xxxxxxx
odds for 5 and 9 xxxxxxx
odds for 4 and 10 xxxxxxx
odds for 3 and 11 xxxxxxx
odds for 2 and 12 xxxxxxx

Multiply them together and you get:

(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)

this is the probability of rolling in a specific order. Now you have one of these for each possible way to order the rolls.

To compute the number of orders you will need to use a partial factorial.
The first roll has xx possibilities (xxxxxx). After each roll the number of possibilities drops by one. Thus you have a partial factorial. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Multiplying the odds for one order above yields a probability of: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
It has been a few years since I have done any probability & stats how did I do?

Just from basic logic of probability (Forgive me some for it has been several years since I took Probability and Statistics in school) But....

Spoiler:
Basic numbers show that the odds of doing the die roll in sequence is MUCH higher than approx 1 in 36,000. just to have the chance of rolling a 2 then a 3 immediately after is 1:2916, then the odds of a 4 following THAT is 1:145800...etc... I dont have the time to go on much further, but as you can tell, it is exponentionally growing, so I am going to estimate that the odds of rolling 2,3,4,5,6,7,8,9,10,11,12 would be in the neighborhood of 1: "billions"


"Statistics of Dice Throw
The probababilities of different numbers obtained by the throw of two dice offer a good introduction to the ideas of probability. For the throw of a single die, all outcomes are equally probable. But in the throw of two dice, the different possibilities for the total of the two dice are not equally probable because there are more ways to get some numbers than others. There are six ways to get a total of 7, but only one way to get 2, so the "odds" of getting a 7 are six times those for getting "snake eyes". This simple example raises the idea of distinguishable states. For example, throwing a 3 is twice as likely as throwing a 2 because there are two distinguishable ways to get a 3. "
Taken from
Statistics of Dice Throw
__________________
"It is not that I have failed, but that I have found 10,000 ways that it DOESN'T work!" --Thomas Edison
Deltona Couple is offline  
 

Tags
brainteaser, starburst, statistics


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 06:17 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360