#Probability
63 messages · Page 1 of 1 (latest)
- Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close - Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
How did they calculate it?
8C3/2^8 = 7/32
Okay, to begin with, do you understand the factor of 2^8 in the denominator?
I don't get it. I am confused with this part.
How many possible sequences of 8 coinflips are there?
Or equivalently, how many possible 8-digit binary numbers are there?
2^8 = 256
Right.
Why is it not 3/8?
...why would it be 3/8?
Sorry, I am really confused, because it looks like it's independent event for me
The previous outcome does not affect the next outcome
...in what?
err, in any event?
How I understand it is
- There are two possibilities in each flip (Head or Tail)
- Whether this flip is a H or T, there are still two possibilities in the next flip
Well, that's not quite what it means.
In probability theory, event A is independent of event B if and only if P(A|B) = P(A).
And you're correct that the coin flips are independent of each other, but I don't see how that leads to your conclusion of 3/8.
Em, flip the coins 8 times, out of the 8, 3 are head?
Okay, but like, you're not actually doing any math. You're just saying numbers and then throwing them together in a ratio for no justified reason.
...ok sure
Let's think about it like this.
What's the probability of getting heads?
1/2
And how many do you need?
3
And if flips are independent, the probability of getting three heads is therefore what?
...the left side is correct, the right side is not.
Sorry
...is 6 a power of 2?
Sorry
And you need exactly three heads, right?
Ya
So all the rest need to be tails, which is how many?
(1/2)^5
...well, no, it's 5, with probability (1/2)^5.
...ok
So the probability of, for instance, flipping three heads in a row and then five tails in a row is (1/2)^3 * (1/2)^5 = (1/2)^8.
Ohhhhhhhhhhhhhh
But of course, we need to account for all the various combinations.
We can do this by first multiplying by the number of permutations the eight flips have.
Then we divide by the number of permutations the heads have, and the number of permutations the tails have, since flips with the same result are indistinguishable.
There are, of course, 8! permutations of flips, 3! permutations of heads, and 5! permutations of tails.
And 8!/(3! * 5!) = 8C3.
Wow!
This is what's in general referred to as a binomial distribution.
If you have repeated independent trials with a binary outcome, success or failure, and the probability of success is p, and you want exactly k successes out of n trials, the calculation is nCk * p^k * (1 - p)^(n - k).
I understand the concept now. Thank you very much @molten lava 🙇
@wary aurora has given 1 rep to @molten lava
+close