Instantly share code, notes, and snippets.

Last active January 14, 2018 17:37
Show Gist options
• Save theredpea/116f91986d20f4eb505224f00e56cd86 to your computer and use it in GitHub Desktop.
nate probability complements demo

http://www-math.bgsu.edu/~albert/m115/probability/add_probs.html The complement rule (for computing probabilities of "not" events) Let's return to our lottery example. What if you're interested in the probability that the winning number does not have the same two digits. The rule for "not" events is called the complement rule:

Probability("not" an event) = 1 - Probability(event)

In this case, we can write

Probability(not same digits) = 1 - Probability(same digits)

We have already found the probability that the winning number has the same two digits, so the probability of interest is

Probability(not same digits) = 1 - 10/100 = 90/100

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters