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

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:
- Every probability satisfies 0 ≤ P(A) ≤ 1. A negative probability or a probability of 1.4 is a math error, full stop.
- P(S) = 1, because something in the sample space has to happen.
- The complement rule: P(Ac) = 1 − P(A). Here Ac ("A complement") is the event that A does not happen.
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.
| Sum | Ways it can happen | Probability | Decimal |
|---|---|---|---|
| 2 | 1 | 1/36 | 0.028 |
| 3 | 2 | 2/36 | 0.056 |
| 4 | 3 | 3/36 | 0.083 |
| 5 | 4 | 4/36 | 0.111 |
| 6 | 5 | 5/36 | 0.139 |
| 7 | 6 | 6/36 | 0.167 |
| 8 | 5 | 5/36 | 0.139 |
| 9 | 4 | 4/36 | 0.111 |
| 10 | 3 | 3/36 | 0.083 |
| 11 | 2 | 2/36 | 0.056 |
| 12 | 1 | 1/36 | 0.028 |
| Total | 36 | 36/36 | 1.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 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

"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).
- Hearts: 13 cards, so P(H) = 13/52 = 0.250.
- Face cards: 3 ranks × 4 suits = 12 cards, so P(F) = 12/52 ≈ 0.231.
- Both at once: the jack, queen and king of hearts, which is 3 cards. So P(H and F) = 3/52 ≈ 0.058.
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.
| Relationship | P(A and B) | Rule for P(A or B) | Example (one draw or roll) |
|---|---|---|---|
| Mutually exclusive | = 0 | P(A) + P(B) | Die shows "a 1" or "a 2" → 1/6 + 1/6 = 1/3 |
| Overlapping | > 0 | P(A) + P(B) − P(A and B) | Card is "a heart" or "a face card" → 22/52 |
| Complementary | = 0, and union is all of S | P(A) + P(Ac) = 1 | Card "is a heart" or "is not a heart" → 1.000 |
- "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

"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.
| Setup | Is P(B|A) = P(B)? | Rule to use | P(two hearts) |
|---|---|---|---|
| With replacement | Yes: independent | P(A) × P(B) | (13/52)(13/52) = 0.0625 |
| Without replacement | No: dependent | P(A) × P(B|A) | (13/52)(12/51) = 0.0588 |
| Two fair coin flips | Yes: independent | P(A) × P(B) | (1/2)(1/2) = 0.25 for two heads |
| Card is king / card is heart | Yes: independent | P(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.
- 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

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 asked | In symbols | Denominator (the "given" world) | Value |
|---|---|---|---|
| Roll is a 6 | P(A) | {1,2,3,4,5,6}: all six faces | 1/6 ≈ 0.167 |
| Roll is a 6, given it is even | P(A|B) | {2,4,6}: three faces | 1/3 ≈ 0.333 |
| Roll is a 6, given it is odd | P(A|Bc) | {1,3,5}: three faces | 0/3 = 0.000 |
| Roll is a 6, given it is > 3 | P(A|C) | {4,5,6}: three faces | 1/3 ≈ 0.333 |
| Roll is even, given it is a 6 | P(B|A) | {6}: one face | 1/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.
- 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

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 offer | No offer | Row total | |
|---|---|---|---|
| Certified | 90 | 60 | 150 |
| Not certified | 45 | 105 | 150 |
| Column total | 135 | 165 | 300 |
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:
- P(certified and offer) = 90/300 = 0.300
- P(not certified and no offer) = 105/300 = 0.350
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:
- P(certified) = 150/300 = 0.500
- P(offer) = 135/300 = 0.450
Conditional probabilities use a cell over a row or column total, because you have limited the world to one line of the table:
- P(offer | certified) = 90/150 = 0.600 (denominator: the 150 certified applicants)
- P(offer | not certified) = 45/150 = 0.300 (denominator: the 150 applicants who are not certified)
- P(certified | offer) = 90/135 ≈ 0.667 (denominator: the 135 applicants with offers)
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:
- Multiply along a path to get the probability of that complete path. (This is P(A) × P(B|A).)
- Add across paths that lead to the outcome you want. (This works because different paths are mutually exclusive.)
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.
| Path | Stage 1: certification | Stage 2: offer, given stage 1 | Path probability | Check against counts |
|---|---|---|---|---|
| Certified → Offer | 0.500 | 0.600 | 0.500 × 0.600 = 0.300 | 90/300 = 0.300 |
| Certified → No offer | 0.500 | 0.400 | 0.500 × 0.400 = 0.200 | 60/300 = 0.200 |
| Not certified → Offer | 0.500 | 0.300 | 0.500 × 0.300 = 0.150 | 45/300 = 0.150 |
| Not certified → No offer | 0.500 | 0.700 | 0.500 × 0.700 = 0.350 | 105/300 = 0.350 |
| Total | 1.000 | 300/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.
- 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.