Probabilty model cont.
Binomial probabilities
When we are willing to assume we have a binomial random process, we can apply a few probability rules to help us calculate different probabilities. Under the null model, we assume that the number of "top down" outcomes in the toast dropping process will follow a binomial distribution with n = 10 and probability of success = 0.50.
For example, to find the probability of the outcome: SSSFSSFSSFF,
Under the null model, P(S) = 0.50 | P(success) = 0.50 |
The trials are independent so we can multiply these probabilities together. | |
We can count all of the possible outcomes have 6 successes and 4 failures = "10 choose 4" | |
These 210 outcomes are mutually exclusive so we can add together the probabilities for all of those possible outcomes with 4 successes. | 210 x (.510) = .205 |
In other words, P(4 successes and 6 failures in 10 tosses) = 0.205.
But this isn't quite our p-value yet. To be the p-vaue we want P(4 or fewer successes in 10 tosses).
Which a calculator or computer will tell us equals 0.3770.
In general
Let π represent the probability of success and x the number of successes: