Probability Axioms and Conditional Probability

Build probability on solid foundations. Describe experiments with sample spaces and events, count outcomes with permutations, combinations and story proofs, and derive the rules of probability from its axioms. Then learn to update probabilities with new information: conditional probability, the law of total probability, Bayes' rule and independence. Finish by solving the birthday problem, the Monty Hall problem and the gambler's ruin step by step.

IntermediateLesson 1 of 9 in Probability Theory Course

What you will learn

  1. Represent every possible result of a random experiment as a sample space, write events as sets of outcomes, and find probabilities by counting when all outcomes are equally likely.
    • Write sample spaces and events in set language
      List or describe the sample space of an experiment, express events as subsets, and translate words such as "or", "and", "not" and "at least one" into set operations.
    • Use the naive definition of probability correctly
      Compute probabilities as a ratio of counts when the sample space is finite and its outcomes are equally likely, and recognize when that condition fails.
  2. Count arrangements and selections with the multiplication rule, binomial and multinomial coefficients, and use those counts to compute probabilities for cards, committees and other equally likely outcomes.
    • Count with the multiplication rule and the sampling table
      Count sequences and selections with the multiplication rule, and choose the right formula according to whether order matters and whether items can repeat.
    • Correct for overcounting and prove identities with stories
      Divide out symmetric overcounting, count arrangements with repeated items using multinomial coefficients, and prove counting identities by counting the same set in two ways.
    • Compute probabilities for cards, committees and arrangements
      Set up an equally likely sample space, count the favorable outcomes with the same convention, and avoid the uneven overcounting that breaks many "at least one" counts.
  3. State the general definition of probability, derive the standard properties from the axioms, and apply inclusion–exclusion, including to the matching problem.
    • State the axioms and interpret probability
      Give the general definition of a probability function, check that a proposed assignment satisfies it, and explain the frequency and belief interpretations.
    • Derive and use the properties of probability
      Prove the complement rule, monotonicity and inclusion–exclusion from the axioms, and use them to compute and bound probabilities of unions and intersections.
    • Solve the matching problem with inclusion–exclusion
      Use symmetry and inclusion–exclusion to find the probability that a random arrangement has at least one item in its own place, and interpret the limit 1 − 1/e.
  4. Update probabilities when information arrives: define conditional probability, multiply along a sequence of events, split a problem with the law of total probability, reverse conditioning with Bayes' rule, and handle extra conditioning and Simpson's paradox.
    • Define and interpret conditional probability
      Compute the probability of an event given that another event has occurred, tell the two directions of conditioning apart, and use the fact that conditional probabilities obey all the rules of probability.
    • Multiply conditional probabilities along a sequence
      Find the probability that several events all occur by multiplying conditional probabilities in a convenient order, and connect this to tree diagrams.
    • Find probabilities with the law of total probability
      Split a hard probability into easier conditional pieces over a partition, and recognize the result as a weighted average.
    • Update beliefs with Bayes' rule
      Reverse the direction of conditioning with Bayes' rule, compute its denominator with the law of total probability, use the odds form, and avoid the base-rate and prosecutor's fallacies.
    • Condition on extra information and recognize Simpson's paradox
      Apply Bayes' rule and the law of total probability when every probability is already conditioned on some information, update in stages, and explain how combining groups can reverse a comparison.
  5. Test events for independence, use independence of many events to compute probabilities of "all" and "at least one", and keep independence separate from disjointness and from conditional independence.
    • Test two events for independence
      Decide by calculation whether two events are independent, use the consequences of independence, and distinguish independent events from disjoint ones.
    • Work with independence of many events
      Apply the definition of independence for three or more events, tell pairwise from mutual independence, and compute probabilities of "all" and "at least one" for independent events.
    • Distinguish independence from conditional independence
      Define conditional independence, show with examples that it neither implies nor follows from independence, and recognize where models assume it.
  6. Work through the birthday problem, the Monty Hall problem and the gambler's ruin with counting, conditioning and first-step analysis, stating the assumptions each answer depends on.
    • Solve the birthday problem
      Find the probability of a shared birthday in a group by counting through the complement, explain why the answer grows so quickly, and compare it with matching one particular birthday.
    • Analyze the Monty Hall problem
      Solve the game-show door problem with the law of total probability and Bayes' rule, state the host's rules that the answer depends on, and see how changing those rules changes the answer.
    • Solve the gambler's ruin with first-step analysis
      Set up a recursion for the probability that a gambler reaches a target before going broke by conditioning on the first round, solve it, and interpret the result for fair and unfair games.

Conditional Probability study guide

6 chapters

1

Describe outcomes and events

Probability starts with a clear description of what can happen. Record outcomes in enough detail to distinguish the possibilities, then describe the event you care about as a set. Set operations express combinations such as “at least one” and “none.” When the resulting outcomes are finite and equally likely, those descriptions turn directly into probabilities by counting favorable outcomes and comparing them with the whole space.

1.1 Sample spaces, events, and set operations

A random experiment produces one outcome. A sample space collects the possible outcomes, and an event collects the outcomes that satisfy a statement. Choosing what to record is the first modeling decision.

Describe the outcomes

For one die roll, S={1,2,3,4,5,6}. The event “the roll is even” is A={2,4,6}. If the result is 6, the outcome is the number 6 and the event A occurs because 6∈A. The singleton {6} is also an event; it contains one outcome.

A sample space can be finite, countably infinite, or uncountable. A die gives a finite space. Recording flips up to the first head gives {H,TH,TTH,…}, a countably infinite list. A waiting time measured in seconds can take any value in [0,∞), an uncountable space. These differences matter when probabilities are assigned.

For two flips, record the first and second results separately:

S={HH,HT,TH,TT}.

Here HT and TH are different outcomes. “At least one head” is {HH,HT,TH}, while “the flips match” is {HH,TT}. Labels distinguish results; fairness and independence, when present, make these four results equally likely.

Translate words into sets
WordsSetMeaning
Not AAcEvery outcome outside A
A or BA∪BIn A, in B, or in both
A and BA∩BIn both A and B
A implies BA⊆BEvery outcome in A is in B

The word “or” includes the overlap. Events are disjoint, or mutually exclusive, when A∩B=∅. They cannot occur together.

De Morgan's laws turn a negated combination into a combination of complements:

(A∪B)c=Ac∩Bc,(A∩B)c=Ac∪Bc.

For a three-component machine, “no component fails” means every component works. If Fj means component j fails, this is F1c∩F2c∩F3c. Its complement is “at least one component fails,” F1∪F2∪F3.

Keep “exactly one” separate from “at least one”

Let Aj mean flip j is heads. In three flips, “exactly one head” is the disjoint union

(A1∩A2c∩A3c)∪(A1c∩A2∩A3c)∪(A1c∩A2c∩A3).

Each piece names which flip is heads and requires the other two to be tails. Simply writing A1∪A2∪A3 would also include two or three heads.

A partition is a collection of pairwise disjoint events whose union is the whole space. Exactly one part occurs. For two dice, the six events specifying the first die's value form a partition: every ordered pair belongs to exactly one of them. Partitions will let us calculate a probability one case at a time.

Key Takeaways

  • An event is a set of outcomes; it occurs when the realized outcome belongs to that set.
  • Union includes the overlap; intersection requires both events.
  • De Morgan’s laws exchange unions and intersections when taking complements.
  • A partition covers the sample space with disjoint cases.
  • Labels distinguish outcomes; fairness and independence justify equal likelihood.

1.2 When counting gives a probability

Counting works when each outcome receives the same probability. The naive definition makes this precise: for a finite sample space of equally likely outcomes,

P(A)=∣A∣∣S∣.

The numerator counts favorable outcomes and the denominator counts all outcomes. The two counts must describe the same kind of object.

Check equal likelihood before dividing

A fair die has six equally likely faces, so the probability of an even result is 3/6=1/2. A well-shuffled deck makes each card equally likely at a specified position. A uniform random choice from a list makes each listed person equally likely. Each is a reason for equal likelihood, not just a convenient way to count.

For two independent fair dice, ordered pairs form an equally likely space with 6×6=36 outcomes. A sum of 7 occurs for

(1,6),(2,5),(3,4),(4,3),(5,2),(6,1).

Therefore P(sum 7)=6/36=1/6. A sum of 8 has five pairs, giving 5/36. Counting a list of possible values is useful only after checking their probabilities.

A valid sample space can still be unsuitable for naive counting

The possible sums 2,3,…,12 describe every result relevant to a sum question. But they do not have equal probabilities. There is one pair for a sum of 2 and six pairs for a sum of 7. The answer 1/11 incorrectly assigns equal weights to these 11 sums.

The same issue occurs when two fair flips are recorded as “0 heads,” “1 head,” or “2 heads.” The middle category contains HT and TH, while the others contain one ordered outcome each. Its probability is 1/2. Counting two favorable categories out of three would give 2/3 for “at least one head”; counting the ordered outcomes gives the correct 3/4.

This is a change in the level of detail. Grouping equally likely outcomes can produce groups of different sizes. The groups remain legitimate events, but their probabilities must reflect how many original outcomes they contain.

You can recover a grouped result's probability by adding the probabilities of the detailed outcomes it contains. In two fair flips, “one head” has probability P(HT)+P(TH)=1/4+1/4=1/2. A coarser description can save space, but its weights must be inherited from the experiment. If two categories each contain the same number of equally likely detailed outcomes, then those categories do have equal probabilities.

Use the easier count

An event's complement contains all the unfavorable outcomes. In a finite equally likely space,

P(Ac)=∣S∣−∣A∣∣S∣=1−P(A).

For two dice, the event “the dice differ” contains many pairs. Its complement consists of the six doubles: (1,1),…,(6,6). Hence

P(dice differ)=1−636=56.

Under this finite equal-probability model, only an empty event has probability 0, and only the whole space has probability 1. This follows because every individual outcome has positive probability 1/∣S∣. Infinite spaces and unequal probabilities require a more general definition; the ratio of counts does not extend by dividing one infinite size by another.

Key Takeaways

  • Use the ratio of counts only for a finite space of equally likely outcomes.
  • Grouped results, such as dice sums, may have different probabilities.
  • Count favorable and total outcomes using the same convention.
  • Count the complement when it is simpler.
2

Count selections and arrangements

Counting is a way to build a probability calculation before doing any division. The key decisions are whether order matters, whether objects may repeat, and whether several descriptions represent the same result. Permutations, combinations, and multinomial coefficients organize these choices. Card hands and group assignments make the distinctions concrete, while story proofs explain why apparently different counting formulas agree.

2.1 Order, replacement, and the sampling table

A counting formula depends on what makes two results different. Ask whether changing the order changes the result and whether an item can be used again. Those two decisions determine the sampling table.

Count a sequence of choices

The multiplication rule says that stages with a and b choices give ab results when every first-stage result allows exactly b second-stage choices. The identities of the later choices can depend on earlier choices; their number must be constant at that stage.

A four-digit PIN allows an initial zero. With repetition allowed, each position has 10 choices, giving 104=10,000 PINs. Without repeated digits, the successive counts are 10,9,8,7, so there are 5040. A uniform choice among all PINs has no repeated digit with probability 5040/10,000=0.504.

Choose the right row

For k choices from n distinct items:

Does order matter?Can items repeat?Count
YesYesnk
YesNon!/(n−k)!
NoNo(nk)=n!/[k!(n−k)!]
NoYes(n+k−1k)

The factorial n! counts orderings of n distinct objects, and 0!=1. Choosing more than n distinct items is impossible, so (nk)=0 when k>n.

From 10 people, a president, vice president, and treasurer can be chosen in 10×9×8=720 ways. Swapping president and treasurer changes the assignment. A three-person committee has (103)=120 choices, because swapping members does not change membership. Each committee appears 3!=6 times among the officer assignments.

Understand stars and bars

Unordered selection with replacement is equivalent to allocating k identical objects among n distinct boxes. Write one star per object and use n−1 bars to separate boxes. Empty sections represent empty boxes.

For five objects and three boxes, the string “|*|” represents counts 2, 1, and 2. There are seven positions containing five stars and two bars. Choosing the five star positions gives (75)=21 allocations. In general there are n+k−1 positions and k stars, producing (n+k−1k).

Consecutive bars represent empty boxes, and bars at either end allow the first or last box to be empty. For example, “|*||” uses five stars and three bars for four boxes with counts 0, 3, 0, and 2. Every allocation determines exactly one such string, and every string determines exactly one allocation. This one-to-one correspondence is what licenses the combination formula; no extra factor for the order of the identical stars is needed.

A count is not yet a probability model

Stars and bars counts possible allocations. It does not say those allocations are equally likely under repeated random draws. Two independent fair flips produce unordered results {H,H},{H,T},{T,T} with probabilities 1/4,1/2,1/4. The mixed result has two ordered histories.

Use the ordered space for uniform repeated sampling, or assign the correct weights to the unordered results. Choosing a combination count for the numerator and an ordered count for the denominator loses this connection between results and their probabilities.

Key Takeaways

  • The multiplication rule needs a fixed number of choices at each stage, not the same choices.
  • Order and repetition determine which sampling formula applies.
  • A committee count divides an ordered selection count by the number of internal orders.
  • Stars and bars counts allocations of identical objects to distinct boxes.
  • Unordered results from repeated random draws need not be equally likely.

2.2 Remove overcounting and count the same set twice

Some procedures create several descriptions of the same result. Correcting that count requires knowing exactly how often every result appears. A counting story can explain both the correction and an algebraic identity.

Divide only for uniform overcounting

If every desired result occurs exactly c times in a procedure, divide its count by c. For 10 people split into two unnamed teams of five, choosing one team gives (105)=252 choices. Each split is counted once from each side, so there are 252/2=126 splits.

If the teams are red and blue, selecting the red team identifies a unique result and the answer stays 252. If the teams have sizes three and seven, selecting the smaller team also identifies a unique result; there are (103)=120 splits. Different sizes already distinguish the groups.

For 12 people in three unnamed teams of four, choose successive teams and then remove the 3! ways of ordering the teams:

(124)(84)(44)3!=12!(4!)3 3!=5775.

The internal orders of people have already been removed by the combinations. The final division removes only the team order.

Count repeated types

A multinomial coefficient counts arrangements containing fixed numbers of repeated types:

n!n1!n2!⋯nr!,n1+⋯+nr=n.

Start by labeling all objects, count n! orders, then remove reorderings among identical objects of each type. “MISSISSIPPI” has one M, four I's, four S's, and two P's, so its distinct arrangements number 11!/(1!4!4!2!)=34,650. The same formula assigns distinct people to labeled groups of those sizes.

Give identities a story

A story proof counts one collection of objects in two ways. The identity (nk)=(nn−k) follows by choosing who is included or choosing who is excluded. These are two descriptions of each subset, paired one to one.

To count a team of k people with a designated captain from n people, choose the captain first, then the other members. This gives n(n−1k−1). Choose the team first and then its captain to get k(nk). Thus

n(n−1k−1)=k(nk).

For n=8 and k=3, both counts give 168.

The two procedures must agree about what constitutes an outcome. In the captain story, two teams with the same members but different captains are distinct results on both sides. Counting plain teams on one side and teams with captains on the other would not prove an identity, even if the formulas looked similar. Specifying the object first also exposes overcounting: every construction path should produce one of those objects, and its multiplicity must be tracked.

Split a selection into disjoint cases

Vandermonde's identity is

(m+nk)=∑j=0k(mj)(nk−j).

Choose k people from m statisticians and n engineers. On the right, j records the number of statisticians selected. Every committee belongs to exactly one case. With five statisticians, four engineers, and three places, the counts are 4+30+40+10=84=(93). Terms for impossible selections contribute zero.

The four terms in the example have separate meanings: zero statisticians gives (50)(43)=4; one gives (51)(42)=30; two gives (52)(41)=40; three gives (53)(40)=10. The group composition identifies the case uniquely, so adding the case counts neither repeats nor misses a committee.

Key Takeaways

  • Divide by a symmetry factor only when every desired outcome is counted equally often.
  • Group labels and unequal group sizes can remove a proposed symmetry.
  • Multinomial coefficients remove internal orders among repeated types.
  • A story proof counts the same collection in two ways.
  • Vandermonde’s identity separates selections by how many come from each group.
  • The team-captain identity counts the choice of a team and one of its members.

2.3 Count card hands and avoid uneven overcounting

For a counting probability, choose equally likely results, count the favorable results in the same form, and divide. Card hands show why the roles of selected items matter as much as the formulas.

Keep both counts consistent

A standard deck contains 52 cards: four suits, each with 13 ranks. In a well-shuffled deck every five-card hand is equally likely, giving (525)=2,598,960 hands.

For two hearts in the first two positions, ordered counting gives 13×12/(52×51)=1/17. Unordered counting gives (132)/(522)=1/17. Each unordered pair has two orders in both numerator and denominator, so the factor cancels. Using an unordered numerator with an ordered denominator would leave an unwanted factor of two.

Distinct roles or interchangeable roles?

A full house contains three cards of one rank and two of another. Choose the triple's rank, its suits, the pair's rank, and its suits:

13(43) 12(42)=13×4×12×6=3744.

The probability is 3744/2,598,960≈0.00144. The two ranks have different jobs, so selecting them in order is necessary: three kings and two sevens is a different hand type assignment from three sevens and two kings.

In two pair, the pair ranks have interchangeable jobs. Choose those ranks together, then their suits, then the remaining card from a third rank:

(132)(42)2(11)(4)=123,552.

Its probability is about 0.0475. Choosing the pair ranks in 13×12 ways would count every hand twice.

“At least one” needs care

The complement of “at least one ace in five cards” is “all five are non-aces.” There are 48 non-aces, so

P(at least one ace)=1−(485)(525)=1−1,712,3042,598,960≈0.341.

Choosing one ace in four ways and then any four other cards gives 4(514) descriptions, not distinct favorable hands. A two-ace hand appears twice because either ace could be designated first; a three-ace hand appears three times. There is no constant divisor that repairs this uneven overcounting.

For an exact number of aces, build disjoint categories. Exactly two aces has probability

(42)(483)(525)≈0.0399.

The second factor requires three non-aces, preventing extra aces from entering.

Summing exact categories provides a second valid route to “at least one ace.” For each r=1,2,3,4, choose r aces and 5−r non-aces, then add those four counts. A hand cannot belong to two exact-ace categories, so the sum counts every favorable hand once. This explains the difference from designating one ace: the exact categories are disjoint, while the designation procedure produces several descriptions within one category.

Use position symmetry

Each card is equally likely to occupy any fixed position in a shuffled deck. The second card is therefore an ace with probability 4/52=1/13, as is the last card. This is an unconditional statement: learning the identity of earlier cards can change the probability. The position alone does not favor any rank.

Key Takeaways

  • Use equally likely hands or ordered deals consistently in numerator and denominator.
  • Full-house ranks have different roles; the two pair ranks are interchangeable.
  • The complement counts “at least one” without designating an arbitrary special card.
  • Exactly two aces requires the remaining cards to be non-aces.
  • Every fixed card position has the same unconditional rank probabilities.
3

Derive probability from its axioms

The axioms define probability beyond finite equally likely experiments. They allow unequal weights and infinite spaces while preserving the rules needed for calculation. By dividing events into disjoint pieces, you can derive complements, monotonicity, and inclusion–exclusion. The matching problem then shows how a whole family of overlapping events can be handled exactly and why its probability settles near a surprising constant.

3.1 Probability functions and the axioms

A probability function assigns a number to an event. Equal likelihood is one possible assignment, but loaded dice and infinite experiments need a definition that does not depend on counting a finite list.

State the axioms

A probability space has a sample space S, a collection of events, and a function P satisfying:

  1. P(A)≥0 for every event A.
  2. P(S)=1.
  3. For pairwise disjoint events A1,A2,…,
P(⋃j=1∞Aj)=∑j=1∞P(Aj).

The third axiom is countable additivity. It requires disjoint events, so no outcome is counted twice. It also gives finite additivity by making all later events empty. Applying additivity to S and the empty event gives 1=1+P(∅), hence P(∅)=0. Splitting S into A and Ac then gives P(A)≤1. Thus the equivalent formulation “probabilities lie in [0,1], the empty event has probability 0, the whole space has probability 1, and countable additivity holds” describes the same rules.

For finite or countably infinite spaces, every subset can be an event. On an uncountable space, the event collection contains S and is closed under complements and countable unions. A length-based probability on [0,1] cannot consistently cover every subset, so the event collection matters.

Check an assignment

For finitely many outcomes, nonnegative weights summing to 1 define a valid probability function by adding weights within an event. A loaded die with weight 0.25 on face 6 and 0.15 on each other face has total 0.25+5(0.15)=1. Its even-event probability is 0.15+0.15+0.25=0.55. Dividing three even faces by six would ignore the unequal weights.

For independent fair flips ending at the first head, the probability of stopping on flip n is 2−n. The geometric series sums to 1. Stopping on an even-numbered flip is a union of disjoint stopping events, so

∑m=1∞2−2m=1/41−1/4=13.

The naive finite model is recovered by assigning each of m=∣S∣ outcomes weight 1/m. An event with r outcomes has total weight r/m. Disjoint events contain different outcomes, so their weights add without duplication. This verifies the axioms from the underlying count and shows that the equal-count formula is a special probability function, not an additional competing definition for all experiments.

Interpret the numbers

The frequentist interpretation reads probability as a long-run proportion in repeated experiments. The Bayesian interpretation reads it as a degree of belief, including for a one-time event. Both obey the same axioms.

Probability 0 need not mean an event is impossible. For a point chosen uniformly from [0,1], each fixed point has probability 0, but a point is selected. Countable additivity does not permit summing over all these uncountably many singleton events. In a finite space where every outcome has positive weight, a zero-probability event is empty; the uniform interval is a different model.

Key Takeaways

  • Probability assigns weights to events and satisfies nonnegativity, normalization, and countable additivity.
  • Countable additivity applies to disjoint events.
  • Finite nonnegative outcome weights summing to 1 define a probability model.
  • Frequency and belief interpretations follow the same mathematical rules.
  • A nonempty event can have probability 0 in an infinite model.
  • An uncountable space needs a specified collection of admissible events.

3.2 Derive complements, unions, and bounds

The usual probability rules come from splitting sets into disjoint pieces. A proof should identify those pieces before applying additivity. This keeps overlaps visible and shows exactly why a subtraction is needed.

Complements and subsets

Since A and Ac partition S, additivity gives P(A)+P(Ac)=1. Therefore P(Ac)=1−P(A).

If A⊆B, split B into A and B∩Ac. These pieces are disjoint, so

P(B)=P(A)+P(B∩Ac)≥P(A).

This is monotonicity. For example, every outcome with exactly two heads also has at least two heads. The exact-count event cannot have the larger probability.

Correct the overlap

The union A∪B splits into A and the part of B outside A. Since P(B∩Ac)=P(B)−P(A∩B),

P(A∪B)=P(A)+P(B)−P(A∩B).

With P(A)=0.6, P(B)=0.5, and P(A∩B)=0.3, the union is 0.8. Neither occurs with probability 0.2. Exactly one occurs with probability 0.8−0.3=0.5. Subtracting the overlap once gives the union; removing it a second time excludes outcomes where both occur.

Bound what is not known

A union contains each event, while the overlap has nonnegative probability. Hence

max⁡(P(A),P(B))≤P(A∪B)≤P(A)+P(B).

A probability also cannot exceed 1. Rearranging the union formula gives

P(A∩B)≥P(A)+P(B)−1.

If the marginal probabilities are 0.6 and 0.5, the overlap is at least 0.1. No independence assumption is needed. For any finite family, the union bound is P(⋃iAi)≤∑iP(Ai). It remains useful even when the exact overlaps are unknown.

An upper bound can exceed 1 without invalidating the model: it simply gives a loose estimate. If three possible error events each have probability 0.4, the union bound gives 1.2, which can be tightened to 1 using normalization. You cannot report 1.2 as the probability. To get an exact value, more information about overlaps is needed. Independence would be one possible extra property, but the bound itself remains valid for any overlap structure.

Extend inclusion–exclusion

For three events, add singles, subtract pairs, and add the triple:

P(A∪B∪C)=P(A)+P(B)+P(C)−P(A∩B)−P(A∩C)−P(B∩C)+P(A∩B∩C).

An outcome in all three is added three times and subtracted three times. Adding the triple intersection restores its required single count. For more events the signs continue to alternate.

Choose an integer uniformly from 1 through 100. To count divisibility by 2, 3, or 5, the single counts are 50, 33, and 20. The pair counts are 16 multiples of 6, 10 of 10, and 6 of 15; there are 3 multiples of 30. The union count is 50+33+20−16−10−6+3=74, so the probability is 0.74. Stopping after the pair subtractions would omit the correction for multiples of 30.

Key Takeaways

  • Derive probability rules by identifying disjoint set pieces.
  • Monotonicity says a subset cannot have greater probability than its containing event.
  • The two-event union formula subtracts the overlap once.
  • The union bound requires no independence.
  • Three-event inclusion–exclusion adds the triple intersection back.
  • The marginal probabilities force an overlap of at least P(A) + P(B) − 1.

3.3 The matching problem

Shuffle cards labeled 1 through n into a uniformly random order. A match occurs when card j occupies position j. To find the probability of at least one match, account for the overlaps between these events.

Count specified matches

Let Aj be the event of a match at position j. Each card is equally likely to occupy that position, so P(Aj)=1/n. These events are not disjoint: the original ordering matches everywhere.

There are n! equally likely permutations. Requiring a particular set of k positions to match fixes those cards. The remaining n−k cards can occupy the other positions in (n−k)! ways, so

P(matches at all k specified positions)=(n−k)!n!.

This condition allows additional matches elsewhere. Inclusion–exclusion needs intersections, not events with exactly k matches.

Combine the intersections

There are (nk) sets of k positions. Their contribution at that level is

(nk)(n−k)!n!=1k!.

The alternating signs give

P(at least one match)=1−12!+13!−⋯+(−1)n+1n!.

For three cards, the six permutations are 123, 132, 213, 231, 312, and 321. Only 231 and 312 have no match. Thus the probability is 4/6=2/3, agreeing with 1−1/2+1/6. For four cards the next subtraction gives 2/3−1/24=5/8=0.625.

For four cards, the exact match counts also show how the intersections differ from exact categories. All four match in one permutation; exactly three matches are impossible because the fourth position would then be forced. Exactly two matches can be chosen in (42)=6 ways, with the remaining two cards swapped. Exactly one match has four choices of the fixed position and two no-match orders of the remaining three, giving eight permutations. The remaining 24−1−6−8=9 have no matches. Hence at least one match has probability 15/24=5/8.

Recognize the limit

The exponential series at x=−1 is

e−1=1−1+12!−13!+⋯ .

Subtracting it from 1 shows that the match probability tends to 1−e−1≈0.632. The probability of no match tends to e−1≈0.368. Already at six cards the match probability rounds to 0.632.

Adding more positions creates more opportunities for a match, but each specified match has probability 1/n. The competing effects make the overall probability nearly stable for large n; it does not grow toward certainty.

Why a product of complements fails

Treating match events as independent would give 1−(1−1/n)n. At four cards that is about 0.684, above the correct 0.625. The arrangement constraint links positions. For instance, if all but one position match, the last position must match too. Adding the individual match probabilities would instead give 1 and ignore overlapping matches.

Randomly returned hats and uniformly shuffled name assignments have the same structure. Identify the intended recipient with the corresponding position, then define a match before counting. The reasoning depends on a uniform permutation, not on independent choices of recipients.

Key Takeaways

  • Fixing k specified matches leaves (n − k)! permutations.
  • Inclusion–exclusion yields the alternating factorial sum for at least one match.
  • The large-n match probability approaches 1 − 1/e.
  • Match events overlap and are dependent.
4

Calculate with conditional information

Information changes the reference group for a probability. The conditional probability definition leads to multiplication along a sequence, averaging across cases, and reversing a conditional with Bayes’ rule. Each method has a different job in the same calculation. Updating twice and comparing pooled groups then reveal why the background information and the weights attached to each case must remain visible throughout the reasoning.

4.1 Conditional probability changes the reference event

Information can change the set of outcomes relevant to a question. Conditional probability measures an event within a known event, preserving the original probability weights and then rescaling the total to 1.

Define the conditional probability

For P(B)>0,

P(A∣B)=P(A∩B)P(B).

The condition is to the right of the bar. The numerator keeps outcomes satisfying both statements; the denominator restricts attention to B. Before learning B, P(A) is the prior. Afterward, P(A∣B) is the posterior.

For a fair die, P(6∣even)=(1/6)/(1/2)=1/3. In repeated rolls, this is the long-run proportion of sixes among the even results. For a finite equally likely space, the same calculation is ∣A∩B∣/∣B∣. For general spaces, work with probabilities of events; individual outcomes need not carry positive probability.

The exact condition matters

Two cards are dealt from a well-shuffled standard 52-card deck. Given at least one ace, there are

(522)−(482)=1326−1128=198

possible unordered hands. Six contain two aces, so P(both aces∣at least one ace)=6/198=1/33.

Given that the hand contains the ace of spades, the other card is one of 51 possibilities, three of which are aces. This gives 3/51=1/17. The conditions select different collections of hands. “At least one ace” allows a one-ace hand of any suit; specifying one particular ace changes the relative share of two-ace hands.

Keep the direction straight

For one fair die, P(even∣6)=1 because six is even. But P(6∣even)=1/3. The two fractions share an intersection numerator and have different denominators. A high probability of evidence given a hypothesis need not mean a high probability of that hypothesis given the evidence.

For a fixed positive-probability B, the assignment Q(A)=P(A∣B) is itself a probability function. It gives Q(S)=1, nonnegative values, and additive probabilities for disjoint events. Consequently,

P(Ac∣B)=1−P(A∣B),

and the union formula also holds with B added as a condition throughout.

To see additivity inside the new model, take disjoint events A1,A2,…. Their intersections with B remain disjoint. Adding their original probabilities and dividing by the fixed positive number P(B) gives

P(⋃iAi∣B)=∑iP(Ai∩B)P(B)=∑iP(Ai∣B).

Also P(S∣B)=P(B)/P(B)=1. These facts explain why the usual rules can be reused within the condition.

Complement the event, not the condition

If the chance of a six among even rolls is 1/3, the chance of not-six among those same even rolls is 2/3. Changing the condition to odd rolls gives P(6∣odd)=0, not 2/3. The complement rule holds within one fixed reference event; it does not compare different reference groups.

The ratio definition does not define conditioning on an event of probability 0. Also, replacing its numerator by P(A)P(B) requires independence. Conditional probability itself makes no such assumption.

Key Takeaways

  • Conditional probability is the intersection probability divided by the condition probability.
  • The condition must have positive probability for the ratio definition.
  • Different information can select different reference groups.
  • Reversing the conditioning generally changes the answer.
  • Probability rules hold with one fixed condition throughout.

4.2 Multiply along a sequence of events

To find the probability that several events all occur, follow a path through the experiment. At each stage use the probability of the next event given the earlier events on that path.

Rearrange the definition

The conditional probability formula gives

P(A∩B)=P(A)P(B∣A)=P(B)P(A∣B).

The intersection is symmetric even when the two conditionals differ. Choose the order whose factors are easier to find. This multiplication rule does not require independence.

For three events, apply the two-event rule twice:

P(A∩B∩C)=P(A)P(B∣A)P(C∣A∩B).

The chain rule continues this pattern for any finite sequence, provided the conditioning events have positive probability. Each new factor retains the whole earlier history. Replacing the final factor by P(C∣B) needs a further justification; the history A may still affect the chance of C.

Draw without replacement

An urn holds five red and three blue balls. Draw three without replacement. For all red, the first probability is 5/8. After a red, four red balls remain among seven. After two reds, three remain among six. Hence

P(all red)=584736=60336=528≈0.179.

Unordered counting agrees: (53)/(83)=10/56=5/28. Using (5/8)3 would describe draws with unchanged color proportions, not this experiment. Without replacement, a successful draw changes both the numerator and denominator of the next factor.

Read a probability tree

A branch label is a conditional probability given its earlier path. Multiply branch labels to obtain a complete path's probability. Add probabilities of different complete paths when they form the target event, because those paths are disjoint.

In the urn example, exactly two reds can occur as RRB, RBR, or BRR. Each path has probability 60/336=5/28; adding gives 15/28. The three paths are distinct sequences, even though they describe the same final color counts. In this without-replacement model their equal probabilities come from multiplying the same factors in different orders.

For instance, the RBR path has factors 5/8, 3/7, and 4/6. After one red and one blue, there are four reds left among six balls. The BRR path has factors 3/8, 5/7, and 4/6. Both products equal the RRB path's 5/28. Adding them agrees with the unordered count (52)(31)/(83)=30/56=15/28. The tree remembers order; the combinations remove it consistently from both counts.

Choose a useful order

An intersection can be factored in reverse order as P(C)P(B∣C)P(A∣B∩C). A chronological order is often convenient, but chronology is not part of the theorem.

For distinct birthdays under independent uniform 365-day sampling, order the people. The first imposes no restriction; the second must avoid one day; the third must avoid two. The path probability is 1×364/365×363/365×⋯. Independence of the people's original birthdays does not make the successive “avoids previous birthdays” probabilities identical: the forbidden set grows along the path.

Key Takeaways

  • The chain rule multiplies probabilities conditioned on the full earlier history.
  • Without replacement, the remaining counts change at each draw.
  • Multiply along a tree path and add disjoint target paths.
  • An intersection can be factored in any order that makes the conditionals accessible.

4.3 Split a probability into weighted cases

A probability may be difficult because a hidden fact has not been observed. If knowing that fact would make the problem easy, split the experiment into its possible cases and weight each conditional answer by its case probability.

Derive the law of total probability

Let B1,…,Bn partition the sample space, with positive probabilities. The event A is the disjoint union of A∩Bi. Additivity and the multiplication rule give

P(A)=∑i=1nP(A∩Bi)=∑i=1nP(A∣Bi)P(Bi).

This is the law of total probability, or LOTP. The two-case form is

P(A)=P(A∣B)P(B)+P(A∣Bc)P(Bc).

The weights sum to 1. The answer is therefore a weighted average of the conditional probabilities and lies between their minimum and maximum.

Weight production rates

A randomly selected phone comes from plants A, B, and C with probabilities 0.5, 0.3, and 0.2. Their defect rates are 0.01, 0.02, and 0.03. Split by plant:

P(defective)=(0.01)(0.5)+(0.02)(0.3)+(0.03)(0.2)=0.005+0.006+0.006=0.017.

The unweighted average 0.02 gives every plant an equal share, contradicting the production mix. Plant A's larger weight pulls the total closer to its lower defect rate. The two equal contributions from B and C come from different combinations of production share and defect rate.

Choose a useful partition

A fair coin or a coin with head probability 3/4 is selected, each with probability 1/2. Before the coin is identified,

P(H)=1212+1234=58.

The unknown coin is a helpful partition because each within-coin probability is known. More generally, condition on which machine, source, door, or first move would make the target probability accessible.

The conditions must be disjoint and exhaustive. Splitting cards into “red” and “hearts” would overlap and omit black cards. Splitting them into “hearts” and “not hearts” is a partition. A missing case loses probability; an overlap counts some outcomes more than once.

LOTP can also determine an unknown weight. If two sources have target rates 0.1 and 0.4 and the observed overall rate is 0.22, let w be the share from the higher-rate source. Then 0.22=0.4w+0.1(1−w), so 0.12=0.3w and w=0.4. The remaining share is 0.6. The equation is the same weighted average; only the unknown changes from the overall rate to the source mixture.

Recover a symmetry result

For two cards from a shuffled standard deck, partition by whether the first is an ace:

P(second ace)=452351+4852451=12+1922652=113.

The chance of the second ace changes within each case, but averaging those changes recovers the unconditional symmetry result. Conditioning on a helpful event is a calculation device even when that event has not actually been observed.

Key Takeaways

  • LOTP sums joint contributions over a disjoint, exhaustive partition.
  • Each contribution is a conditional probability multiplied by its case weight.
  • The result is a weighted average, bounded by the smallest and largest conditional probabilities.
  • Choose the hidden fact that would make the target probability easy to compute.
  • Overlapping or missing cases invalidate the sum.

4.4 Reverse conditioning with Bayes’ rule

A model often gives the chance of evidence under a hypothesis, while the question asks for the chance of the hypothesis after seeing that evidence. Bayes' rule connects these directions and includes how common the hypothesis was beforehand.

Derive the update

Write the joint probability in two ways:

P(A∣B)P(B)=P(B∣A)P(A).

For P(B)>0 this gives Bayes' rule,

P(A∣B)=P(B∣A)P(A)P(B).

The likelihood P(B∣A) weights the prior P(A). The denominator is the total probability of the evidence, usually found with LOTP:

P(B)=P(B∣A)P(A)+P(B∣Ac)P(Ac).
Read a test result

In a population with 1% prevalence of a condition, a test has 95% sensitivity and 95% specificity. Sensitivity is P(+∣D); specificity is P(−∣Dc), so the false-positive rate is 5%. The positive probability is

P(+)=(0.95)(0.01)+(0.05)(0.99)=0.059.

Thus P(D∣+)=0.0095/0.059=19/118≈0.161. In a model population of 10,000, there are 100 affected people and 95 true positives. Among 9,900 unaffected people there are 495 false positives. The 590 positives include 95 affected people.

Using 95% as the posterior confuses the direction of conditioning and ignores the base rate, the initial prevalence. Even a small false-positive rate can contribute many positives when the unaffected group is much larger.

Update odds

The odds of A are O(A)=P(A)/P(Ac). Bayes' rule in odds form is

O(A∣B)=P(B∣A)P(B∣Ac)O(A).

The ratio of likelihoods is the likelihood ratio. Here prior odds are 1/99, the ratio is 19, and posterior odds are 19/99. Convert odds to probability by dividing favorable weight by total weight: 19/(19+99). The odds themselves are not the posterior probability.

For several hypotheses, normalize all joint contributions. With plant shares 0.5, 0.3, 0.2 and defect rates 0.01, 0.02, 0.03, the contributions are 0.005, 0.006, 0.006. Given a defect, the plant probabilities are 5/17,6/17,6/17, which sum to 1.

The odds formula follows by dividing two Bayes updates with the same evidence denominator:

P(A∣B)P(Ac∣B)=P(B∣A)P(A)P(B∣Ac)P(Ac).

The evidence probability cancels, leaving the likelihood ratio and prior odds. A likelihood ratio greater than 1 increases the odds; one below 1 decreases them; one equal to 1 leaves them unchanged. Equal evidence likelihoods supply no preference between the two hypotheses, even if the evidence itself is rare under both.

Avoid reversing a small likelihood

The prosecutor's fallacy treats a rare evidence pattern under innocence as an equally rare chance of innocence after that evidence. In a simplified source model, one of 2,000,000 equally plausible people produced a profile; the source always matches, and each non-source matches with probability 10−6. For a particular matching person, Bayes gives 1/[1+1,999,999(10−6)]≈1/3 for being the source.

Key Takeaways

  • Bayes’ rule reverses conditioning using the prior and the total evidence probability.
  • Sensitivity and specificity condition on true status; a posterior conditions on the test result.
  • Rare hypotheses can remain unlikely after evidence with a high likelihood.
  • Posterior odds equal prior odds multiplied by the likelihood ratio.
  • Posteriors over an exhaustive hypothesis partition sum to 1.
  • A small evidence probability under innocence is not the posterior probability of innocence.

4.5 Update in stages and compare groups fairly

New information does not erase earlier information. The same probability rules apply inside an already conditioned model. This lets us update in stages and explain why pooled comparisons can differ from comparisons within groups.

Keep the background condition throughout

For a background event E, the notation P(A∣B,E) means P(A∣B∩E). Bayes' rule becomes

P(A∣B,E)=P(B∣A,E)P(A∣E)P(B∣E).

LOTP becomes P(A∣E)=∑iP(A∣Bi,E)P(Bi∣E). The case weights must describe the population after learning E. Using the old unconditional weights would average over the wrong population. All conditioning events used in ratios must have positive probability.

Use a posterior as the next prior

In the 1%-prevalence test model with sensitivity and specificity both 95%, one positive gives posterior odds 19/99. Suppose a second result is positive and the results are conditionally independent given true status. The second likelihood ratio is again 19, giving odds 361/99 and probability

P(D∣+,+)=361460≈0.785.

Directly, the same result is

0.01(0.95)20.01(0.95)2+0.99(0.05)2.

The independence assumption is conditional on status. In general the second likelihood must itself condition on the first result. Sequential updating remains valid even when the evidence pieces are dependent; using the same likelihood ratio twice may then be invalid.

For two observations B and C, the unnormalized weight for A is P(C∣A,B)P(B∣A)P(A). Updating first on B puts the factor P(B∣A)P(A) into the posterior; updating on C then multiplies by P(C∣A,B). The final normalization gives the same result as the joint likelihood P(B∩C∣A). Conditional independence simplifies that likelihood, but is not needed for the equivalence of the two update orders.

See a pooled reversal

Simpson's paradox occurs when comparisons within every subgroup reverse after pooling. Consider these success counts:

ClinicDifficult casesRoutine casesAll cases
X60 of 80: 75%19 of 20: 95%79 of 100: 79%
Y10 of 20: 50%75 of 80: 93.75%85 of 100: 85%

X has the higher observed rate for each type, while Y has the higher overall rate. The totals are not contradictory: they use different case mixes.

Explain the weights

Within clinic X, the difficult-case weight is 0.8; within Y, it is 0.2. LOTP gives

P(success∣X)=0.75(0.8)+0.95(0.2)=0.79, P(success∣Y)=0.50(0.2)+0.9375(0.8)=0.85.

X's average is pulled toward its difficult-case rate because it handles more difficult cases. If both clinics had the same subgroup weights, X's higher rates in each subgroup would give the higher weighted average.

Comparing the same case type favors X descriptively in these data. The counts alone do not establish that X causes better outcomes; patients may differ in other ways. If case type is the main factor affecting both clinic choice and success, the within-type comparison is more informative. The question being asked and the information about how groups were formed determine which comparison is useful.

Key Takeaways

  • Keep background information in every conditional probability and every case weight.
  • Sequential updating agrees with updating on the combined evidence.
  • Reusing a likelihood ratio requires the appropriate conditional independence.
  • Pooling can reverse subgroup comparisons when subgroup weights differ.
  • Descriptive rates alone do not establish a causal advantage.
5

Establish independence

Independence allows some conditional probabilities to be replaced by ordinary probabilities. The product definition gives a precise test and explains why disjointness is a different property. For several events, pairwise checks leave some relationships untested. Hidden states and selected groups add another layer: events may be independent within a group and dependent overall, or independent overall and dependent after conditioning.

5.1 Test independence with the product definition

Two events are independent when their joint probability equals the product of their individual probabilities. The definition concerns the probability model; a verbal impression that two events are unrelated is not a proof.

Apply the definition

Events A and B are independent if

P(A∩B)=P(A)P(B).

When P(B)>0, dividing both sides by P(B) gives the equivalent condition P(A∣B)=P(A). Learning B does not change the chance of A. The product definition is more general because it also covers zero-probability events, where the ratio is undefined.

Roll two independent fair dice. Let A mean “the first die is 6” and B mean “the sum is 7.” Each has probability 1/6. Both occur only for (6,1), so P(A∩B)=1/36=P(A)P(B). The events are independent even though the sum uses the first die.

Now let C mean “the sum is 12.” Its probability is 1/36, and A∩C consists of (6,6). The joint probability 1/36 differs from the product 1/216, so A and C are dependent. What matters is the specified event, not just the physical quantities mentioned.

Complements preserve independence

If A and B are independent, split A according to whether B occurs:

P(A∩Bc)=P(A)−P(A∩B)=P(A)[1−P(B)]=P(A)P(Bc).

Thus A and Bc are independent. Repeating the argument gives independence for Ac,B and for Ac,Bc. Knowing that B did not occur provides no change to the probability of A either.

Separate independence from disjointness

Disjoint events cannot occur together, so their joint probability is 0. If both have positive probability, their product is positive and they are dependent. Observing one rules out the other completely.

By contrast, an event of probability 0 is independent of every event, since its intersection with any event also has probability 0 by monotonicity. An event of probability 1 is likewise independent of every event: excluding its zero-probability complement changes no probabilities. These are probability statements; a probability-1 event need not equal the whole sample space in every model.

The complement argument also makes an independence check reversible. Suppose P(A∩Bc)=P(A)P(Bc) is easier to calculate than the original intersection. Subtracting it from P(A) gives P(A∩B)=P(A)[1−P(Bc)]=P(A)P(B). Thus checking independence against a complement is enough to establish it for the original pair. The choice can simplify an event whose direct overlap is awkward to list.

Justify products in applications

Two cards drawn without replacement are both aces with probability (4/52)(3/51). The second factor conditions on the first ace. Replacing it by 4/52 would assert independence that this experiment does not have. Independent repetitions can justify multiplying marginal probabilities; sampling without replacement usually changes the remaining composition.

Key Takeaways

  • Independence means P(A ∩ B) = P(A)P(B).
  • For positive-probability conditions, independence means conditioning leaves the probability unchanged.
  • Independence is preserved when either or both events are complemented.
  • Disjoint positive-probability events are dependent.
  • Events with probability 0 or 1 are independent of every event.

5.2 Pairwise and mutual independence

Independence of several events is stronger than independence of each pair. A collection can pass every pair check while a combination of observations determines another event completely.

Check every subcollection

Three events A,B,C are mutually independent when all four product conditions hold: the three pairwise conditions and

P(A∩B∩C)=P(A)P(B)P(C).

For n events, the product rule must hold for every subcollection of at least two events. There are 2n−n−1 such subcollections: all subsets except the empty set and the n singletons. Checking just the full intersection is also insufficient.

For example, if P(C)=0, the triple product equation holds automatically for any A and B. It cannot prove those two events independent. Take A=B with probability 1/2: their intersection has probability 1/2, not 1/4.

A pairwise counterexample

Flip two independent fair coins. Define A as “first is heads,” B as “second is heads,” and C as “the flips match.” Each has probability 1/2. The intersections A∩B, A∩C, and B∩C each contain only HH, so each has probability 1/4. All pairs are independent.

But the triple intersection is also {HH}. Its probability 1/4 differs from (1/2)3=1/8. Thus the collection is pairwise independent but not mutually independent. Knowing both flips determines whether they match, even though either flip alone gives no information about a match.

The missing triple condition can be viewed through conditioning. In the two-coin example, P(C∣A)=1/2=P(C) and P(C∣B)=1/2=P(C). But P(C∣A∩B)=1 because two known heads must match. Mutual independence would keep that combined information from changing C's probability. Pairwise independence only checks the effect of each event separately, leaving their joint information untested.

Compute all or at least one

For mutually independent events,

P(all)=∏iP(Ai),P(at least one)=1−∏i[1−P(Ai)].

The second formula uses independent complements and De Morgan's law. Four independent fair die rolls contain at least one six with probability 1−(5/6)4≈0.518. In 24 independent rolls of two fair dice, at least one double six has probability 1−(35/36)24≈0.491.

Both marginal sums are 2/3, but those sums are only union bounds. Successes on different rolls can occur together, so adding their probabilities overcounts repeated successes. Pairwise independence alone does not justify the full product of failure probabilities.

Interpret a reliability model

Three components work independently, each with probability 0.9. A series system requires all three and works with probability 0.93=0.729. A parallel system needs at least one and works with probability 1−0.13=0.999. The same component probabilities lead to different system behavior because the required event changes from an intersection to a union.

Key Takeaways

  • Mutual independence requires the product rule for every subcollection of at least two events.
  • Pairwise independence does not imply mutual independence.
  • The full-intersection product alone does not imply mutual independence.
  • For independent events, calculate at least one through the complement of none.
  • Series reliability requires all components; parallel reliability requires at least one.

5.3 Independence after conditioning

A shared hidden cause can link results that are independent once the cause is known. Information that selects outcomes can also create dependence between events that were independent before selection.

Define conditional independence

For P(E)>0, events A and B are conditionally independent given E if

P(A∩B∣E)=P(A∣E)P(B∣E).

This is ordinary independence inside the probability model conditioned on E. It says nothing by itself about the model outside E. Independence given Ec is a separate condition, and independence without conditioning is another question.

Mix independent experiments

Choose a fair coin or a coin with head probability 3/4, each with probability 1/2. Flip the selected coin twice, independently given its identity. The unconditional head chance for either flip is 5/8. By LOTP,

P(H1∩H2)=12(12)2+12(34)2=1332.

This differs from (5/8)2=25/64, so the flips are dependent without conditioning. The same unknown coin influences both results.

A first head increases the posterior probability of the biased coin to

P(biased∣H1)=(1/2)(3/4)5/8=35.

The second-head chance becomes P(H2∣H1)=(13/32)/(5/8)=13/20, above 5/8. The first flip gives information about the hidden coin, which in turn changes the second flip's probability.

Select from independent outcomes

For two independent fair flips, let A and B be heads on the first and second flips. Condition on E, “at least one head.” The equally likely possibilities are now HH,HT,TH. Hence

P(A∣E)=P(B∣E)=23,P(A∩B∣E)=13.

Since 1/3≠4/9, conditional independence fails. In this selected group, learning the first flip was tails forces the second to be heads. Thus unconditional independence does not guarantee independence after learning more.

Independence within one group gives no automatic information about the other group's joint table. For example, a model could use two independent fair bits within E and two identical fair bits within Ec. The marginals in each group are one half, but the both-one probabilities are one quarter within E and one half within Ec. The conditional product check succeeds in the first group and fails in the second. The condition is part of the claim, not an optional label.

Use the right level of multiplication

Repeated test results may be modeled as independent given true status. Their unconditional probabilities generally do not multiply. With prevalence 0.01, sensitivity 0.95, and false-positive rate 0.05, the probability of two positives under conditional independence is

0.01(0.95)2+0.99(0.05)2=0.0115.

The marginal positive probability is 0.059, whose square is only 0.003481. LOTP first multiplies within each status group and then adds the weighted contributions; multiplying the mixed marginals loses the shared status information.

Key Takeaways

  • Conditional independence is a product rule within one fixed conditioning event.
  • Independence given E does not imply independence given its complement.
  • Mixing over a hidden state can create unconditional dependence.
  • Conditioning can destroy unconditional independence.
6

Solve three classic problems

Classic probability problems combine modeling decisions with methods already developed. Birthday matching uses a complement and sequential counting. Monty Hall requires the likelihood of the host’s action under each possible car location. Gambler’s ruin uses the first round to relate unknown win probabilities at neighboring starting positions. In each problem, the structure of the experiment determines which calculation is valid.

6.1 Find the chance of a shared birthday

The birthday problem asks whether any two people in a group share a birthday. That gives many possible pairs, unlike the question of whether someone shares one particular person's birthday.

Count no matches first

Use the standard model: each person's birthday is independently chosen from 365 equally likely days, excluding February 29. For k≤365 people, there are 365k equally likely ordered birthday assignments.

To have no shared birthday, the first person can use any day, the second any of the remaining 364, and the third any of the remaining 363. Continuing gives

P(all different)=365⋅364⋯(365−k+1)365k.

Therefore

P(at least one shared birthday)=1−∏j=0k−1(1−j365).

The factors are conditional probabilities along the all-different path. For k>365 a match is certain by the pigeonhole principle: there are more people than possible days.

Understand the size of the answer

At 23 people the shared-birthday probability is about 0.507; 23 is the smallest group that exceeds one half. At 50 it is about 0.970, and at 70 about 0.999.

A group of 23 has (232)=253 pairs. Each pair matches with probability 1/365. This explains why a modest group offers many opportunities for a match. Adding the 253 pair probabilities does not give the exact answer, since multiple pair matches can occur in the same birthday assignment.

Compare a fixed birthday

Fix your birthday and ask whether any of 22 other people share it. Each independently avoids your day with probability 364/365, so the answer is

1−(364/365)22≈0.059.

There are only 22 comparisons with your fixed day, not all 253 pairs. It takes 253 other people for the fixed-birthday probability to reach one half. The distinction lies in which matches count as success.

Check the method on a smaller model

Suppose four people independently have uniformly distributed birth months among 12 months. The no-match probability is 12⋅11⋅10⋅9/124=55/96. The probability of a shared month is therefore 41/96≈0.427.

Using (124) as the favorable no-match count over 124 would mix unordered month sets with ordered assignments to people. Multiplying the combination by 4! restores the assignments when all months differ.

Read the model assumptions

Actual birthdays are not equally common across the year. For independent birthdays with a common nonuniform distribution over the 365 days, a shared birthday is more likely than under the uniform model; the 23-person probability is above the uniform value. The stated assumptions explain the numerical threshold. The count is a model for collision opportunities, not a claim that real birth dates follow a perfectly uniform pattern.

Key Takeaways

  • Count all distinct birthdays, then subtract from 1.
  • The standard model uses independent birthdays on 365 equally likely days.
  • Any-pair matching gives far more opportunities than matching one fixed birthday.
  • Ordered birthday assignments require an ordered favorable count.
  • A common nonuniform day distribution increases the match probability.

6.2 Use the host’s rules in Monty Hall

You choose door 1 from three doors. One hides a car, equally likely at each door, and two hide goats. A host opens another door showing a goat and offers a switch. The probability depends on the rules governing that reveal.

Solve the standard game by cases

The standard host knows where the car is, always opens a different goat door, and always offers a switch. If either other door could be opened, he chooses randomly between them.

Condition on the original car location. If your first choice contains the car, switching loses. If either other door contains it, the host must expose the other goat, and switching wins. Your initial choice is wrong with probability 2/3, so switching wins with probability 2/3; staying wins with probability 1/3.

The host's action does not treat the two closed doors symmetrically. Your door was protected from opening regardless of its contents. The other closed door survived a selection that depended on the car's location.

Condition on the particular opened door

Let O2 mean the host opens door 2 and Cj mean the car is at door j. Under the standard rules,

P(O2∣C1)=1/2,P(O2∣C2)=0,P(O2∣C3)=1.

LOTP gives P(O2)=1/6+0+1/3=1/2. Bayes gives P(C3∣O2)=(1/3)/(1/2)=2/3. The host's random tie-breaking is needed for this particular-door posterior.

With 100 doors and a knowledgeable host who opens 98 goat doors, the same case argument gives switching probability 99/100. The initial choice has only 1/100 probability of being correct; switching wins exactly when that choice was wrong.

The distinction between an overall strategy and a particular observation is useful here. The overall win probability averages over every reveal the host might make. A posterior after door 2 opens focuses only on games producing that reveal. Different tie-breaking can change the mixture of car locations in that selected set, even while switching still wins in every game whose original choice was wrong.

Change the reveal mechanism

Suppose an ignorant host instead opens one of the two unchosen doors uniformly at random, possibly exposing the car. You observe door 2 open with a goat. This observation has likelihood 1/2 under car 1, 0 under car 2, and 1/2 under car 3. The two surviving joint weights are both 1/6. Given this reveal, switching and staying each win with probability 1/2.

Now return to a knowledgeable host who always offers a switch but prefers door 2 whenever both other doors have goats. Opening door 2 has likelihoods 1, 0, 1 under the three car locations, so the posterior switching chance is 1/2. Opening door 3 can happen only when the car is behind door 2, so switching then wins with certainty.

The preference changes the conditional answers but not the overall strategy's success. Door 2 is opened with probability 2/3 and door 3 with probability 1/3, giving (2/3)(1/2)+(1/3)(1)=2/3. A visible goat alone is not the complete evidence model: the mechanism that selected it supplies the likelihoods.

Key Takeaways

  • Under the standard host rules, switching wins exactly when the initial choice is wrong.
  • Conditioning on a particular reveal requires its likelihood under each car location.
  • An ignorant host who happens to reveal a goat produces different posterior probabilities.
  • A host’s door preference can change conditional answers while leaving overall switching success at 2/3.

6.3 Solve gambler’s ruin from the first step

Two players share N tokens. Player A starts with i and gains one token each round with probability p or loses one with probability q=1−p, independently across rounds. Play stops at 0 or N. Let ui be A's probability of reaching N first.

Turn the first round into a partition

For 0<p<1 and 1≤i≤N−1, a first win moves A to i+1 and a first loss to i−1. From either new position the future game follows the same rules. LOTP gives the first-step recursion

ui=p ui+1+q ui−1,u0=0,uN=1.

The boundary values encode the target event. Already being ruined means failure; already holding all tokens means success. Reversing these values would solve for the other player's win instead.

Solve the recursion

Try a solution ui=xi. Substituting and canceling powers gives px2−x+q=0 with roots 1 and q/p. When p≠1/2 these are distinct, so ui=a+b(q/p)i. The boundary equations give

ui=1−(q/p)i1−(q/p)N.

When p=q=1/2, the repeated root gives ui=a+bi. The boundaries give ui=i/N. The biased formula becomes 0/0 at fairness; use the fair solution directly. At the endpoint games, p=0 makes every interior start lose and p=1 makes it win.

With N=5, i=2, and p=0.6, the ratio is 2/3 and

u2=1−(2/3)21−(2/3)5=5/9211/243=135211≈0.640.

The fair-game answer at the same start is 2/5=0.4. Fair rounds do not imply equal overall chances when initial holdings differ.

In the fair case, equal neighboring differences provide another derivation. Rearrange 2ui=ui+1+ui−1 as ui+1−ui=ui−ui−1. Every increase in starting wealth changes the win chance by the same amount. The total increase from u0=0 to uN=1 is spread across N one-token steps, giving an increment of 1/N per step and ui=i/N.

Interpret repeated small disadvantages

At p=0.49, equal starting holdings of 5 out of 10 give win probability about 0.450. With 50 out of 100, the same per-round disadvantage gives about 0.119. A longer route to the boundary amplifies the disadvantage. A 38-pocket roulette wheel has 18 red pockets; using p=18/38 with i=10,N=20 gives about 0.259.

The complementary player swaps p and q and starts at N−i. The two win probabilities sum to 1. Absorption occurs with probability 1 in this finite model; arbitrarily long paths do not create a positive chance of playing forever.

For a biased game, both numerator and denominator in the ratio have the same sign. If p>q, then q/p<1 and both are positive. If p<q, both are negative. The resulting probability remains between 0 and 1. Reversing the ratio would exchange the direction of advantage. The formula also meets both boundary values immediately: substituting i=0 makes the numerator zero, and substituting i=N makes numerator and denominator equal.

Let the opponent’s resources grow

Keeping i fixed and taking N→∞, eventual ruin has probability 1 when p≤1/2. When p>1/2, the chance of avoiding ruin forever is 1−(q/p)i. At p=0.6,i=5 it is about 0.868. This is an infinite-opponent limit, not a probability of reaching a particular finite target.

Key Takeaways

  • First-step analysis conditions on the first win or loss.
  • The recursion needs boundary values for ruin and reaching the target.
  • A fair game gives target-reaching probability i/N.
  • For 0 < p < 1 and p ≠ 1/2, use the ratio q/p in the closed form.
  • A small round-by-round disadvantage can become a large disadvantage over a long game.
  • Against an unlimited opponent, a fair game still leads to eventual ruin with probability 1.

Conditional Probability examples

6 Walkthroughs

1

From outcomes to a probability

11 steps
Build events from ordered coin results and identify when counting is justified.
  1. 1
    IntroductionStart with what can happen

    Before calculating a probability, decide what one result of the experiment records. We will use three independent fair coin flips to build a sample space, describe events, and check a counting calculation. Recording the flips in order will keep different histories apart. Then we will see what changes when those histories are grouped by their number of heads.

  2. 2
    ExampleList the ordered outcomes

    Three flips give eight ordered outcomes:

    HHH,HHT,HTH,HTT,THH,THT,TTH,TTT.

    For example, HTH records heads first, tails second, and heads third. Each realized experiment corresponds to one entry. The entries are equally likely because the flips are fair and independent; the order labels distinguish them but do not establish their probabilities.

  3. 3
    ExampleTurn a statement into a set

    Let A be “exactly one head.” Then A={HTT,THT,TTH}. The experiment produces an outcome, while A is a collection of outcomes. Let B be “the first flip is heads.” The intersection A∩B contains only HTT, because that is the one entry satisfying both statements. The union would include outcomes satisfying either statement, including both.

  4. 4
    ConnectionRead a complement

    The complement of “at least one head” is “no heads,” so it contains only TTT. In event notation, if Hj is heads on flip j, De Morgan’s law gives

    (H1∪H2∪H3)c=H1c∩H2c∩H3c.

    Every flip must be tails. Complementing a union changes “at least one” into a requirement that all the individual events fail.

  5. 5
    ChallengeDescribe exactly two heads

    What ordered outcomes belong to “exactly two heads,” and does this event include HHH?

    ---reveal---

    The event is {HHT,HTH,THH}. Each outcome specifies the location of the one tail. It excludes HHH because “exactly two” does not allow a third head. Writing only a union of the individual head events would describe at least one head instead.

  6. 6
    Key InsightGroup outcomes into a partition

    The four events “zero heads,” “one head,” “two heads,” and “three heads” partition the eight outcomes. Each sequence has exactly one head count, so the parts are disjoint and exhaustive. A partition can simplify a description without making its parts equally likely. The parts here contain 1, 3, 3, and 1 ordered outcomes.

  7. 7
    ExampleCalculate using equal weights

    The event “exactly two heads” contains three of the eight equally likely sequences. The naive definition therefore gives

    P(exactly two heads)=3/8.

    The numerator counts ordered sequences, just as the denominator does. The ratio of counts applies because the space is finite and its outcomes have equal weights, not merely because the event can be listed.

  8. 8
    TipWhy four head counts do not mean four equal chances

    The four head-count values 0, 1, 2, and 3 form a valid sample space for questions about the count. But their probabilities are 1/8,3/8,3/8,1/8. A head count of 1 can arise through three different ordered histories; a count of 0 has only one. Assigning each count probability 1/4 discards that difference.

  9. 9
    ExampleUse the smaller event

    To calculate “at least one head,” count the complement, which contains only TTT. Then

    P(at least one head)=1−1/8=7/8.

    This is quicker than listing the seven favorable sequences. It also makes the event boundary clear: the only excluded case has no heads anywhere. A complement is always taken relative to the chosen whole sample space.

  10. 10
    ChallengeCheck the grouped calculation

    Someone claims “at least two heads” has probability 2/4 because two of the four head counts qualify. What is the correct probability, and why does that argument fail?

    ---reveal---

    The qualifying counts contain 3+1=4 equally likely sequences, giving 4/8=1/2. The claimed numerical answer happens to agree, but its equal-weight premise is false: the four count categories are not equally likely.

  11. 11
    RecapKeep descriptions and weights together

    Build a sample space at a level of detail that makes the experiment clear. Express the target as a set, use intersections and unions carefully, and check whether the weights justify counting. Grouping outcomes preserves a valid description but can produce unequal probabilities. Complements are especially useful when the excluded event is small.

2

Build counts that match the experiment

15 steps
Choose ordered or unordered counts and justify every overcounting correction.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionCount the object the question asks for
  2. 2
    ExampleAssign distinct roles
  3. 3
    ExplanationChoose a group instead
  4. 4
    ConnectionAllow repeated selections
  5. 5
    ChallengeChoose the count
  6. 6
    ExampleRemove group order
  7. 7
    ExampleRepeated letters remove internal orders
  8. 8
    ConnectionGive the identity one object
  9. 9
    ChallengeCheck a proposed division
  10. 10
    ExampleSet up a uniform card space
  11. 11
    TipCheck “exactly” in the companions
  12. 12
    Key InsightReplace an awkward union with a complement
  13. 13
    ChallengeCount a new committee probability
  14. 14
    ConnectionRecognize distinct rank roles
  15. 15
    RecapTie each factor to a choice
3

From axioms to overlapping-event calculations

14 steps
Derive probability rules and solve a matching problem through inclusion–exclusion.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionBuild the rules from disjoint pieces
  2. 2
    ExampleCheck normalization
  3. 3
    ExampleExtend additivity to a countable list
  4. 4
    ChallengeDistinguish zero weight from emptiness
  5. 5
    ExplanationDerive the complement rule
  6. 6
    ExampleCorrect an overlapping union
  7. 7
    ChallengeBound an unknown overlap
  8. 8
    Key InsightTrack a triple-overlap outcome
  9. 9
    ExampleFix some matching positions
  10. 10
    ExplanationCombine equal-sized intersections
  11. 11
    ChallengeCalculate the finite answer
  12. 12
    ConnectionConnect the finite sum to a limit
  13. 13
    ChallengeCombine a complement with an overlap correction
  14. 14
    RecapMake every addition legitimate
4

Track a conditional probability calculation

20 steps
Use a message-filter model to connect paths, mixtures, Bayes’ rule, and sequential evidence.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionFollow the evidence through the calculation
  2. 2
    ExampleRestrict the reference group
  3. 3
    ExplanationRead the bar in the right direction
  4. 4
    ChallengeComplement within one group
  5. 5
    ExampleBuild a joint probability
  6. 6
    ConnectionRetain the full path history
  7. 7
    ChallengeMultiply a new sequence
  8. 8
    ExampleInclude the other source of a flag
  9. 9
    Key InsightInterpret the weights
  10. 10
    ChallengeRecover a mixture weight
  11. 11
    ExampleReverse the filter conditional
  12. 12
    ExampleSee the same update in frequencies
  13. 13
    ExplanationConvert probabilities to odds
  14. 14
    ChallengeFind the required prior
  15. 15
    ExampleUpdate on a second flag
  16. 16
    ExplanationKeep background information in the formula
  17. 17
    ExampleCompare subgroup and pooled rates
  18. 18
    ChallengeExplain a pooled reversal
  19. 19
    ChallengeCombine two observations
  20. 20
    RecapMatch each operation to its job
5

Check independence before multiplying

14 steps
Test product conditions and examine how hidden states and selection change dependence.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionLocate the independence claim
  2. 2
    ExampleCompare joint and product
  3. 3
    ExplanationSeparate a set property from a probability property
  4. 4
    ChallengeComplement an independent event
  5. 5
    ExampleA pair can miss a three-way relationship
  6. 6
    Key InsightCount what must be checked
  7. 7
    ExampleCalculate at least one success
  8. 8
    ChallengeChoose the system event
  9. 9
    ExampleMix over a common hidden source
  10. 10
    ConnectionUse one result as evidence about the source
  11. 11
    ExampleSelect from independent outcomes
  12. 12
    ChallengeDistinguish two levels of independence
  13. 13
    ChallengeTest an update against independence
  14. 14
    RecapState independence at the right level
6

Work through collisions, doors, and ruin

19 steps
Solve classic problems by choosing a complement, a reveal model, or a first-step recursion.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionChoose the right first move
  2. 2
    ExplanationStart with no birthday collisions
  3. 3
    ExampleMultiply the available-day fractions
  4. 4
    ConnectionChange from any pair to one fixed day
  5. 5
    ChallengeTry a smaller collision model
  6. 6
    ExplanationSpecify the host
  7. 7
    ExampleCondition on the initial choice
  8. 8
    ExampleUse a particular reveal
  9. 9
    ChallengeChange the tie-breaking rule
  10. 10
    Key InsightCompare an ignorant host
  11. 11
    ExplanationDefine the token-game target
  12. 12
    ConnectionCondition on the first round
  13. 13
    ExampleSolve the fair recursion
  14. 14
    ExplanationFind the biased solution
  15. 15
    ExampleEvaluate a biased example
  16. 16
    ChallengeChoose the right boundary interpretation
  17. 17
    Key InsightTake an unlimited-opponent limit
  18. 18
    ChallengeInfer a hidden start from a win
  19. 19
    RecapRecognize the reusable structures

Conditional Probability practice questions

60 Practice Questions in 6 sets

Set 1: Outcomes, counting, and probability rules10 Practice Questions

Question 1 of 10

Let A mean a sensor triggers and B mean a warning light turns on. What event says that neither happens?
  1. Ac∪Bc
  2. A∩B
  3. Ac∩Bc
  4. A∪B
Show answerHide answer
Answer: C
Neither happens means both the trigger and the light are absent, so the event is Ac∩Bc. The union Ac∪Bc would also include a result where one happens and the other does not; it describes at least one absence, not two absences.

Question 2 of 10

Two independent fair six-sided dice are rolled. What is the probability that their sum is 9?
  1. 1/9
  2. 1/11
  3. 1/6
  4. 5/36
Show answerHide answer
Answer: A
The sum is 9 for the four ordered pairs (3,6),(4,5),(5,4),(6,3), so its probability is 4/36=1/9. Using 1/11 gives equal weight to the 11 possible sums, although different sums contain different numbers of equally likely dice pairs.

Question 3 of 10

A code has three positions filled with distinct letters from an alphabet of eight letters. How many codes are possible?
  1. 512
  2. 56
  3. 168
  4. 336
Show answerHide answer
Answer: D
There are 8 choices for the first position, 7 for the second, and 6 for the third, giving 8×7×6=336. The count 83=512 would allow repeated letters, while the code requires all three letters to be distinct.

Question 4 of 10

A finite experiment has four outcomes with proposed probabilities 0.15, 0.25, 0.35, and 0.30. Why is this assignment invalid?
  1. The values are not all equal.
  2. The probabilities sum to 1.05.
  3. The smallest value is below 0.25.
  4. There are more than two outcomes.
Show answerHide answer
Answer: B
The singleton outcomes partition the space, so their probabilities must sum to P(S)=1. Here the sum is 1.05 and violates normalization. Unequal probabilities are allowed; equality is needed for the naive counting ratio, not for a general probability model.

Question 5 of 10

Eight people are split into two unnamed groups of four. How many different splits are possible?
  1. 35
  2. 70
  3. 140
  4. 14
Show answerHide answer
Answer: A
Choosing four of the eight people gives (84)=70 descriptions. Every split appears twice, because choosing either of its two groups leaves the same unnamed split, so divide by 2 to get 35. Keeping 70 would be correct for two labeled groups, such as morning and afternoon.

Question 6 of 10

Events satisfy P(A)=0.55, P(B)=0.40, and P(A∩B)=0.20. What is the probability that exactly one occurs?
  1. 0.75
  2. 0.35
  3. 0.55
  4. 0.95
Show answerHide answer
Answer: C
Exactly one excludes the overlap from both marginal counts, giving 0.55+0.40−2(0.20)=0.55. Subtracting the overlap only once gives 0.75, the probability of the union, which still includes outcomes where both events occur.

Question 7 of 10

A committee of four is selected uniformly from seven analysts and five designers. What is the probability it contains exactly two designers?
  1. 28/33
  2. 14/33
  3. 2/5
  4. 7/33
Show answerHide answer
Answer: B
Choose two of the five designers and two of the seven analysts, giving (52)(72)=210 committees out of (124)=495. The ratio is 14/33. An extra factor of two would count a nonexistent order between the two categories; their roles are already specified.

Question 8 of 10

Among 80 submissions, 30 contain a chart, 24 contain a table, and 12 contain both. A submission is selected uniformly from those containing a chart. What is the probability it contains a table?
  1. 1/2
  2. 3/20
  3. 3/8
  4. 2/5
Show answerHide answer
Answer: D
The condition restricts the reference group to the 30 submissions containing a chart. Of these, 12 also contain a table, giving 12/30=2/5. Dividing by 24 instead gives the reverse conditional, chart given table, which answers a different question.

Question 9 of 10

A device has two indicators, each either on or off. Let A be “the first is on” and B “the second is on.” Without assuming independence or equal probabilities, what events partition the space by the number of on indicators?
  1. Ac∩Bc, A∪B, A∩B
  2. Ac∪Bc, (A∩Bc)∪(Ac∩B), A∩B
  3. Ac∩Bc, (A∩Bc)∪(Ac∩B), A∩B
  4. Ac∩Bc, A∩Bc, A∩B
Show answerHide answer
Answer: C
The parts describe zero, exactly one, and two on indicators. They are disjoint and cover all four on/off configurations, regardless of their probabilities. Using A∪B for the middle part would overlap the two-on part, because a union includes the case where both indicators are on.

Question 10 of 10

Five tokens are allocated by independently choosing one of three labeled boxes uniformly for each token. What is the probability that the final box counts are 3, 1, and 1, respectively?
  1. 20/243
  2. 1/21
  3. 10/243
  4. 60/243
Show answerHide answer
Answer: A
There are 35=243 equally likely assignment histories. The target counts have 5!/(3!1!1!)=20 histories, giving 20/243. The 21 stars-and-bars allocations are not equally likely under independent box choices; an allocation’s weight depends on how many histories produce it.
Set 2: Selections, overlapping events, and matches10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A bag contains four green and five orange tokens. Three tokens are drawn without replacement. What is the probability of green, orange, green in that order?
  1. 80/729
  2. 5/14
  3. 10/63
  4. 5/42
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

An integer is chosen uniformly from 1 through 60. What is the probability it is divisible by 4 or 6?
  1. 5/12
  2. 1/3
  3. 1/12
  4. 1/4
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Four labeled envelopes receive four letters in a uniform random order. What is the probability that no letter is in its matching envelope?
  1. 3/8
  2. 5/8
  3. 81/256
  4. 1/4
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

How many distinct arrangements do the letters of “LEVEL” have?
  1. 120
  2. 30
  3. 60
  4. 20
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

In a uniform permutation of seven labeled items, what is the probability that two specified positions both match their original items?
  1. 1/49
  2. 2/7
  3. 1/21
  4. 1/42
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Three cards are drawn from a well-shuffled standard 52-card deck. What is the probability of exactly one heart?
  1. (131)(392)/(523)
  2. (131)(512)/(523)
  3. (132)(391)/(523)
  4. (131)(392)/(52⋅51⋅50)
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A countably infinite experiment has outcomes 1,2,… with probabilities P({n})=2/3n. What is the probability of an odd outcome?
  1. 1/2
  2. 2/3
  3. 3/4
  4. 1/4
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A team of five with one designated coordinator is chosen from six researchers and four editors. The team must contain exactly two editors. How many outcomes are possible?
  1. 240
  2. 480
  3. 600
  4. 1440
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Events have P(A)=0.72 and P(B)=0.61. What is the sharp range of possible values for P(A∩Bc)?
  1. 0.11≤P(A∩Bc)≤0.39
  2. 0≤P(A∩Bc)≤0.39
  3. 0.33≤P(A∩Bc)≤0.61
  4. 0.11≤P(A∩Bc)≤0.72
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A four-person committee is chosen uniformly from eight people, including Mira and Sol. Given that at least one of them is chosen, what is the probability both are chosen?
  1. 3/14
  2. 3/11
  3. 1/2
  4. 3/7
Show answerHide answer

Save this lesson to see this answer.

Set 3: Paths, weighted cases, and Bayesian updates10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Events satisfy P(A∩B)=0.18 and P(B)=0.45. What is P(A∣B)?
  1. 0.08
  2. 0.63
  3. 0.27
  4. 0.40
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A component comes from line R with probability 0.8 or line S with probability 0.2. Their failure rates are 0.03 and 0.08. What is the overall failure probability?
  1. 0.055
  2. 0.040
  3. 0.110
  4. 0.024
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A box has three white and four black balls. Two are drawn without replacement. What is the probability that they have different colors?
  1. 4/7
  2. 2/7
  3. 24/49
  4. 3/7
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A filter flags 90% of unwanted messages and 10% of wanted messages. Unwanted messages are 20% of traffic. What is the probability a flagged message is unwanted?
  1. 9/10
  2. 1/5
  3. 9/13
  4. 9/50
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

The prior probability of a fault is 0.25. An observed signal has likelihood ratio 6 in favor of a fault. What is the posterior probability of a fault?
  1. 3/4
  2. 1/2
  3. 6/7
  4. 2/3
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A six-sided die is chosen: a fair die with probability 0.7 or a loaded die with probability 0.3. The loaded die shows 6 with probability 0.5. What is the probability the selected die shows 6?
  1. 4/15
  2. 1/3
  3. 7/60
  4. 1/2
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Within a selected group E, P(A∣E)=0.4, P(B∣A,E)=0.75, and P(B∣Ac,E)=0.25. What is P(A∣B,E)?
  1. 3/4
  2. 3/10
  3. 2/3
  4. 4/9
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Warehouses U, V, and W ship 50%, 30%, and 20% of orders. Their late rates are 2%, 5%, and 10%. An order was late. What is the probability it came from W?
  1. 1/5
  2. 4/9
  3. 10/17
  4. 2/5
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A sensor’s hidden state is faulty with probability 0.1. Each reading is either high or low, with high probability 0.8 if faulty and 0.2 otherwise; readings are independent given the state. What is the probability it is faulty after one high reading followed by one low reading?
  1. 1/10
  2. 4/13
  3. 2/11
  4. 4/5
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Program A passes 18 of 20 beginners and 56 of 80 experienced learners. Program B passes 68 of 80 beginners and 12 of 20 experienced learners. What do the within-group and overall rates show?
  1. B is higher in each group; A is higher overall.
  2. A is higher in each group and also overall.
  3. B is higher in each group and also overall.
  4. A is higher in each group; B is higher overall.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Independence, complements, and hidden sources10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Events have P(A)=0.3, P(B)=0.7, and P(A∩B)=0.21. Are they independent, and why?
  1. Yes; the joint equals the product of the marginals.
  2. No; their marginal probabilities are different.
  3. Yes; their marginal probabilities add to one.
  4. No; their intersection has positive probability.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Independent events have probabilities P(A)=0.35 and P(B)=0.4. What is the probability that A occurs and B does not?
  1. 0.14
  2. 0.65
  3. 0.21
  4. 0.75
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Independent backup modules work with probabilities 0.7, 0.8, and 0.9. The system works if at least one works. What is its reliability?
  1. 0.504
  2. 0.994
  3. 0.006
  4. 0.800
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

How many subcollection product conditions define mutual independence of four events?
  1. 6
  2. 1
  3. 15
  4. 11
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Two independent fair coins are flipped. Given that the outcomes differ, what is the probability the second is heads if the first is tails?
  1. 1/2
  2. 1/4
  3. 1
  4. 0
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

For a fixed positive-probability B, P(A∣B)=0.65. What can be concluded about P(Ac∣B) and P(A∣Bc), assuming also P(Bc)>0?
  1. P(Ac∣B)=0.35; the second is not determined.
  2. Both conditional probabilities must equal 0.35.
  3. P(Ac∣B)=0.65; the second is not determined.
  4. Both conditional probabilities must equal 0.65.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A and B are the same event of probability 0.5. The event C has probability 0.4, with P(A∩C)=0.1. What does checking the triple product establish?
  1. The triple product holds, so the events are mutually independent.
  2. The triple product fails, but every pair is independent.
  3. The triple product fails, and A and B are independent.
  4. The triple product holds, but A and B are dependent.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A hidden source is chosen equally between two devices. Each device emits two independent bits given its identity; its probability of a 1 is either 0.2 or 0.8. What is the probability the second bit is 1 given the first is 1?
  1. 0.50
  2. 0.68
  3. 0.34
  4. 0.80
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Roll two independent fair six-sided dice. Let A mean the first roll is at most 3 and B mean the sum is 8. What is P(A∣B), and are A and B independent?
  1. 1/2; they are independent.
  2. 2/5; they are independent.
  3. 2/5; they are dependent.
  4. 1/3; they are dependent.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A hidden source is type U with probability 0.4 and type V otherwise. Two alarms are independent given the type, with trigger probability 0.9 for each under U and 0.1 under V. Given that both trigger, what is the probability of U?
  1. 54/55
  2. 18/23
  3. 9/10
  4. 27/50
Show answerHide answer

Save this lesson to see this answer.

Set 5: Birthdays, door reveals, and token games10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Five people independently choose birthdays uniformly among 365 days. Given that the first four birthdays are different, what is the probability the fifth avoids all four?
  1. 364/365
  2. 361/365
  3. 360/365
  4. 4/365
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A car is placed uniformly behind five doors. You choose one. A host who knows the location always opens three other goat doors and always offers a switch to the remaining closed door. What is the overall win probability of switching?
  1. 1/2
  2. 1/5
  3. 3/5
  4. 4/5
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

In a fair token game, A starts with 3 of the total 8 tokens. Rounds transfer one token and stop at 0 or 8. What is the probability A is ruined before reaching 8?
  1. 3/8
  2. 1/2
  3. 5/8
  4. 1/8
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Six people independently choose one of 10 labels uniformly. What is the probability that at least two choose the same label?
  1. 1−10⋅9⋅8⋅7⋅6⋅5106
  2. 1−(106)106
  3. 1−(910)5
  4. (62)10
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A token game has total 3, gain probability 2/3 per independent round, and absorbing states 0 and 3. What is the probability of reaching 3 when starting at 1?
  1. 1/3
  2. 4/7
  3. 2/3
  4. 3/7
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

In a three-door game you choose door 1. The car is uniform. A knowledgeable host always opens another goat door and offers a switch. When your choice is correct, he opens door 2 with probability 0.8. Given that he opens door 2, what is the probability switching wins?
  1. 2/3
  2. 4/9
  3. 5/9
  4. 1/2
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

You choose door 1 with a car uniformly behind three doors. An ignorant host chooses one unchosen door uniformly, regardless of its contents. Given that he opens door 3 and reveals a goat, what is the probability the car is behind door 2?
  1. 1/2
  2. 2/3
  3. 1/3
  4. 1/4
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A token game gains one with probability 1/3 and loses one with probability 2/3 per independent round. Starting at 2, what is the probability of reaching 5 before 0?
  1. 2/5
  2. 24/31
  3. 7/31
  4. 3/31
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

In a model with eight equally likely labels, three people choose independently. Given that the first two labels differ, what is the probability that some pair among all three matches?
  1. 11/32
  2. 1/4
  3. 1/8
  4. 3/8
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A fair token game stops at 0 or 6. The initial holding is chosen uniformly from 1, 2, 3, 4, and 5. Given that A eventually reaches 6, what is the probability the initial holding was 4?
  1. 1/5
  2. 2/3
  3. 4/15
  4. 1/3
Show answerHide answer

Save this lesson to see this answer.

Set 6: Combine counting, conditioning, and independence10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A point is chosen uniformly from [0,1]. What is the probability of choosing exactly 1/4?
  1. 1/4
  2. 1/2
  3. 0
  4. 1
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Events have P(A)=0.6, P(B∣A)=0.5, and P(C∣A∩B)=0.4. What is the probability A and B occur but C does not?
  1. 0.18
  2. 0.12
  3. 0.30
  4. 0.60
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A hidden setting is U or V. Success rates are 0.9 under U and 0.4 under V, while the overall success rate is 0.6. What is P(U)?
  1. 0.5
  2. 0.4
  3. 0.6
  4. 2/3
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Five labeled packages are assigned uniformly to five recipients. What is the probability at least one recipient gets their own package?
  1. 11/30
  2. 2101/3125
  3. 5/8
  4. 19/30
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Ten people form an unnamed group of four and two unnamed groups of three. How many groupings are possible?
  1. 4200
  2. 700
  3. 2100
  4. 12600
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A signal occurs with probability 0.6 under a target hypothesis and 0.2 under its complement. What prior target probability would make the posterior after the signal equal to 0.5?
  1. 1/3
  2. 1/4
  3. 1/2
  4. 3/4
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A, B, and C are pairwise independent, each with probability 0.5, and P(A∩B∩C)=t. What is the probability that exactly one of them occurs?
  1. 3/8
  2. 3/4−3t
  3. 3/4+t
  4. 3t
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A has a higher success rate than B in each of two subgroups. Their pooled rates favor B. What happens if both groups’ pooled rates are recomputed using the same positive subgroup weights?
  1. A’s recomputed rate must be higher.
  2. B’s recomputed rate must be higher.
  3. The recomputed rates must be equal.
  4. The ordering still depends on the original group sizes.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A fair coin or a coin with head probability 0.9 is chosen equally. Two flips are independent given the chosen coin. Given that the two flips match, what is the probability the 0.9 coin was chosen?
  1. 9/14
  2. 81/106
  3. 41/66
  4. 1/2
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

You pick door 1 with a uniform car location among three doors. A knowledgeable host always opens another goat door, choosing uniformly when two are available. After either reveal, he offers a switch with probability 0.5 if your original choice was correct and with probability 1 otherwise. Given that he opens door 2 and offers a switch, what is the probability switching wins?
  1. 2/3
  2. 4/5
  3. 1/2
  4. 1/3
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

89 Key Terms, each with its definition

A

Absorption
Absorption occurs when the game enters a stopping state and remains there, ending further token transfers in the finite ruin model.
Reaching 0 or N tokens ends play; the finite model reaches one of these states with probability 1.

B

Bayes’ rule
Bayes’ rule reverses a conditional by multiplying the evidence likelihood by the hypothesis’s prior and dividing by the evidence probability.
A flag rate given unwanted status helps find unwanted status given a flag only after weighting.
Bayesian interpretation
The Bayesian interpretation reads probability as a degree of belief that follows the axioms and can be updated when evidence arrives.
A probability for a one-time outcome can be revised after relevant information is observed.
Binomial coefficient
A binomial coefficient (nk) counts subsets of size k from n distinct items without regard to their internal order.
Choosing three committee members from nine people gives (93)=84 possible memberships.
Birthday problem
The birthday problem asks for at least one shared birthday among any pair in a group, commonly under independent uniform 365-day sampling.
The standard shared-birthday probability exceeds one half with a group of 23 people.
Boundary condition
A boundary condition fixes the value of a solution at a stopping state, anchoring the equations for interior states.
The target-reaching probability is 0 at ruin and 1 when the target is already held.

C

Case mix
A case mix is the distribution of subgroup membership within a population, determining the weights in its overall rate.
A clinic handling mostly difficult cases weights its difficult-case success rate most heavily.
Case weight
A case weight is the probability of a partition event used to scale its conditional contribution in total probability.
A coin selected with probability 0.3 gives its within-coin head chance a weight of 0.3.
Chain rule
The chain rule writes an intersection probability as successive factors, each conditioned on all events earlier in the chosen order.
Three red draws without replacement require updating the remaining red count after each draw.
Collision
A collision occurs when two distinct selections produce the same label, with birthday matching as one example of a general counting pattern.
Two independently assigned records collide if they receive the same identifier.
Complement
The complement of an event is the set of outcomes in the sample space that do not belong to the original event.
The complement of “at least one head” in three flips is the single event “all three tails.”
Complement rule
The complement rule states that an event and its complement have probabilities adding to 1, because they partition the sample space.
If a failure event has probability 0.08, its complement has probability 0.92.
Conditional independence
Conditional independence is independence inside a specified positive-probability event, where the conditional joint equals the conditional product.
Two flips can be independent given the selected coin even when they are dependent overall.
Conditional probability
A conditional probability measures an event inside a positive-probability condition, dividing their joint probability by that condition’s probability.
Among even results of a fair die, one of the three possible faces is 6.
Conditioning event
A conditioning event is the information held fixed to define the reference population or outcomes for a conditional probability.
For submissions that each might include a table or a chart, in P(table∣chart) those with charts supply the reference group.
Countable additivity
Countable additivity states that the probability of a countable union of disjoint events is the sum of their probabilities.
Stopping a coin experiment on an even flip combines disjoint stopping events at 2, 4, 6, and so on.

D

Dependent events
Dependent events fail the product equation for independence; with a positive-probability condition, learning one changes the chance of the other.
Drawing an ace changes the next-ace probability when the first card is not replaced.
Disjoint events
Disjoint events have no common outcome and therefore cannot occur together; they are also called mutually exclusive events.
For one die roll, “the result is 2” and “the result is 5” are disjoint events.

E

Equally likely outcomes
Equally likely outcomes have the same probability, allowing event probabilities in a finite space to be found by a ratio of counts.
A uniform choice from eight names assigns probability one eighth to each listed person.
Event
An event is a subset of the sample space that occurs when the actual outcome is one of the results contained in that subset.
The event “the die shows an even number” contains the outcomes 2, 4, and 6.
Exact-count event
An exact-count event specifies a precise number of successes and excludes additional successes among the remaining selected items.
Exactly two aces in five cards requires the other three selected cards to be non-aces.
Extra conditioning
Extra conditioning retains background information throughout a probability calculation, including in the case weights and likelihoods.
An update inside a selected group uses that group’s prior, not the original population prior.

F

Factorial
A factorial counts the orders of distinct objects: n!=n(n−1)⋯1 for positive integers, with 0!=1.
Five distinct books can be placed in a row in 5!=120 different orders.
Favorable outcome
A favorable outcome is an outcome belonging to the event whose probability is being calculated, regardless of whether it is desirable.
If the event is a machine breakdown, breakdown outcomes are favorable for that calculation.
First-step analysis
First-step analysis conditions on the first move and expresses the desired probability using the same problem at the resulting states.
A first win moves the token holding from i to i + 1; a first loss moves it to i − 1.
Fixed-birthday match
A fixed-birthday match requires someone to share one specified day, allowing fewer successful comparisons than any-pair matching.
Matching your birthday among 22 others has much lower probability than any shared pair among 23.
Frequentist interpretation
The frequentist interpretation reads an event’s probability as its long-run proportion of occurrence in repeated experiments.
A fair-die probability of one sixth describes long-run proportions, not every short run.
Full house
A full house is a five-card hand containing three cards of one rank and two of a different rank, with different roles for the two ranks.
Three queens and two fours form a full house; reversing those rank counts gives a different hand.

G

Gambler’s ruin
Gambler’s ruin is a token-transfer game stopped when a player reaches zero or a target, analyzed through the probability of reaching each boundary.
A fair player starting with two of five tokens reaches five with probability 2/5.

H

Hidden state
A hidden state is an unobserved condition that determines within-case probabilities and can link results after averaging across cases.
Repeated alarm readings can share the same unobserved fault state, connecting their outcomes.

I

Inclusion–exclusion
Inclusion–exclusion computes a union probability by adding single-event terms and correcting overlaps with alternating intersection terms.
Three-event inclusion–exclusion adds the triple overlap after subtracting all pair overlaps.
Independent events
Independent events have a joint probability equal to the product of their marginal probabilities; conditioning on either positive-probability event leaves the other’s probability unchanged.
An independence check compares the calculated overlap with the product of the two marginals.
Intersection
The intersection of events is the set of outcomes belonging to all of them, so every event in the intersection occurs.
A card in the intersection of “red” and “ace” is either the ace of hearts or the ace of diamonds.

J

Joint contribution
A joint contribution is a case weight multiplied by the target event’s probability within that case, forming one term of total probability.
A 0.2 source share and 0.05 failure rate contribute 0.01 to the total failure probability.
Joint probability
A joint probability is the probability that specified events occur together, represented by the probability of their intersection.
The chance that an order comes from a plant and is defective is a joint probability.

L

Law of total probability
The law of total probability finds an event’s probability by summing its conditional probabilities weighted over an exhaustive disjoint partition.
A total defect rate weights each plant’s rate by that plant’s share of production.
Likelihood
A likelihood is the probability of the observed evidence under a specified hypothesis, used to compare how well hypotheses account for it.
A test sensitivity is the positive-result likelihood under the affected-status hypothesis.
Likelihood ratio
A likelihood ratio compares the probability of the same evidence under a hypothesis and its complement, multiplying the prior odds.
A signal twice as likely under a fault as without it multiplies the fault odds by 2.

M

Marginal probability
A marginal probability describes one event on its own, without conditioning on whether another event in the comparison has occurred.
The first die’s marginal six probability is 1/6 before information about the sum is given.
Match
A match is a position in a permutation where the assigned item equals the item designated for that position in the original arrangement.
In the ordering 321 of items 1, 2, and 3, only the middle position is a match.
Matching problem
The matching problem asks whether at least one item in a uniformly random permutation occupies its own designated position.
Returning labeled hats uniformly to their owners has the same structure as shuffled labeled cards.
Mixture
A mixture combines probability models using case weights, with unconditional probabilities found by averaging their within-case values.
Choosing a fair or biased coin once and then flipping it creates a mixture over coin identities.
Monotonicity
Monotonicity says that if one event is contained in another, its probability cannot exceed that of the containing event.
Exactly three successes is contained in at least three successes and cannot be more probable.
Monty Hall problem
The Monty Hall problem asks whether to switch doors after a host reveals a goat, with probabilities determined by the reveal and offer rules.
A knowledgeable host who always offers a switch gives switching overall success probability 2/3.
Multinomial coefficient
A multinomial coefficient counts arrangements with fixed counts of repeated types, dividing a factorial by the type-count factorials.
The repeated A’s and N’s in “BANANA” give 6!/(3!2!)=60 distinct arrangements.
Multiplication rule for counting
The multiplication rule for counting multiplies stage counts when each earlier history permits the same number of choices at the next stage.
A code with no repeated digit has fewer available digits at each successive position.
Mutual independence
Mutual independence requires the product equation for every subcollection of at least two events, including all higher-order intersections.
For three events, verify three pair equations and one triple equation before multiplying freely.

N

Naive definition
The naive definition gives an event’s probability as its outcome count divided by the total count in a finite equally likely space.
Six favorable ordered pairs among 36 dice outcomes give probability 1/6 for a sum of 7.
No-match event
The no-match event contains permutations in which every item avoids its designated position; it complements at least one match.
For three items, the orders 231 and 312 have no match, giving probability 2/6.
Normalization
Normalization is the requirement that the whole sample space has probability 1, making the total probability of all cases equal to 1.
Proposed finite outcome weights adding to 1.04 fail normalization even if each lies below 1.

O

Odds
The odds of an event compare its probability with its complement’s probability, expressed as P(A)/P(Ac) when defined.
Odds of 3 to 2 correspond to probability 3/(3+2)=0.6, not probability 1.5.
Outcome
An outcome is one possible result in the sample space, specified at the level of detail chosen to describe the experiment.
For two dice, the ordered pair (2,5) records which value appears on each die.
Overcounting
Overcounting occurs when a procedure counts the same desired outcome more than once because it gives that outcome several descriptions.
Choosing either half of an unnamed equal-team split counts the same split twice.

P

Pairwise independence
Pairwise independence requires each pair in a collection to satisfy the product equation, leaving larger intersections unchecked.
Two head events and a matching-flips event can pass all pair checks yet fail the triple check.
Parallel system
A parallel system works when at least one component works, making total failure the intersection of all component-failure events.
Three independent 0.9-reliable components in parallel fail only with probability 0.13.
Partition
A partition is a collection of pairwise disjoint events whose union is the whole sample space, assigning every outcome to one part.
Grouping two-dice outcomes by the first die’s value gives six disjoint, exhaustive cases.
Permutation
A permutation is an ordering of distinct objects in which changing the order changes the result being counted.
Choosing a chair and a secretary from six people gives 6×5 ordered assignments.
Pigeonhole principle
The pigeonhole principle states that placing more objects than boxes forces at least two objects into the same box.
More than 365 people must share a day in a model that allows only 365 possible birthdays.
Posterior probability
A posterior probability is a hypothesis’s updated probability after conditioning on observed evidence within the chosen model.
The fraction of flagged messages that are unwanted is a posterior after seeing the flag.
Prevalence
The prevalence of a condition is the proportion of a specified population that has it, supplying a prior in a population test model.
Low prevalence can leave false positives numerous even when a test’s false-positive rate is small.
Prior probability
A prior probability is a hypothesis’s probability before the particular evidence being used for an update has been incorporated.
The fraction of messages that are unwanted is a prior before a filter’s flag is observed.
Probability function
A probability function assigns numbers to events while satisfying nonnegativity, normalization, and countable additivity.
A loaded die assigns weights to singleton faces, then adds those weights for an even event.
Probability tree
A probability tree represents sequential cases with conditional branch probabilities and complete paths corresponding to disjoint outcomes.
Multiply along a color sequence, then add the paths that give the required final color count.
Prosecutor’s fallacy
The prosecutor’s fallacy confuses the probability of evidence under innocence with the probability of innocence after observing the evidence.
A rare profile match among non-sources does not by itself determine a matching person’s source probability.

R

Recursion
A recursion relates an unknown value at one state to values at other states, creating equations that can be solved with boundary conditions.
A target probability satisfies ui=pui+1+qui−1 at each interior holding.
Replacement
Replacement means returning a selected item before the next draw, keeping it available to be selected again.
Independent draws with replacement from five equally likely labels have 5k length-k histories.
Reveal mechanism
A reveal mechanism specifies how an observed item or message is selected, determining its likelihood under each possible hypothesis.
Opening a goat deliberately carries different information from randomly opening a door that shows a goat.

S

Sample space
A sample space is the set of possible outcomes recorded for a random experiment, such as all ordered results of two flips.
Recording first and second coin results separately gives four outcomes: HH, HT, TH, and TT.
Sampling without replacement
Sampling without replacement keeps selected items out of later draws, changing the remaining composition as the experiment proceeds.
After drawing an ace, a standard deck has three aces among 51 remaining cards.
Selection event
A selection event restricts attention to a subset of outcomes and can change the dependence relationships within the resulting group.
Selecting two-flip outcomes with at least one head removes TT and makes the head events dependent.
Sensitivity
A test’s sensitivity is the probability of a positive result conditional on the person or item truly having the target condition.
Sensitivity 0.9 means 90% of affected cases test positive in the stated probability model.
Sequential updating
Sequential updating incorporates evidence in stages, using each posterior as the next prior while retaining earlier observations.
A second alarm reading updates the belief obtained after the first reading was observed.
Series system
A series system works only when every required component works, making system success an intersection of component-success events.
Three independent components with reliability 0.9 give series reliability 0.93=0.729.
Simpson’s paradox
Simpson’s paradox is a reversal between comparisons within every subgroup and the comparison after the groups are pooled.
Different task mixes can make an option with higher subgroup success rates have a lower total rate.
Specificity
A test’s specificity is the probability of a negative result conditional on the target condition being absent in the person or item.
Specificity 0.96 corresponds to a false-positive rate of 0.04 among unaffected cases.
Specified matches
Specified matches require particular positions to be correct while allowing additional matching positions elsewhere in the permutation.
Fixing two positions in a seven-item permutation leaves 5! arrangements of the others.
Stars and bars
Stars and bars counts allocations of identical objects to distinct boxes by arranging object markers and separators in a row.
Four identical tokens in three labeled boxes correspond to four stars and two bars.
Story proof
A story proof proves a counting identity by showing that its two sides count the same collection of objects in different ways.
A team and captain can be chosen by selecting the captain first or the team first.
Switching strategy
A switching strategy takes the other remaining closed door whenever a switch is offered, with success assessed under the specified host rules.
Under the standard host rules, switching wins whenever the player’s original door has a goat.
Symmetry
Symmetry is a feature of a probability model that treats specified outcomes alike and can justify assigning them equal probabilities.
In a well-shuffled deck, every card has the same chance of occupying the final position.
Symmetry factor
A symmetry factor is the common number of descriptions per desired outcome that can be divided out to correct uniform overcounting.
Three unnamed equal-sized teams have 3! possible team orders in a sequential selection.

T

Tie-breaking rule
A tie-breaking rule specifies how a host chooses among multiple eligible doors, affecting posteriors after a particular door is opened.
A host who prefers door 2 changes the likelihood of that reveal when the initial choice is correct.
Two pair
Two pair is a five-card hand with two cards from each of two ranks and a fifth card from a third rank; the pair ranks are interchangeable.
Two kings, two eights, and one three form a two-pair hand with the three as the remaining card.

U

Uneven overcounting
Uneven overcounting gives different desired outcomes different numbers of descriptions, preventing repair by one constant divisor.
Designating one ace counts a two-ace hand twice and a three-ace hand three times.
Union
The union of events is the set of outcomes belonging to at least one of them, including outcomes that belong to more than one.
A machine failure or a power failure includes the possibility that both failures occur.
Union bound
The union bound gives an upper bound on a union probability by adding the individual event probabilities, without requiring independence.
Three possible failure events with probabilities 0.02 each have union probability at most 0.06.

V

Vandermonde’s identity
Vandermonde’s identity counts a selection from two groups by summing over the possible number of selected members from the first group.
A three-person committee chosen from analysts and other staff can be sorted into cases with zero, one, two, or three analysts.

W

Weighted average
A weighted average combines values according to nonnegative shares that sum to 1, so larger shares give values more influence.
A plant supplying most parts contributes more weight than a small plant with the same defect rate.

Z

Zero-probability event
A zero-probability event is an event assigned probability 0; its intersection with every event also has probability 0.
A fixed point in a uniform interval model is a nonempty zero-probability event.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started