|
Probability is a pretty practical subject matter, so I decided to apply it more and more to daily life. So while watching a documentary on extreme sports the other day, a photograph of 7 people were shown and the documentary voiceover guy said that of those 7, 3 died via the extreme sport they par-took in (which I believe was a modified version of sky diving). I immediately paused the documentary, and tried to guess which 3 had died, and I guessed 2 right. Now taking ai-class, and learning probability and all, I got curious as to what the probability was of what I had done. Basically, I wanted to know how likely it was I guessed 2 right just by sheer chance (given the 3 guesses I had and the seven possibilities in total) (to see how well I had "profiled" the 7 sky divers). How would I do this in terms of combinations/permutations? |
|
This is an instance of the "urn problem without replacement" – since every time you select a "candidate" the population decreases by one – and as such it is governed by the hypergeometric distribution. In the terms of your problem, for n "candidates" chosen from an original group of size N (among which m are dead), the probability that k of the "candidates" you chose are dead is given by:
Substituting your case's parameters in the above equation and calculating the binomial coefficients you get (I'm switching to Python so my results are more easily reproducible):
So informally the answer to your question is "just by choosing randomly, you should get it right about once every 3 tries". Oh sure, bring mathematical rigor into this :) The python code definitely helps (I can use it for any other "urn problem without replacement"). The hypergeometric distribution you mentioned, I get conceptually, but will need to look more into mathematically. Thanks tho :) (and lol @gregmchapman). It's not as complicated as it sounds. Essentially what the formula is calculating is the reason:
How it arrives at it is a bit tricky, but bear with me. In the formula above, the binomial coefficient operator First we calculate the number of all possible test outcomes that comply to the case parameters. In your scenario we want two guesses right out of three, so we take the number of all possible subsets of size 2 containing only "right" guesses, and multiply by the number of all possible subsets of size 1 (3 - 2) that contain only "wrong" guesses. The we divide the result by the number of all possible outcomes (i.e. all possible three-guesses results). |
|
I suppose you want two and only two right guesses from the tree picks, so there are 3 possible outcomes (along with their proper probability below):
These possibilities all add up to the total probability that we look for, so the result is:
So the only two right guesses you will get with probability of 11/35 ~ 0.314 If you allow also the possibility of all the picks to be right guess, you can add as well:
for a total of: 12/35 ~ 0.342 |

gives the number of