AI engineering glossary · Probability

What is complement rule?

Complement rule (also called Complement of an event): The probability that an event does not happen equals 1 minus the probability that it does. It is often the easiest route when counting the opposite case is simpler, for example 'at least one' problems.

Level: beginnerTopic: Probability

Complement rule: an example

If a server is up 99.5% of the time, P(down) = 1 - 0.995 = 0.005.

Related terms

More Probability terms

Where you learn it

Complement rule is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.