๐Ÿ“– Contents · Hub · Full version Chapter 5 ยท Probability
Statistics Easy Read · Chapter 5

Probability Basics

Everything in the second half of statistics rests on one idea: if you repeated this process forever, how often would that happen? That is all probability is, a way of keeping the books for the long run. It is also the place where many people who are confident elsewhere quietly decide that math is not for them. Most often, that is because someone showed them a formula before showing them what it counts. This chapter goes the other way. We will count first and name the rules second, and we will work out every rule with math you can check on your fingers. By the end, you will be able to read a probability off a table, off a tree and off a sentence. Just as important, you will spot the three or four ways people get probability wrong in print every single day.

By the end of this chapter you can

  • Define a random process, an outcome, a sample space and an event, and list a sample space correctly.
  • Work out a probability for equally likely outcomes and use the complement rule.
  • State what a probability means, a long run relative frequency, and explain the law of large numbers.
  • Use the general addition rule and see when events are mutually exclusive.
  • Use the general multiplication rule and test whether two events are independent.
  • Use the complement of "none" to solve "at least one" problems.
  • Work out a conditional probability, read it correctly and explain why P(A|B) is not P(B|A).
  • Read joint, marginal and conditional probabilities off a two-way table, and build the matching tree diagram.

Section 1What probability is

The possible outcomes of flipping coins, laid out as a sample space
Reference. The outcomes of coin flips laid out in full. The complete list of what can happen is the sample space. Source and license: see the figure credits

Random processes, outcomes, and the sample space

A random process is any situation where you know the list of things that could happen but not which one will happen this time. Examples are a coin flip, a die roll, a customer who either renews a subscription or does not, and a machine part that either fails this month or does not. Each single thing that could happen is an outcome. The complete list of all possible outcomes, with no overlap and nothing left out, is the sample space, written S.

Listing the sample space is the most underrated skill in this chapter, because once you have it, most beginner problems become counting problems. Flip a coin twice, and the sample space is S = {HH, HT, TH, TT}. That is four outcomes, not three. People often write three, thinking "two heads, two tails, or one of each." That is a mistake worth making once and never again. HT and TH are truly different outcomes of the process, and merging them will quietly spoil every probability you work out afterward.

An event is any set of outcomes you care to name, which makes it a subset of the sample space. "At least one head" is the event {HH, HT, TH}, and "both flips match" is {HH, TT}. An event can hold one outcome, many outcomes, all of them (that is S itself) or none of them (the impossible event). We name events with capital letters, such as A and B.

The basic probability formula

Say every outcome in the sample space is equally likely, as with a fair coin, a fair die, a well shuffled deck or a name drawn blindly from a hat. Then probability is pure counting:

P(A) = (number of outcomes in A) ÷ (total number of outcomes in S)

The phrase equally likely carries the weight here. The formula is not a definition of probability. It is a shortcut that works only when the outcomes really can be swapped for one another. A weighted die, a survey where some people are more likely to reply and a deck someone has stacked all fail this test. For those, we get probabilities some other way: from data, from a model or from a longer record.

Three facts follow at once and are worth memorizing, because they are the sanity checks you will run on every answer for the rest of the book:

Worked example: rolling two fair dice

Roll a red die and a blue die. The trick is to keep them apart in your mind. Each of the 6 red faces can pair with each of the 6 blue faces, so S holds 6 × 6 = 36 equally likely outcomes, written as ordered pairs like (3, 5).

What is P(sum = 7)? Count the pairs that add up to 7: (1,6), (2,5), (3,4), (4,3), (5,2) and (6,1). That is 6 outcomes.

P(sum = 7) = 6 ÷ 36 = 1/6 ≈ 0.167

What is P(sum ≥ 10)? A sum of 10 comes from (4,6), (5,5) and (6,4), which is 3 outcomes. A sum of 11 comes from (5,6) and (6,5), which is 2 outcomes. A sum of 12 comes from (6,6), which is 1 outcome. The total is 3 + 2 + 1 = 6 outcomes, so P(sum ≥ 10) = 6/36 = 1/6 ≈ 0.167 as well.

What is P(sum is not 7)? Instead of counting 30 pairs, use the complement rule: P(not 7) = 1 − 1/6 = 5/6 ≈ 0.833. Whenever the event you want is messy and its opposite is tidy, flip to the complement.

SumWays it can happenProbabilityDecimal
211/360.028
322/360.056
433/360.083
544/360.111
655/360.139
766/360.167
855/360.139
944/360.111
1033/360.083
1122/360.056
1211/360.028
Total3636/361.000

Notice the last row. The probabilities of a complete list of outcomes that do not overlap always add up to exactly 1. That is not luck; it is P(S) = 1 showing up in a table. If your column does not add up to 1, you have either counted an outcome twice or lost one.

What a probability actually means

Saying P(sum = 7) = 0.167 does not promise you a seven in the next six rolls. It is a statement about the long run. If you rolled these dice ten thousand times, about 16.7% of the rolls would total seven, and the more you rolled, the closer that percentage would sit to 16.7%. This is the law of large numbers: the share of trials in which an event happens settles toward its true probability (converges) as the number of trials grows.

What the law of large numbers does not say is that the process "corrects" itself. Ten tails in a row do not make heads more likely on the eleventh flip, because the coin has no memory and P(heads) is still 0.5. The long run share drifts back toward 0.5 for another reason. Future flips do not make up the gap. Instead, ten flips is a tiny share of ten thousand, so the early surplus gets watered down, not paid back.

The gambler's fallacy is a misunderstanding of the long run. "It's due" is the belief that a random process owes you a correction. It does not. A fair coin that has landed tails ten times running is still a fair coin, and the eleventh flip is still 0.5. The same error wears a suit in other settings, as in "we've had three good quarters, so a bad one is overdue." If the trials are truly independent, the past tells you nothing about the next one.
Interactive Lay out every outcome of dice and coin experiments, mark the ones an event contains, and read the probability straight off the count, then roll it thousands of times and watch the observed proportion close in on the arithmetic. Open full ↑
Key points
  • The sample space S is the complete list of outcomes, with no overlap. An event is any subset of it.
  • For equally likely outcomes, P(A) = (outcomes in A) ÷ (outcomes in S).
  • Always 0 ≤ P(A) ≤ 1, P(S) = 1 and P(Ac) = 1 − P(A).
  • A probability is a long run relative frequency, not a promise about the next trial. Nothing is ever "due."

Section 2The addition rule

Venn diagram showing events dividing a sample space into regions
Reference. A Venn diagram of events inside a sample space. It is the picture that makes the addition rule obvious. Source and license: see the figure credits

"Or" means at least one of them

In everyday speech, "or" often means just one: "soup or salad" means pick one. In statistics, "or" always includes both (it is inclusive). The event "A or B" (the union, written A ∪ B) happens if A happens, if B happens or if both happen. Meanwhile, "A and B" (the intersection, A ∩ B) happens only when both occur together. Pin these two words down now, because every rule in this chapter is a sentence about one or the other.

The general addition rule is:

P(A or B) = P(A) + P(B) − P(A and B)

Why subtract? Draw two circles that overlap. When you add the area of circle A to the area of circle B, the lens shaped overlap gets counted twice, once inside each circle. Subtracting P(A and B) removes the extra copy. That is the whole content of the rule: add the pieces, then pay back the double count.

Mutually exclusive events

Two events are mutually exclusive (also called disjoint) when they cannot both happen on the same trial. In the picture, the circles do not touch. In symbols, P(A and B) = 0, and the moment that term is zero, the fix in the addition rule disappears:

If A and B are mutually exclusive: P(A or B) = P(A) + P(B)

So the "simple" addition rule is not a separate law to memorize. It is the general rule with a zero in it, so learn one formula, not two. Roll a single die. "A 1" and "a 2" are mutually exclusive, since a die cannot land on both at once. So P(1 or 2) = 1/6 + 1/6 = 2/6 = 1/3 ≈ 0.333.

The complement rule from Section 1 is the tidiest special case of all. A and Ac are mutually exclusive, and together they cover the whole sample space. So P(A) + P(Ac) = P(S) = 1, which rearranges to P(Ac) = 1 − P(A).

Worked example: one card from a standard deck

Draw one card from a well shuffled deck of 52 cards. Let H = "the card is a heart" and F = "the card is a face card" (jack, queen or king).

Use the general addition rule:

P(H or F) = 13/52 + 12/52 − 3/52 = 22/52 = 11/26 ≈ 0.423

Check it by brute force. 13 hearts plus the 9 face cards that are not hearts equals 22 cards, and it matches. Had you forgotten to subtract, you would have gotten 25/52 ≈ 0.481. That is wrong by three cards, the very three you counted twice.

RelationshipP(A and B)Rule for P(A or B)Example (one draw or roll)
Mutually exclusive= 0P(A) + P(B)Die shows "a 1" or "a 2" → 1/6 + 1/6 = 1/3
Overlapping> 0P(A) + P(B) − P(A and B)Card is "a heart" or "a face card" → 22/52
Complementary= 0, and union is all of SP(A) + P(Ac) = 1Card "is a heart" or "is not a heart" → 1.000
Mutually exclusive is not the same as independent. This is the most common mix up in the chapter, and the two ideas are close to opposites. Mutually exclusive means the events cannot happen together. Independent (Section 3) means knowing one happened tells you nothing about the other. Say A and B are mutually exclusive and both have a probability above zero. Then learning that A happened tells you a great deal, because it tells you B surely did not. So mutually exclusive events with a probability above zero are always dependent.
Interactive Drag the overlap between two events and an area-true Venn diagram resolves itself to match, while the sum P(A) + P(B) is taken apart to expose the shared outcomes being counted twice, and a live run of seeded draws settles onto the corrected answer and never onto the naive sum. Open full ↑
Key points
  • "A or B" is inclusive: it includes the case where both happen.
  • General addition rule: P(A or B) = P(A) + P(B) − P(A and B). The subtraction fixes the double count.
  • Mutually exclusive (disjoint) means P(A and B) = 0, which shrinks the rule to P(A) + P(B).
  • Mutually exclusive ≠ independent. Disjoint events with a probability above zero are strongly dependent.

Section 3The multiplication rule

Diagram contrasting independent and non-independent probability events
Reference. Independent versus dependent events: whether the first result changes the odds for the second. Source and license: see the figure credits

"And" means both, and both means multiply

Addition answers "or" questions, and multiplication answers "and" questions. The general multiplication rule is:

P(A and B) = P(A) × P(B|A)

Read it as a story in two steps. First A happens. Then, in the world where A has already happened, B happens. The symbol P(B|A) is the conditional probability of B given A, which Section 4 unpacks in detail. For now, read the vertical bar as the word "given" or "assuming."

Independent events

Two events are independent when knowing that one happened does not change the probability of the other. That is, P(B|A) = P(B). Put that into the general rule, and the condition drops out:

If A and B are independent: P(A and B) = P(A) × P(B)

Again, this is one rule with a shortcut, not two rules. And this equation runs both ways. It is the shortcut you use when events are independent, and it is also the test you use to decide whether they are. If P(A and B) equals P(A) × P(B), the events are independent. If it does not, they are dependent.

The most common everyday source of dependence is sampling without replacement. Draw a card, keep it and draw again. The second draw faces a deck of 51 cards, and what is left in it depends on the first card. Now draw a card, put it back, shuffle and draw again. The second draw faces the same 52 card deck as the first, so the draws are independent. It is the same deck and the same question, but a different answer, all because of whether the card went back.

Worked example: two hearts in a row

Without replacement. P(first card is a heart) = 13/52. Given that it was, only 12 hearts remain among 51 cards. So P(second is a heart | first was a heart) = 12/51.

P(both hearts) = (13/52) × (12/51) = (1/4) × (4/17) = 1/17 ≈ 0.0588

With replacement. The first card goes back and the deck is reshuffled, so the second draw faces a fresh deck of 52 cards:

P(both hearts) = (13/52) × (13/52) = (1/4) × (1/4) = 1/16 = 0.0625

Putting the card back raises the answer from 0.0588 to 0.0625. The gap is small here, but it widens fast as the sample grows compared with the population. As a working rule, say you are sampling less than about 10% of a population. Then the dependence is small enough that treating draws as independent is a fair approximation.

The "at least one" trick

Questions that begin "what is the probability of at least one…" are almost always complement problems in disguise. Counting "at least one" means counting one, two, three and so on separately, which is tedious. Counting the opposite, "none at all," takes a single multiplication. So:

P(at least one) = 1 − P(none)

Example. Roll a fair die four times. What is the probability of at least one six? On any single roll, P(not a six) = 5/6. The four rolls are independent, so P(no six in four rolls) = (5/6)4 = 625/1296 ≈ 0.4823. Therefore:

P(at least one six) = 1 − 625/1296 = 671/1296 ≈ 0.518

That is just over a coin flip. Note that the naive guess is wrong: "1/6 per roll, four rolls, so 4/6 ≈ 0.667." You can see why at once. By that logic, eight rolls would give 8/6 = 1.33, which is not a probability. Adding probabilities across repeated trials is the classic beginner error, and multiplying complements is the fix.

SetupIs P(B|A) = P(B)?Rule to useP(two hearts)
With replacementYes: independentP(A) × P(B)(13/52)(13/52) = 0.0625
Without replacementNo: dependentP(A) × P(B|A)(13/52)(12/51) = 0.0588
Two fair coin flipsYes: independentP(A) × P(B)(1/2)(1/2) = 0.25 for two heads
Card is king / card is heartYes: independentP(A) × P(B)(4/52)(13/52) = 1/52 = P(king of hearts)

That last row deserves a second look. On a single draw, "king" and "heart" are independent. P(king) × P(heart) = (1/13)(1/4) = 1/52, and there is exactly 1 king of hearts in 52 cards, so P(king and heart) = 1/52 too. The numbers agree, so the events are independent, even though both describe the very same card. Independence is a statement about probabilities, not about things being physically apart.

Multiplying probabilities that are not independent is how real people go to prison. The classic courtroom error takes several pieces of evidence and multiplies how rare each one is. Then it announces a tiny number that seems impossible. But if the traits are linked (correlated), and traits most often are, then P(B|A) is far bigger than P(B). Then the true joint probability is far bigger than the product. Before you multiply, always ask: does the first event change the odds of the second?
Interactive Draw a chip, then draw another: put the first back and the two draws are independent, keep it out and they are not; a live probability tree, a convergence curve, and a real simulation show the dependence is exactly 1/(Nโˆ’1) and costs you only spread, never accuracy. Open full ↑
Key points
  • General multiplication rule: P(A and B) = P(A) × P(B|A).
  • Independent means P(B|A) = P(B), which shrinks the rule to P(A) × P(B).
  • P(A and B) = P(A)P(B) is also the test for independence. If the two sides differ, the events are dependent.
  • Sampling without replacement creates dependence. "At least one" problems are solved as 1 − P(none).

Section 4Conditional probability

Diagram illustrating conditional probability as a restricted sample space
Reference. Conditional probability: the given event becomes the new, smaller sample space. Source and license: see the figure credits

Conditioning shrinks the sample space

A conditional probability answers a narrower question. It is not "how likely is A in general" but "how likely is A among the cases where B already happened." Rearranging the multiplication rule gives the definition:

P(A|B) = P(A and B) ÷ P(B),  provided P(B) > 0

The gut sense is worth more than the formula. Conditioning on B throws away every outcome where B did not happen, and it rebuilds the sample space out of what is left. The bottom number (denominator) is no longer "everything"; it is "everything inside B." The top number (numerator) counts the part of that smaller world where A also holds. Whenever you see a vertical bar, ask yourself one question: what is my denominator now?

Worked example: one roll of a fair die

Roll one fair die. Let A = "the roll is a 6" and B = "the roll is even."

With no condition, P(A) = 1/6 ≈ 0.167. Now condition on B. We have P(B) = 3/6 = 1/2 (the faces 2, 4 and 6). And P(A and B) = 1/6, since only the face 6 is both a six and even. So:

P(A|B) = (1/6) ÷ (1/2) = (1/6) × (2/1) = 2/6 = 1/3 ≈ 0.333

Check it by counting instead. Once you are told the roll is even, the live choices are {2, 4, 6}, and just one of those three is a six. That is one out of three. The formula and the counting agree, as they always will.

Now reverse the bar. P(B|A) = P(A and B) ÷ P(A) = (1/6) ÷ (1/6) = 1.000. If the roll is a 6, it is surely even. So P(A|B) = 0.333 while P(B|A) = 1.000. These are not the same number, and they are not the same question.

Question askedIn symbolsDenominator (the "given" world)Value
Roll is a 6P(A){1,2,3,4,5,6}: all six faces1/6 ≈ 0.167
Roll is a 6, given it is evenP(A|B){2,4,6}: three faces1/3 ≈ 0.333
Roll is a 6, given it is oddP(A|Bc){1,3,5}: three faces0/3 = 0.000
Roll is a 6, given it is > 3P(A|C){4,5,6}: three faces1/3 ≈ 0.333
Roll is even, given it is a 6P(B|A){6}: one face1/1 = 1.000

Dependence, independence, and the confusion of the inverse

Conditional probability gives the cleanest definition of independence there is. Events A and B are independent just when P(A|B) = P(A). The condition tells you nothing, so the probability does not budge. They are dependent when P(A|B) ≠ P(A). In the die example, P(A) = 0.167 but P(A|B) = 0.333. So "is a six" and "is even" are dependent, since knowing the roll is even doubles your belief that it is a six.

Compare a single card draw. Let K = "king" and H = "heart." P(K) = 4/52 = 1/13 ≈ 0.0769, and P(K|H) = 1/13 as well, since among the 13 hearts, just one is a king. The condition changed nothing, so K and H are independent. In the same way, P(K and H) = 1/52 = (1/13)(1/4) = P(K)P(H). Both tests always give the same verdict.

The mistake to guard against for the rest of your life is the confusion of the inverse. That means treating P(A|B) as if it were P(B|A), and it shows up everywhere. "Most people who own a private jet are wealthy" is not "most wealthy people own a private jet." "Nearly everyone in the hospital with this condition tested positive" is not "nearly everyone who tests positive has this condition." The two conditional probabilities can differ by orders of magnitude (powers of ten). Which one you need depends entirely on what you already know.

Two famous readings that are conditional probability errors. A p-value is P(data at least this extreme | the null hypothesis is true). It is not the probability that the null hypothesis is true, and it is not the probability that your results were a fluke. Those would need flipping the bar, which the p-value does not allow. In the same way, a 95% confidence interval is a statement about how the method behaves over the long run. If you repeated the study many times, about 95% of the intervals built this way would contain the true parameter. It is not a 95% chance that the parameter sits inside this one interval. The parameter is a fixed number, and this interval either caught it or it did not.
Interactive Build a screening test with live sliders, then condition on a positive result, a negative result, or the disease itself: a probability tree, a re-scaling bar, and a real seeded simulation show the denominator shrinking and the answer moving with it. Open full ↑
Key points
  • P(A|B) = P(A and B) ÷ P(B). Conditioning swaps the denominator for the given event.
  • Independence means P(A|B) = P(A). Dependence means the condition moves the number.
  • P(A|B) ≠ P(B|A) in general. Reversing the bar reverses the question.
  • A p-value is P(data | null true), not P(null true | data). A 95% CI describes the method over the long run, not this one interval.

Section 5Two-way tables and trees

Probability tree diagram for two successive coin tosses
Reference. A probability tree for two tosses in a row. Branches multiply along a path and add across paths. Source and license: see the figure credits

Reading probabilities off a two-way table

A two-way table (or contingency table) sorts a group of people by two categorical variables at once. It is the most useful object in this chapter, because every probability we have defined can be read straight off it. You never need a formula, only the right denominator.

Say 300 job applicants are sorted by whether they hold a professional certification and whether they got a job offer:

Received offerNo offerRow total
Certified9060150
Not certified45105150
Column total135165300

Three kinds of probability live in this table, and they differ only in what you divide by.

Joint probabilities use a single inner cell over the grand total. They give the chance of both things happening together:

Marginal probabilities use a row or column total over the grand total. They look at one variable and ignore the other. They are called marginal because they live in the margins of the table:

Conditional probabilities use a cell over a row or column total, because you have limited the world to one line of the table:

Look hard at the last two lines. P(offer | certified) = 0.600 and P(certified | offer) ≈ 0.667 come from the same cell, 90, but from different denominators. So they are different numbers that answer different questions. That is the confusion of the inverse, made visible.

The table also answers the other rules. Take the addition rule: P(certified or offer) = 0.500 + 0.450 − 0.300 = 0.650. Check it by counting cells: 90 + 60 + 45 = 195, and 195/300 = 0.650. Now take the independence test: P(certified)P(offer) = 0.500 × 0.450 = 0.225, but the actual joint probability is 0.300. Since 0.225 ≠ 0.300, certification and getting an offer are dependent in this group. The conditional probabilities say the same thing more vividly. At 0.600 versus 0.300, certified applicants got offers at twice the rate.

The same data as a tree

A tree diagram takes the same information and lays it out in time. The first set of branches splits on the first variable. Each branch in the second stage is conditional on the branch above it. Two rules govern trees, and they are just the multiplication and addition rules in different clothes:

Here is our applicant data as a tree. The branches in stage 1 are the marginal probabilities of certification. The branches in stage 2 are the conditional probabilities of an offer, given that certification status.

PathStage 1: certificationStage 2: offer, given stage 1Path probabilityCheck against counts
Certified → Offer0.5000.6000.500 × 0.600 = 0.30090/300 = 0.300
Certified → No offer0.5000.4000.500 × 0.400 = 0.20060/300 = 0.200
Not certified → Offer0.5000.3000.500 × 0.300 = 0.15045/300 = 0.150
Not certified → No offer0.5000.7000.500 × 0.700 = 0.350105/300 = 0.350
Total1.000300/300

The path probabilities add up to 1.000, which is your math check. A tree whose ends do not total 1 has an error in it.

Working the tree backwards

Adding across paths gives the law of total probability. To find the overall chance of an offer, collect every path that ends in an offer:

P(offer) = 0.300 + 0.150 = 0.450

That is exactly the marginal 135/300 we read off the table. Written out in full, it is P(offer) = P(cert)P(offer|cert) + P(no cert)P(offer|no cert) = (0.500)(0.600) + (0.500)(0.300) = 0.300 + 0.150 = 0.450.

Now comes the truly useful move: trees let you reverse the conditioning. Say you meet an applicant who got an offer, and you want the probability that they are certified. That is P(certified | offer), which runs the opposite way from the branches you were given. Use the definition of conditional probability. Take the top number from the one path with both features, and take the bottom number from the total you just worked out:

P(certified | offer) = 0.300 ÷ 0.450 = 2/3 ≈ 0.667

That matches 90/135 from the table. This reversal is the whole engine behind Bayes' rule, and you have just done it with nothing but division. The pattern is always the same: the path you care about, divided by all the paths that end the same way.

Whenever a percentage confuses you, ask "percent of what?" "Sixty percent of certified applicants got offers" and "sixty seven percent of people with offers were certified" are both true of this table. They sound almost the same, yet they have different denominators and support different conclusions. And note what none of these numbers prove. Certification and offers are associated here, but this table cannot tell you that certification caused the offers. The certified group may differ in experience, field or drive. Association is not causation, no matter how clean the math is.
Interactive Read joint, marginal, and conditional probabilities off a live contingency table: set the population with sliders, draw a real seeded sample, then tap any cell and watch the denominator shrink from the whole table to a single row or column. Open full ↑
Key points
  • Joint = cell ÷ grand total. Marginal = row or column total ÷ grand total. Conditional = cell ÷ row or column total.
  • Test independence from a table by comparing P(A and B) with P(A)P(B), or P(A|B) with P(A).
  • In a tree, multiply along a path and add across paths. All the path probabilities must add up to 1.
  • Reverse the conditioning by dividing the path you want by the sum of all paths with that ending. The law of total probability gives the denominator.

The chapter in one breath

  • The sample space is every possible outcome, and an event is a subset of it. For equally likely outcomes, probability is just counting: outcomes in A over outcomes in S.
  • Probabilities live between 0 and 1, add up to 1 over a complete list and mean a long run relative frequency. Nothing is ever "due."
  • The complement rule, P(Ac) = 1 − P(A), turns hard events into easy ones, most of all "at least one."
  • Addition rule: P(A or B) = P(A) + P(B) − P(A and B). The subtraction drops out only when the events are mutually exclusive.
  • Multiplication rule: P(A and B) = P(A) × P(B|A). The condition drops out only when the events are independent.
  • Mutually exclusive ≠ independent. Disjoint events with a probability above zero are in fact strongly dependent.
  • Conditional probability shrinks the denominator to the given event, and P(A|B) is not P(B|A). That error lies behind misread p-values and misread test results alike.
  • Two-way tables and trees hold every one of these rules at once. Joint, marginal and conditional probabilities differ only in what you divide by.

ReferenceWords worth knowing

These are the terms that will keep showing up for the rest of the book. Skim them now, and come back whenever a symbol stops making sense.

Addition rule
P(A or B) = P(A) + P(B) − P(A and B). The subtraction removes outcomes counted twice. It drops out when the events are mutually exclusive.
Complement
The event that A does not happen, written Ac. P(Ac) = 1 − P(A).
Conditional probability
The probability of A given that B has happened: P(A|B) = P(A and B) ÷ P(B). Conditioning swaps the denominator for the given event.
Contingency table (two-way table)
A table that sorts people by two categorical variables, with row, column and grand totals. Joint, marginal and conditional probabilities can all be read from it.
Dependent events
Events for which P(A|B) ≠ P(A). Knowing one happened changes the probability of the other.
Disjoint events
Another name for mutually exclusive events. They cannot both happen on the same trial, so P(A and B) = 0.
Event
Any set of outcomes from the sample space, most often named with a capital letter.
Independent events
Events for which P(A|B) = P(A), or in the same way P(A and B) = P(A)P(B). Knowing one tells you nothing about the other.
Intersection
The event that both A and B happen, written A ∩ B or "A and B."
Joint probability
The probability that two events happen together, P(A and B). On a two-way table, it is a single inner cell divided by the grand total.
Law of large numbers
As the number of independent trials grows, the share of trials in which an event happens settles toward its true probability. It does not mean that a process makes up for past imbalances.
Law of total probability
Breaking an event into mutually exclusive cases and adding them: P(B) = P(A)P(B|A) + P(Ac)P(B|Ac). On a tree, it is adding across all paths that end the same way.
Marginal probability
The probability of one event, ignoring the other, P(A). On a two-way table, it is a row or column total divided by the grand total.
Multiplication rule
P(A and B) = P(A) × P(B|A). It shrinks to P(A) × P(B) when the events are independent.
Mutually exclusive
Events that cannot happen on the same trial, so P(A and B) = 0. This is not the same as independent; in spirit, it is the opposite.
Outcome
A single possible result of one run of a random process.
Probability
A number between 0 and 1 that gives the long run relative frequency with which an event happens.
Random process
A situation whose set of possible outcomes is known, but whose result this time is not settled ahead of time.
Replacement (with and without)
Whether a picked item is put back before the next pick. With replacement, the draws are independent. Without replacement, they are dependent.
Sample space
The complete list of all possible outcomes of a random process, with no overlap, written S. All its probabilities add up to 1.
Tree diagram
A picture of a random process in stages, where you multiply probabilities along a path and add across paths. Branches in the second stage are conditional on the first.
Union
The event that A happens, B happens or both, written A ∪ B or "A or B." In statistics, "or" always includes both.

Check yourself

1. Define the sample space. Then list it for the process "flip a fair coin twice." How many outcomes are there, and what is the most common wrong answer?
The sample space is the complete list of possible outcomes, with no overlap: S = {HH, HT, TH, TT}, so there are 4 outcomes. The common error is answering 3 by merging HT and TH into "one of each." They are different outcomes of the process. Merging them makes "one head, one tail" look like 1/3 instead of its true 2/4 = 0.500.
2. A fair six sided die is rolled once. Find P(the roll is greater than 4), and state the rule you used.
P = 2/6 = 1/3 ≈ 0.333. The outcomes greater than 4 are {5, 6}. That is 2 outcomes that count, out of 6 equally likely ones. This is the basic formula P(A) = (outcomes in A) ÷ (outcomes in S).
3. Two fair dice are rolled. Show the work for P(sum = 7) and P(sum = 2). Why are these different when each sum is "one number"?
P(sum = 7) = 6/36 = 1/6 ≈ 0.167; P(sum = 2) = 1/36 ≈ 0.028. The sample space has 36 equally likely ordered pairs. Seven can be made six ways, (1,6), (2,5), (3,4), (4,3), (5,2) and (6,1), while two can be made only one way, (1,1). The equally likely units are the pairs, not the sums.
4. A fair coin is flipped three times. Find P(at least one head) without listing all eight outcomes.
P(at least one head) = 1 − (1/2)3 = 1 − 1/8 = 7/8 = 0.875. The complement of "at least one head" is "no heads at all," that is, TTT. Its probability is (1/2)(1/2)(1/2) = 1/8, because the flips are independent. Subtract that from 1.
5. One card is drawn from a standard deck of 52 cards. Work out P(heart or face card), showing every term.
P = 13/52 + 12/52 − 3/52 = 22/52 = 11/26 ≈ 0.423. There are 13 hearts and 12 face cards, but 3 cards (the jack, queen and king of hearts) are both. They were counted twice, so they must be subtracted once. Forgetting the subtraction gives 25/52 ≈ 0.481, which overcounts by just those 3 cards.
6. Are "the card is a heart" and "the card is a face card" mutually exclusive? Are "the card is a heart" and "the card is a spade"?
Heart and face card are not mutually exclusive, since 3 cards are both, so P(A and B) = 3/52 ≠ 0. Heart and spade are mutually exclusive, because no card has two suits, so P(A and B) = 0. For the second pair, the addition rule shrinks to 13/52 + 13/52 = 26/52 = 0.500.
7. Explain the difference between "mutually exclusive" and "independent." Can two events with a probability above zero be both?
Mutually exclusive means they cannot happen together: P(A and B) = 0. Independent means knowing one happened does not change the other's probability: P(A|B) = P(A). No, with probabilities above zero they cannot be both. If they are disjoint, then P(A|B) = 0, which cannot equal P(A) when P(A) > 0. Being disjoint is a very strong form of dependence, because learning that B happened tells you A surely did not.
8. Two cards are drawn without replacement. Find P(both are aces), and compare it with the answer if the first card were put back.
Without replacement: (4/52) × (3/51) = (1/13)(1/17) = 1/221 ≈ 0.00452. With replacement: (4/52) × (4/52) = (1/13)2 = 1/169 ≈ 0.00592. Without replacement, the second draw is conditional, since only 3 aces remain in 51 cards. So use P(A) × P(B|A). With replacement, the draws are independent, so use P(A) × P(B).
9. A fair die is rolled four times. Find P(at least one six). Why is "4 × 1/6" wrong?
P(at least one six) = 1 − (5/6)4 = 1 − 625/1296 = 671/1296 ≈ 0.518. Each roll has P(no six) = 5/6, and the rolls are independent. So P(no six at all) = (5/6)4 ≈ 0.482. Adding 1/6 per roll is wrong because it counts twice the rolls where more than one six turns up. It also breaks in plain sight at eight rolls, where it would give 8/6 = 1.33, an impossible probability.
10. Roll one fair die. Let A = "a 6" and B = "even." Work out P(A|B) and P(B|A), and explain why they differ.
P(A|B) = (1/6) ÷ (1/2) = 1/3 ≈ 0.333; P(B|A) = (1/6) ÷ (1/6) = 1.000. They differ because they have different denominators. Given "even," the live outcomes are {2, 4, 6}, and one of the three is a six. Given "a 6," the only live outcome is 6, which is surely even. Reversing the bar reverses the question; this is the confusion of the inverse.
11. Use the chapter's table of 300 applicants (certified: 90 offers, 60 none; not certified: 45 offers, 105 none). Find P(offer | not certified) and P(not certified | no offer). Then decide whether the two variables are independent.
P(offer | not certified) = 45/150 = 0.300. P(not certified | no offer) = 105/165 ≈ 0.636. They are not independent. Here is the independence test. P(certified)P(offer) = 0.500 × 0.450 = 0.225, but the observed joint probability is 90/300 = 0.300, and 0.225 ≠ 0.300. Put another way, P(offer | certified) = 0.600 while P(offer) = 0.450, so the condition moved the number. Note that the link does not by itself prove that certification caused the offers.
12. A coworker reads a study with p = 0.03 and says, "So there is only a 3% chance the null hypothesis is true, and a 95% chance the true value is inside their confidence interval." Correct both statements.
Both reverse the conditioning. A p-value is P(data at least this extreme | the null hypothesis is true), not P(null is true | data). And a 95% confidence interval describes how the method performs over the long run: about 95% of intervals built this way would catch the true parameter. A single interval either contains the fixed parameter or it does not, and no 95% chance is attached to that one interval. Both errors are the same mistake as treating P(A|B) as P(B|A).