Probability Basics

Learn the language and rules of probability that the rest of statistics builds on. Describe chance experiments with sample spaces and events, find probabilities from equally likely outcomes and from data, and combine events with the addition and multiplication rules. Read contingency tables, Venn diagrams and tree diagrams, calculate conditional probabilities, decide whether two events are independent, and use Bayes' theorem to see why a positive result on a test for a rare condition is often a false alarm.

BeginnerLesson 4 of 12 in Introduction to Statistics Course

What you will learn

  1. Set up a chance experiment precisely: list its possible outcomes, describe events as sets of outcomes, and assign probabilities that follow the basic rules.
    • List the sample space of a chance experiment
      Identify what a chance experiment records and list all of its outcomes completely and without overlap, using a list, a grid or a tree.
    • Describe events and combine them with and, or and not
      Write events as sets of outcomes, form complements, intersections and unions, and translate everyday phrases such as “at least one” into these combinations.
    • Find probabilities from equally likely outcomes and from data
      Assign probabilities with the equally likely rule or with relative frequencies, check that they follow the basic rules, and use the complement rule.
  2. Use the addition rule, recognize when two events cannot happen together, and organize overlapping events in Venn diagrams.
    • Use the addition rule and recognize mutually exclusive events
      Decide whether two events can happen on the same trial and find P(A or B) with the addition rule for mutually exclusive events or the general addition rule.
    • Organize events and probabilities in a Venn diagram
      Draw a Venn diagram for two events from counts or probabilities, fill every region correctly and read off unions, intersections, complements and “only” regions.
  3. Read probabilities from two-way tables of counts, and calculate how the probability of an event changes once you know that another event has occurred.
    • Read joint and marginal probabilities from a contingency table
      Build and read a contingency table, and use it to find the probabilities of single events, of “and” events and of “or” events.
    • Calculate and interpret conditional probabilities
      Find P(A∣B) from a table, a Venn diagram, equally likely outcomes or the formula, and keep it apart from P(B∣A) and from P(A and B).
  4. Find the probability that two or more events all happen, decide whether events are independent, and organize multistage problems in tree diagrams.
    • Use the multiplication rule for events that happen together
      Find P(A and B) from a probability and a conditional probability, including draws with and without replacement.
    • Decide whether two events are independent
      Test independence with conditional probabilities or with the product rule, use the multiplication rule for independent events, and keep independence apart from mutual exclusivity.
    • Solve multistage problems with tree diagrams
      Draw a tree diagram with conditional branch probabilities, multiply along paths, add the paths that make up an event and convert a tree into expected counts.
  5. Use known rates such as the chance of a positive test among people with a condition to find the reverse probability, the chance of the condition given a positive test, with frequency tables, tree diagrams and Bayes' formula.
    • Interpret test results with natural frequencies
      Turn a base rate and a test's error rates into counts for an imagined group, and find the probability that a positive or a negative result is correct.
    • Apply Bayes' theorem to two or more possible causes
      Use Bayes' formula with a tree diagram to update the probabilities of competing causes after an observation, and check the result with counts.

Probability Basics study guide

5 chapters

1

Outcomes, events, and probabilities

A probability calculation starts with a clear description of what can happen. The same pair of coin flips can be recorded as an ordered sequence or as a count of heads, and those choices produce different sample spaces. Learn to list outcomes, translate words such as “at least one” into events, and assign probabilities using either a fair model or observed data. These choices determine what your later calculations mean.

1.1 What a chance experiment records

Choosing a person at random, rolling a die, and flipping a coin are chance experiments. You know the possible results before starting, but you cannot predict the result of a particular trial with certainty. An outcome is one possible result of that trial. The sample space, written S, is the set of all possible outcomes.

Make the recording rule clear

For a single coin flip, S={H,T}. For a six-sided die, S={1,2,3,4,5,6}. A sample space must cover every possible result, and each trial must fit exactly one entry. “Even” and “greater than 3” would fail as the two entries for a die: a 4 fits both, and a 1 fits neither.

For two coin flips, recording first flip then second flip gives S={HH,HT,TH,TT}. Here HT means heads first, tails second. It differs from TH because the order differs. For two fair, independent flips, these four sequences are equally likely.

You can instead record the number of heads, giving S={0,1,2}. This is also a valid sample space. Its outcomes are not equally likely: one head can arise from either HT or TH, while zero heads comes only from TT and two heads only from HH. The recording rule changes the entries, so check their probabilities before using a counting formula.

Use a grid for two results

With two dice, distinguish them as a red die and a blue die. Put the red result down the side of a grid and the blue result across the top. Each cell represents one ordered pair. There are 6×6=36 cells, including (2,5) and (5,2) as separate outcomes. The sum 7 is an event made of several cells, not a single equally likely cell.

A grid helps you check completeness: each possible first result has every possible second result beside it. For fair, independent dice, all 36 cells have the same probability. Listing just the possible sums from 2 through 12 is valid if sums are what you record, but those sums have different probabilities.

Follow stages with a tree

A tree branches once for each stage. Choosing one of 3 main dishes and then one of 2 desserts gives 6 complete paths. Each path describes one meal. Multiplying the numbers of choices works here because all three main dishes allow the same two desserts.

Replacement changes the possible paths. A bag contains one red, one blue, and one green marble. Draw two and record their colors in order. Without replacement, the list is RB,RG,BR,BG,GR,GB: a marble cannot be drawn again. With replacement, put the first marble back before drawing again. The extra paths RR,BB,GG become possible, making 9 paths.

Before listing, decide which feature you record, whether order matters, and whether items are replaced. Then check the list against the physical experiment: no possible result missing, and no trial counted under two entries.

Key Takeaways

  • A sample space contains all possible recorded outcomes.
  • Each trial must fit exactly one listed outcome.
  • Order and replacement affect the list of outcomes.
  • Grouped outcomes can have different probabilities even when the original outcomes are equally likely.

1.2 Events and the words and, or, and not

An event is a set of outcomes from the sample space. It occurs when the result belongs to that set. For one die roll, let A={2,4,6} mean “the result is even.” A roll of 4 makes event A occur; a roll of 5 does not.

The experiment is the action, such as “roll a die.” An event describes results of that action, such as “roll a number greater than 4.” An event may hold one outcome, several outcomes, every outcome, or no outcomes. The whole sample space is certain; the empty set ∅ is impossible. Rolling a 7 on an ordinary six-sided die is an impossible event.

Not means the complement

The complement of A, written A′ or Ac, contains all outcomes outside A but inside S. For the even results, A′={1,3,5}. On every roll exactly one of A and A′ happens. They share no outcomes, and together they cover the sample space.

A complement depends on the sample space. “Not even” means odd here because the possible recorded results are the integers 1 through 6. Keep the experiment in view when translating “not.”

And means the intersection

Let B={4,5,6} mean “greater than 3.” The intersection A∩B contains the results satisfying both descriptions. Checking the even results one at a time leaves A∩B={4,6}. The outcome must belong to both events on the same trial.

The phrase “A but not B” adds a restriction: keep the outcomes in A that are outside B. Thus A∩B′={2}. It does not include 4 or 6, even though both are even, because they also belong to B.

Or includes the overlap

The union A∪B contains results in either event, including results in both. Here A∪B={2,4,5,6}. Write each result once. In probability, “or” is inclusive: it includes the overlap. “Exactly one of the two events” has a different meaning and leaves the overlap out.

“Neither A nor B” means outside both events. It is the complement of their union, (A∪B)′={1,3}. For a quick check, every outcome must lie either inside the union or outside it, never both.

Translate phrases about counts

For two coin flips, the ordered sample space is {HH,HT,TH,TT}.

PhraseOutcomes that satisfy it
At least one headHH,HT,TH
At most one headHT,TH,TT
Exactly one headHT,TH
No headsTT

“At least one” permits one or more. “At most one” permits zero or one. Their overlap is exactly one. The complement of “at least one head” is “no heads,” not “at least one tail”: HT and TH each contain both a head and a tail. When a phrase is hard to translate, test each outcome against its words before calculating.

Key Takeaways

  • An event occurs when the recorded outcome belongs to its set.
  • The complement contains all outcomes outside the event.
  • The intersection means both events; the union means either or both.
  • “Neither” is outside the union; “exactly one” excludes the overlap.
  • “At least one” and “none” are complements.

1.3 Probabilities from a model or from data

A probability measures the chance of an event on a scale from 0 to 1. An impossible event has probability 0, a certain event has probability 1, and 0.5 means equally likely to occur or not occur. Fractions, decimals, and percentages can express the same value: 14=0.25=25%.

Count equally likely outcomes

When every outcome in a finite sample space is equally likely,

P(A)=number of outcomes in Anumber of outcomes in S.

For a fair die, three of the six outcomes are even, so P(even)=3/6=0.5. For two fair, independent dice, use the 36 ordered pairs. A sum of 7 occurs at (1,6),(2,5),(3,4),(4,3),(5,2),(6,1). Thus P(sum 7)=6/36=1/6≈0.1667.

Counting is reliable only when the counted outcomes are equally likely. In two fair coin flips, the count of heads has three possible values, but “one head” combines two sequences. Its probability is 2/4=1/2; the probabilities of zero heads and two heads are each 1/4. Three possible labels do not give each label a one-third chance.

Estimate probability from observations

An empirical probability uses a relative frequency: divide the number of times an event occurred by the number of trials or observations. If 140 of a store's last 500 customers used a coupon, the estimated probability is 140/500=0.28. This estimate describes the customers and process from which those observations came.

The law of large numbers explains why repeated data can help. As the same chance experiment is repeated independently many times, an event's relative frequency tends to get closer to its probability. A short run can be quite different: 7 heads in 10 fair flips gives a relative frequency of 0.7. Later flips have no need to repair that run; each independent fair flip still has a heads probability of 0.5.

Check the model and use complements

Each probability must be between 0 and 1, and all outcome probabilities must add to 1. Suppose donor blood types O, A, and B have probabilities 0.45, 0.40, and 0.11. The remaining type AB has probability 1−(0.45+0.40+0.11)=0.04. Adding probabilities of overlapping events is different: those events can count the same outcome more than once.

The complement rule is P(A′)=1−P(A). It is especially useful for “at least one,” because the complement is “none.” With two fair dice, no six means each die shows one of 1 through 5. That gives 25 of the 36 ordered pairs, so

P(at least one six)=1−2536=1136≈0.3056.

Adding one-six probabilities directly would count (6,6) twice. Keep exact fractions during the work and round the final result: here 0.3056, or 30.6%. A value outside 0 to 1 calls for checking the event, denominator, or arithmetic.

Key Takeaways

  • Use favorable outcomes divided by total outcomes when the outcomes are equally likely.
  • An empirical probability is an observed relative frequency.
  • Long-run stability does not make a particular next result due.
  • Outcome probabilities add to 1.
  • Use P(A′)=1−P(A) to find a complement.
  • Keep exact values through the calculation and round the final answer.
2

Overlapping events and the addition rule

An “or” question asks for everything in either event, including the outcomes shared by both. Adding the two event totals can count that shared part twice. The addition rule corrects the count, and a Venn diagram makes the correction visible. Work from the overlap outward to find “only,” “both,” and “neither” regions. You will also recognize the simpler case where the two events cannot occur on the same trial.

2.1 Adding probabilities without counting twice

To find the probability of “A or B,” begin by asking whether both events can happen on one trial. Two events are mutually exclusive, or disjoint, if they have no outcomes in common. Their intersection is empty, so P(A∩B)=0.

For one die roll, “roll a 1” and “roll a 6” are mutually exclusive. “Even” and “greater than 3” are not: a 4 or 6 satisfies both. The descriptions refer to the same roll, so their shared outcomes matter.

Add disjoint events directly

For mutually exclusive events,

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

A fair die gives P(1 or 6)=1/6+1/6=1/3. The same idea extends to several events that are mutually exclusive in pairs. A person's blood type is one of O, A, B, or AB. If O, A, and B have probabilities 0.45, 0.40, and 0.11, the probability of O or A or B is 0.96. No donor is included in more than one of those categories.

Subtract a shared part once

For any two events, the general addition rule is

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

Adding the first two terms includes the overlap twice. Subtracting it once leaves one copy, which is what the union needs. If the events are disjoint, the subtraction is zero and the same formula still works.

For a fair die, “even” and “greater than 3” each have probability 3/6, and their overlap has probability 2/6. The union has probability 3/6+3/6−2/6=4/6=2/3. Listing {2,4,5,6} checks the result.

A standard deck contains 52 cards: hearts, diamonds, clubs, and spades, with 13 cards per suit. Each suit has an ace, 2 through 10, jack, queen, and king. The jack, queen, and king are face cards, giving 12 face cards in the deck. For one random card,

P(heart or face card)=13+12−352=1126≈0.4231.

The three heart face cards belong to both events. Subtracting all 12 face cards would remove cards that were never counted twice.

Find a missing overlap or a complement

At a college, 60% of students take math, 45% take science, and 25% take both. Their union is 0.60+0.45−0.25=0.80. The remaining 20% take neither. A direct sum of 1.05 would be too large for a probability and signals double counting.

You can rearrange the rule: P(A∩B)=P(A)+P(B)−P(A∪B). With probabilities 0.5, 0.4, and 0.7, the overlap is 0.2. That positive overlap rules out mutual exclusivity.

Mutual exclusivity is different from independence. If two positive-probability events cannot happen together, learning that one happened makes the other impossible. Their probabilities change with that information, so they are dependent. Also name the trial carefully: a heart on the first draw and a heart on the second draw can both happen, so those two events are not mutually exclusive.

Key Takeaways

  • Mutually exclusive events have no shared outcomes.
  • The general addition rule subtracts the overlap once.
  • A union includes the overlap; “neither” is its complement.
  • The addition rule can be rearranged to find an unknown intersection.
  • Mutual exclusivity and independence describe different properties.

2.2 Reading the four regions of a Venn diagram

A Venn diagram shows events inside a rectangle representing the sample space. Each circle represents an event. An overlapping area belongs to both circles; the area outside both circles but inside the rectangle represents “neither.” Circle sizes need not match the probabilities.

Two overlapping circles divide the rectangle into four separate regions: A only, both, B only, and neither. Every outcome belongs to exactly one region. Counts in the four regions add to the grand total; probabilities add to 1.

Fill the overlap first

A gym has 200 members. Of these, 120 use cardio machines, 80 use weights, and 50 use both. Label the events C and W. Place 50 in the overlap before filling either “only” region.

  1. Cardio only: 120−50=70.
  2. Weights only: 80−50=30.
  3. Inside either circle: 70+50+30=150.
  4. Neither: 200−150=50.

Check each circle separately: the cardio circle holds 70+50=120 and the weights circle holds 30+50=80. Check the rectangle too: 70+50+30+50=200. Writing 120 in the cardio-only region would incorrectly make the cardio total 170; the original 120 already includes the overlap.

Match the wording to regions
EventRegions to useProbability
Cardio or weightsCardio only, both, weights only150/200=0.75
Cardio and weightsBoth50/200=0.25
Exactly one activityCardio only, weights only100/200=0.50
Neither activityOutside both50/200=0.25
Not cardioWeights only, neither80/200=0.40

The complement of cardio is the whole region outside the cardio circle, including people who use weights. It is larger than the “neither” region. In symbols, cardio only is C∩W′, while neither is C′∩W′.

With probabilities, use the same subtraction. If P(A)=0.5, P(B)=0.3, and P(A∩B)=0.1, the only regions are 0.4 and 0.2. Their union is 0.7, leaving 0.3 outside both. A negative region would reveal inconsistent inputs or a subtraction error.

Restrict to a circle for a condition

“Among cardio users” changes the group being considered to the cardio circle. Of those 120 members, 50 use weights, so P(W∣C)=50/120≈0.4167. Reversing the question gives P(C∣W)=50/80=0.625. The overlap stays the numerator, but the named condition determines the denominator.

Extend to three circles

Three events produce eight regions, including the outside. Start with the region shared by all three. A total for “A and B” includes that center, so subtract the center before placing the count in exactly those two circles. Do the same for each pair. Then subtract the already-filled pieces from each circle total to find its “only” region. Fill the outside last. This inside-out order keeps a person in all three events from being counted again in a pair-only region.

Key Takeaways

  • A two-circle diagram has four separate regions, including neither.
  • Fill the overlap before subtracting to find each “only” region.
  • Circle totals include the overlap.
  • “Exactly one” uses the two only regions; “or” also includes both.
  • A conditional probability uses the total inside the given circle as its denominator.
  • For three circles, fill the triple overlap before the pair-only regions.
3

Tables and probabilities within a group

A contingency table organizes one group of people or items by two characteristics at once. It can answer questions about the whole group and questions limited to a particular row or column. The numerator may stay the same while the denominator changes, producing very different answers. Read the wording first, identify the group being considered, and use the table to distinguish joint, marginal, and conditional probabilities.

3.1 Joint and marginal probabilities in a table

A contingency table, also called a two-way table, sorts individuals by two categorical variables. Each row is a category of one variable; each column is a category of the other. A cell counts individuals who meet both its row and column descriptions.

Suppose 400 online-course students are classified by orientation attendance and completion. The 160 attendees include 120 who completed and 40 who did not. The other 240 students include 132 who completed and 108 who did not.

OrientationCompletedDid not completeTotal
Attended12040160
Did not attend132108240
Total252148400

The row and column totals are marginal totals, named for their position at the margins. The grand total is 400. Each student is counted in one interior cell. Row totals add to 400, column totals add to 400, and the four interior cells add to 400. Do not add all the printed numbers: the margins summarize cells already counted.

One characteristic: use a margin

A marginal probability answers a question about one variable, regardless of the other. For a student chosen randomly from all 400,

P(completed)=252/400=0.63

and P(attended)=160/400=0.40. In the completion question, attendance plays no role, so both rows contribute to the numerator.

These are exact proportions for the 400 students listed. Using them for a wider population makes them estimates. The table itself does not tell you how closely that wider population matches this group.

Two characteristics together: use a cell

A joint probability concerns a combination of the two variables. For attendance and completion together,

P(attended and completed)=120/400=0.30.

It describes 30% of all students. Dividing the four cells by 400 gives joint probabilities 0.30, 0.10, 0.33, and 0.27. They add to 1 because the cells split the group into separate, exhaustive categories. Dividing 120 by the attendee total would answer a different question: completion among attendees.

Read “or” without counting a cell twice

“Attended or completed” includes every attendee and every completer. The relevant cells are 120, 40, and 132, giving 292/400=0.73. You can also use the addition rule: 0.40+0.63−0.30=0.73. Simply adding 160 and 252 counts the 120 attendee-completers twice.

Recover missing entries

Every row and column must balance. If the attendee total is 160 and 120 attended and completed, the other attendee cell is 160−120=40. If 252 completed overall, then 252−120=132 completed without attending. Use a second margin to check the value when one is available.

A useful reading habit is to name the numerator in words before dividing. “Completed” calls for a column total; “attended and completed” calls for a cell. For both of these whole-group questions, the denominator is the grand total.

Key Takeaways

  • A cell counts individuals with both its row and column characteristics.
  • A marginal probability is a marginal total divided by the grand total.
  • A joint probability is an interior cell divided by the grand total.
  • For “or,” count each qualifying cell once.

3.2 Conditional probability and its denominator

A conditional probability measures a chance after some information is known. Read P(A∣B) as “the probability of A given B.” The condition B restricts the group to outcomes where B occurs. You then ask what share of that group also belongs to A.

Restrict the group first

On a fair die, suppose you know the roll is even. Only {2,4,6} remain possible, and these outcomes are equally likely. Two are greater than 3, so P(greater than 3∣even)=2/3. Without the condition the probability is 3/6=1/2. The information changes the denominator and therefore the chance.

The general formula is

P(A∣B)=P(A∩B)P(B),P(B)>0.

With counts, divide the number in both events by the number in the given event. The numerator must satisfy both descriptions. The denominator contains everyone who meets the condition, including those who do not meet the other description.

Use the given row or column

In the online-course table, 120 of 160 orientation attendees completed. Thus P(completed∣attended)=120/160=0.75. Using probabilities gives the same result: 0.30/0.40=0.75.

The joint probability, 120/400=0.30, answers “What share of all students both attended and completed?” The conditional probability answers “What share of attendees completed?” Words such as “given,” “among,” “if,” and “of those who” help identify the restricted group.

QuestionDenominatorProbability
Attended and completedAll 400 students120/400=0.30
Completed, given attendance160 attendees120/160=0.75
Attended, given completion252 completers120/252≈0.4762

Reversing the condition leaves the same shared count but changes the denominator. Treating the last two probabilities as equal is the confusion of the inverse. Always read the words after the vertical bar before choosing the denominator.

Take a complement within the same group

Among attendees, the probability of not completing is 1−0.75=0.25, matching 40/160. The condition remains attendance. The two outcomes “completed” and “did not complete” divide that restricted group.

Probabilities with different conditions need not add to 1. Completion among non-attendees is 132/240=0.55. Adding 0.75 and 0.55 gives 1.30, but the two values describe different groups, so they are not parts of one probability total.

Interpret a group difference carefully

Completion is more common among attendees: 75% against 55%. This is an association in these data. Attendance was chosen by the students, so motivation or other differences could contribute to the pattern; the comparison alone does not establish a causal effect of orientation.

A Venn diagram uses the same denominator rule. In the gym example, weights given cardio is 50/120, while cardio given weights is 50/80. The display changes, but conditioning still means restricting attention to the named group.

Key Takeaways

  • In P(A∣B), the denominator is the probability or count of B.
  • The numerator satisfies both the target event and the condition.
  • A joint probability uses the whole group; a conditional probability uses the given group.
  • Reversing a condition usually changes the probability.
  • A conditional complement keeps the same condition.
4

Products, independence, and tree paths

An “and” probability can be built one stage at a time. The chance at a later stage may change after an earlier result, as it does when an item is removed from a small bag. Learn to keep that information in the multiplication rule, check when independence allows a simpler product, and organize several possible paths in a tree. Trees also turn rates into counts and show how different groups contribute to an overall probability.

4.1 Multiplying probabilities with the right conditions

The general multiplication rule finds the chance that two events both occur:

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

The first factor gives the chance of A. The second gives the chance of B within the cases where A occurs. It comes from rearranging the conditional-probability formula and requires P(A)>0 for that conditional factor. You can also use P(B)P(A∣B) when P(B)>0.

If 60% of shoppers use a loyalty card and 25% of card users buy a sale item, the joint probability is 0.60×0.25=0.15. The 25% rate applies within the card-user group. Adding these rates would not find the share meeting both descriptions.

Update a draw without replacement

A standard deck has 52 cards in four suits of 13 cards: hearts, diamonds, clubs, and spades. Draw two cards without putting the first back. For two hearts, the first factor is 13/52. After a heart has gone, 12 hearts remain among 51 cards. Therefore,

P(both hearts)=1352×1251=117≈0.0588.

Both the favorable count and the total change. If you replace and mix the first card before drawing again, the deck is full: P(both hearts)=(13/52)(13/52)=1/16=0.0625. Reusing the original factor is correct for this replacement design, but not for the first design.

Combine a product with a complement

A box contains 10 batteries, including 3 dead and 7 good. Two are selected randomly without replacement. For both dead, P=(3/10)(2/9)=1/15≈0.0667. For both good, P=(7/10)(6/9)=7/15.

“At least one dead” is the complement of “both good,” so its probability is 1−7/15=8/15≈0.5333. This avoids separating one-dead and two-dead cases. The tempting product 0.3×0.3=0.09 would act as though the first dead battery had been returned.

A joint probability cannot exceed either event's individual probability. Every outcome counted in “both dead” is already counted in “first dead.” This gives a useful bound on a product calculation.

Continue through several stages

For three events, each new factor accounts for everything before it:

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

For three hearts without replacement, the factors are 13/52, 12/51, and 11/50. The exact product is 11/850≈0.0129. Use the full history to update the third factor.

Recognize a useful approximation

Removing a few items from a very large population changes later probabilities only slightly. From 10,000 items including 3,000 defective ones, the exact probability of two defective draws is (3000/10000)(2999/9999)≈0.0900. The independent product 0.09 is close. A common guideline allows the independence approximation when the sample is at most 10% of the population. The draws remain dependent; the guideline concerns an approximation, not a change in the experiment.

Key Takeaways

  • Use P(A∩B)=P(A)P(B∣A) for a joint probability.
  • Without replacement, update the counts after each draw.
  • Replacement restores the original composition before the next random draw.
  • For several stages, condition each factor on the full previous history.
  • A small sampling fraction can justify approximate independence for draws without replacement.

4.2 When knowing one event changes nothing

Events are independent when knowing that one occurred leaves the probability of the other unchanged. For positive-probability events, the condition can be written P(A∣B)=P(A). Events are dependent if the probability changes.

For example, the result of a separately performed fair coin flip does not change the chance of rolling a 6 on a fair die. The joint chance is 12×16=112. A shared cause, such as a storm affecting neighboring houses, can instead make events happen together more often than an independent model predicts.

Use equivalent checks

For events with positive probabilities, any of these equalities establishes independence:

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

Choose the check that matches the available information. For independent events, the general multiplication rule simplifies to the product of the two unconditional probabilities. Do not use that simplified product to assume the equality you are trying to check.

Check a table

A café records 200 purchases. Card payments include 90 weekday purchases and 60 weekend purchases; cash includes 30 weekday and 20 weekend purchases. Overall, card use is 150/200=0.75. Among weekend purchases it is 60/80=0.75, and among weekday purchases it is 90/120=0.75. Conditioning on the day type leaves the probability unchanged.

The product check agrees: P(card and weekend)=60/200=0.30, and P(card)P(weekend)=0.75×0.40=0.30. These events are independent within the listed purchases.

In the orientation table, completion overall is 0.63 but completion given attendance is 0.75. The values differ, so the events are dependent in that table. The joint probability 0.30 also differs from the independent product 0.40×0.63=0.252. Real sample tables rarely give exact equalities; deciding what a sample difference says about a wider population needs statistical inference.

Keep independence separate from disjointness
PropertyWhat it says
Mutually exclusiveBoth events cannot occur on the same trial.
IndependentLearning one occurred leaves the other's probability unchanged.

For one die roll, “1” and “6” are mutually exclusive. Once a 1 is known, the chance of a 6 is 0 instead of 1/6. They are dependent. Positive-probability independent events have a positive product, so they can occur together.

Independent trials have no memory

After five heads with a fair coin, the sixth independent flip still has a heads probability of 0.5. Thinking tails must now be due is the gambler's fallacy. Long-run relative frequencies settle because early streaks become a smaller share of all trials, not because later results compensate.

For four independent die rolls, the chance of no six is (5/6)4=625/1296. Its complement gives P(at least one six)=671/1296≈0.5177. State why a product of unchanged factors fits: separate independent trials or random draws with replacement support it. Draws without replacement require updated probabilities, or an explicitly approximate model for a small sample from a large population.

Key Takeaways

  • Independence means the condition leaves the event probability unchanged.
  • Check independence by comparing a joint probability with the product of its marginals.
  • Positive-probability mutually exclusive events are dependent.
  • Independent trials do not compensate for earlier streaks.
  • A table check describes that table; population conclusions require inference.
  • Justify independence from the experiment or the probability model.

4.3 Multiplying along a tree and adding paths

A tree diagram lays out possible results in stages. The first branches give first-stage probabilities. Later branches give conditional probabilities given the path so far. Branches leaving the same point must add to 1, because one of those next results must occur.

Two operations do different jobs: multiply along a path to find the joint chance of that full sequence; add separate completed paths to find the chance of an event they make up. Distinct complete paths cannot occur together on one trial.

Build a tree without replacement

A bag holds 5 red and 3 blue marbles. Draw two randomly without replacement. The first branches are red 5/8 and blue 3/8. After a red, the remaining bag has 4 red and 3 blue, so the next probabilities are 4/7 and 3/7. After a blue, they are 5/7 and 2/7.

The full paths have probabilities:

  • RR=(5/8)(4/7)=20/56.
  • RB=(5/8)(3/7)=15/56.
  • BR=(3/8)(5/7)=15/56.
  • BB=(3/8)(2/7)=6/56.

Their sum is 56/56=1. “One of each color” includes both mixed paths, so its probability is 15/56+15/56=15/28≈0.5357. “Same color” uses the other two paths and equals 26/56=13/28. Counting only red then blue would miss the equally valid blue-then-red sequence.

Use a tree for conditional rates

Machine A makes 60% of a factory's parts and has a 2% defect rate. Machine B makes 40% and has a 5% defect rate. Branch first by machine, then by defective or good. The second-stage defective labels are 0.02 given A and 0.05 given B; their companion good labels are 0.98 and 0.95.

The defective path products are 0.60×0.02=0.012 from A and 0.40×0.05=0.020 from B. Add them to get P(defective)=0.032. A simple average of 2% and 5% gives 3.5%, which weights both machines equally even though A supplies more parts. The tree weights each rate by its share of production.

The branch 0.02 is a rate within A. It is not the chance of an A-defective part among all output. That joint probability is 0.012, after including A's production share.

Turn rates into counts

Imagine 1,000 parts. The first branches give 600 from A and 400 from B. Applying the conditional rates gives 12 defective from A and 20 from B, for 32 defective parts. The good counts are 588 and 380. These are model-based expected counts for an imagined group; an actual batch can differ.

The resulting contingency table has the same probabilities as the tree: 32/1000=0.032 defective overall. Counts often make the denominator easier to see when you later ask where a defective part came from.

Choose a table for one group classified in two ways, a Venn diagram for overlapping event totals, and a tree for stages or conditional rates. In an independent tree the later branch probabilities repeat across earlier results. In a dependent tree, update them along each path.

Key Takeaways

  • Branches leaving one point add to 1.
  • Multiply along a complete path to find its joint probability.
  • Add all paths that satisfy the requested event.
  • A conditional branch rate differs from a full-path probability.
  • Weight group rates by group shares to get an overall rate.
  • An imagined group converts probabilities to expected counts.
  • Choose the display that fits the form of the information.
5

Bayes’ theorem and the meaning of evidence

A test result or an observed defect can change which cause seems most likely. To update that probability, you need both the rate of the evidence within each group and the sizes of the groups before the evidence arrived. Natural frequencies make those contributions visible. Bayes’ theorem expresses the same reasoning as a ratio: the path for the cause you want divided by all the paths that could produce the observed evidence.

5.1 Test results, base rates, and natural frequencies

A test's chance of returning positive among people with a condition answers a different question from the chance of having the condition after a positive result. The first starts with condition status; the second starts with a test result. The base rate, the proportion with the condition before testing, connects them.

Name the test rates

Let D mean “has the condition.” The prevalence is P(D). The sensitivity is P(positive∣D). The specificity is P(negative∣D′), and the false positive rate is P(positive∣D′)=1−specificity. The positive predictive value is P(D∣positive), the probability someone with a positive result actually has the condition.

These rates have different denominators. Sensitivity uses people with the condition. Specificity uses people without it. Predictive value uses people with a particular test result.

Convert rates into an imagined group

Consider a hypothetical test with prevalence 1%, sensitivity 90%, and false positive rate 9%. Use natural frequencies: imagine 10,000 people and apply the rates in stages.

  1. The condition group has 10000×0.01=100 people. Of these, 90 test positive and 10 test negative.
  2. The no-condition group has 9,900 people. Of these, 9900×0.09=891 test positive and 9,009 test negative.
StatusPositiveNegativeTotal
Condition9010100
No condition8919,0099,900
Total9819,01910,000
Restrict to the observed result

A positive result limits attention to the 981 positives. Only 90 of them have the condition, so

P(D∣positive)=9090+891=90981≈0.0917.

The answer is about 9.2%, despite the 90% sensitivity. The false positive rate applies to a much larger starting group, producing more false positives than true positives. Giving 90% as the answer reverses the conditional probability and ignores the base rate, an error called base rate neglect.

For a negative result, restrict instead to the 9,019 negatives. The chance of no condition is 9009/9019≈0.9989. Positive and negative predictive values can be quite different for the same test.

Change the base rate, keep the test

At a 10% prevalence, the same imagined 10,000 people include 1,000 with the condition and 9,000 without. The positive counts become 900 and 810. The positive predictive value is 900/1710≈0.5263. The test's conditional rates are unchanged, but the mix of people producing positive results is different.

The prior probability is the chance before observing the evidence; the posterior probability is the updated chance afterward. In the 1% example, a positive result raises the probability from 0.01 to about 0.0917.

Key Takeaways

  • A test rate and a predictive value condition on different groups.
  • Natural frequencies apply the base rate first, then each group’s test rates.
  • Positive predictive value divides true positives by all positives.
  • A rare condition can produce many false positives because the no-condition group is large.
  • Prior means before the evidence; posterior means after it.

5.2 Updating a cause with Bayes’ theorem

Bayes' theorem reverses the direction of a conditional probability. You may know how often each machine produces a defect, then observe a defective part and ask which machine produced it. The calculation combines each cause's starting share with its rate of producing the evidence.

For a cause A and observed evidence B,

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

The numerator is the joint probability of cause A and evidence B. The denominator is the total probability of B, including both possible starting groups. It must be positive. This is conditional probability with the joint probability expanded using the multiplication rule.

Follow the cause before the evidence

Machine A makes 60% of parts with a 2% defect rate; machine B makes 40% with a 5% defect rate. The two defective paths are 0.60×0.02=0.012 and 0.40×0.05=0.020. Their sum is 0.032. Therefore,

P(A∣defective)=0.012/0.032=0.375.

The probability for B is 0.020/0.032=0.625. B supplies fewer parts overall but a larger share of defective parts. With 1,000 imagined parts, the same answer is visible in counts: 12 defective from A and 20 from B, so A contributes 12/32 of the defective group.

Giving only 0.012 would report the joint probability across all parts, before restricting to defective parts. The division by 0.032 makes that restriction.

Include every possible cause

For several causes A1,…,An that are mutually exclusive and together cover all possibilities,

P(Ai∣B)=P(B∣Ai)P(Ai)∑jP(B∣Aj)P(Aj).

Use one evidence path in the numerator and all evidence paths in the denominator. Suppliers 1, 2, and 3 deliver 50%, 30%, and 20% of components, with defect rates 1%, 2%, and 4%. Their defective paths are 0.005, 0.006, and 0.008. The total is 0.019, so their posterior shares are about 0.2632, 0.3158, and 0.4211. These add to 1 apart from rounding. Omitting the third supplier would change the denominator and overstate the first two shares.

Keep conditional complements in their group

Suppose 30% of emails are spam. The word “free” appears in 40% of spam emails and 5% of other emails. The relevant joint probabilities are 0.12 and 0.035. Thus P(spam∣“free”)=0.12/0.155≈0.7742. In 1,000 imagined emails, 120 spam and 35 other emails contain the word.

The 5% rate is separate information. It is not 1−0.40: that complement is the chance the word is absent among spam emails. Before calculating, name the causes and evidence, write the priors and conditional evidence rates, and check which way the requested conditional probability runs.

Key Takeaways

  • Bayes’ theorem divides a cause-and-evidence path by the total probability of the evidence.
  • Weight each conditional evidence rate by its cause’s prior probability.
  • The denominator includes evidence from every possible cause.
  • Posterior probabilities across exhaustive, disjoint causes add to 1.
  • A conditional complement keeps the same conditioning group.
  • A frequency table and Bayes’ formula give the same update.

Probability Basics examples

5 Walkthroughs

1

From a recorded result to a probability

14 steps
Build sample spaces, translate event language, and choose between counting and observed frequencies.
  1. 1
    IntroductionStart with what is recorded

    A probability question needs a clear experiment before it needs arithmetic. Two people can watch the same pair of coin flips and record different things: the sequence of results or just the number of heads.

    Work from the recording rule to the sample space, then to the event and its probability. You will see why a complete list can still contain outcomes with different chances.

  2. 2
    ExplanationOne trial, one entry

    A chance experiment has an uncertain result. An outcome is one recorded result; the sample space is the complete set of possible results. For a coin flip, it is {H,T}.

    Each trial must fit exactly one entry. A list that omits a possible result is incomplete. Entries that can describe the same trial also fail, because they overlap.

  3. 3
    ExampleKeep the flip order

    For two flips, write the first result and then the second. The sample space is {HH,HT,TH,TT}. Heads followed by tails differs from tails followed by heads.

    For fair, independent flips, the four sequences are equally likely. A small tree would split first into H and T, then split each of those branches into H and T again.

  4. 4
    Key InsightGrouping changes the chances

    If you record only the number of heads, the sample space becomes {0,1,2}. It is complete and has no overlap, so it is valid.

    But one head combines HT and TH, while zero and two heads each come from one sequence. The count probabilities are 1/4, 1/2, and 1/4. A new set of labels does not make the labels equally likely.

  5. 5
    ChallengeCheck a list after removing an item

    A bag holds one red, one blue, and one green marble. Two are drawn without replacement and their colors are recorded in order. Can RR belong to the sample space?

    ---reveal---

    No. After red is drawn, it is gone, so red cannot appear second. The complete color list is RB, RG, BR, BG, GR, GB. Replacement would restore red and allow RR, along with BB and GG.

  6. 6
    ExplanationMake an event from outcomes

    On one die roll, let A={2,4,6} mean “even,” and B={4,5,6} mean “greater than 3.” An event occurs when the result belongs to its set.

    The intersection means both descriptions: A∩B={4,6}. The union means either or both: A∪B={2,4,5,6}. Include a shared result once in the union.

  7. 7
    TipCheck what not leaves behind

    The complement of an event contains all outcomes outside that event. For the even event, A′={1,3,5}. The event and its complement together cover the die’s sample space without overlap.

    “Neither A nor B” goes outside both sets, leaving 1 and 3. “A but not B” stays in A but removes the overlap, leaving only 2.

  8. 8
    ChallengeAt least, at most, or exactly

    For two flips, which outcomes mean “at most one head”? Is this the complement of “at least one head”?

    ---reveal---

    “At most one” includes zero or one: TT, HT, TH. It is not the complement of “at least one,” because HT and TH belong to both. The complement of “at least one head” is only TT, meaning no heads.

  9. 9
    ExplanationChoose a counting model

    For a finite set of equally likely outcomes, divide the count in the event by the total count. A fair die gives three even results out of six, so the probability is 0.5.

    For two dice, count the 36 ordered pairs, not the 11 possible sums as if they had equal chances. A sum of 7 has six pairs and probability 6/36=1/6.

  10. 10
    ExampleUse observed frequencies

    If 140 of 500 recent customers used a coupon, the observed relative frequency is 0.28. This is an empirical probability estimate for the process those customers came from.

    The law of large numbers describes how relative frequency tends toward probability over many independent repetitions. A short run can differ substantially, and later trials do not have to compensate for earlier results.

  11. 11
    ExampleFind no six first

    To find “at least one six” in two fair, independent die rolls, start with its complement: no six. Each die then has five acceptable faces.

    There are 5×5=25 no-six pairs among 36 equally likely pairs. So P(at least one six)=1−25/36=11/36≈0.3056. Keep the fraction until the final rounding.

  12. 12
    ChallengeSpot the double count

    Why does adding 1/6+1/6 fail to give the probability of at least one six in two fair die rolls?

    ---reveal---

    The first term includes every first-die six, and the second includes every second-die six. The pair (6,6) appears in both. Subtract its probability, 1/36, once: 12/36−1/36=11/36. The union needs one copy of that pair.

  13. 13
    ChallengeCombine wording with a probability

    Two fair coins are flipped independently. What is the probability of exactly one tail, and how does it differ from at least one tail?

    ---reveal---

    Exactly one tail includes HT and TH, giving 2/4. At least one also includes TT, giving 3/4. Recording only counts is valid, but assigning one-third to each count would lose the two sequences making exactly one tail.

  14. 14
    RecapA useful order for solving

    Set up the experiment and its recording rule, then translate the requested event. Choose probabilities appropriate to the outcomes or the observed data.

    When the event says “at least one,” checking “none” can simplify the work. Before accepting an answer, check that the probability is between 0 and 1 and that any full outcome model totals 1.

2

See the overlap before you add

11 steps
Use the addition rule and build Venn regions from the inside out.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionOne person can belong to both groups
  2. 2
    ExplanationAsk whether both can happen
  3. 3
    AnalogyOne name appearing on two lists
  4. 4
    ExampleApply the general addition rule
  5. 5
    ChallengeFind an unknown shared part
  6. 6
    ExamplePut the gym overlap in first
  7. 7
    ExampleFill the outside
  8. 8
    Key InsightOnly and not select different regions
  9. 9
    ChallengeChange the group in the question
  10. 10
    ChallengeRead a diagram and check the addition rule
  11. 11
    RecapUse regions to check your work
3

Read the group before dividing

12 steps
Use a course-completion table to distinguish joint, marginal, and conditional probabilities.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionThe same count can give different answers
  2. 2
    ExampleBuild the attendee row
  3. 3
    ExampleFinish the margins
  4. 4
    ExplanationChoose a cell or a margin
  5. 5
    ChallengeRead an or event from cells
  6. 6
    AnalogyZoom in on one row
  7. 7
    ExplanationWrite the denominator rule
  8. 8
    ExampleReverse the question
  9. 9
    ChallengeKeep the condition when taking a complement
  10. 10
    ConnectionCompare groups without assigning a cause
  11. 11
    ChallengeIdentify two denominators
  12. 12
    RecapName what the fraction counts
4

Follow the path, then combine the paths

16 steps
Update draws, test independence, and connect a probability tree to imagined counts.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionLater chances can change
  2. 2
    ExplanationUse the chance after the first event
  3. 3
    ExampleRemove a dead battery
  4. 4
    ExampleUse all good as a complement
  5. 5
    ChallengeChange the replacement rule
  6. 6
    ExplanationCheck whether the condition changes anything
  7. 7
    ExampleCompare a café’s rates
  8. 8
    ChallengeDoes no overlap mean independence?
  9. 9
    TipSeparate exact and approximate independence
  10. 10
    ExampleBuild the marble branches
  11. 11
    ExampleMultiply each complete path
  12. 12
    ChallengeInclude both orders
  13. 13
    ExampleWeight two factory rates
  14. 14
    ConnectionRead a tree as imagined counts
  15. 15
    ChallengeCheck independence with the tree
  16. 16
    RecapA path and an event need different operations
5

Turn evidence into an updated probability

14 steps
Use natural frequencies and Bayes’ theorem to reverse conditional information.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionThe result changes the group
  2. 2
    ExplanationName the starting groups
  3. 3
    ExampleStart with 10,000 imagined people
  4. 4
    ExampleFollow the much larger group
  5. 5
    ExampleRestrict to positive results
  6. 6
    ChallengeRead the negative result
  7. 7
    Key InsightThe base rate changes the answer
  8. 8
    ExplanationWrite the update as a ratio
  9. 9
    ExampleTrace a defective part
  10. 10
    ChallengeExplain the missing division
  11. 11
    ExampleInclude a third cause
  12. 12
    TipKeep a complement within its condition
  13. 13
    ChallengeDiagnose a claim about an accurate test
  14. 14
    RecapFollow causes forward, then condition backward

Probability Basics practice questions

40 Practice Questions in 4 sets

Set 1: Outcomes, groups, and first calculations10 Practice Questions

Question 1 of 10

A technician tests two switches and records each as on (O) or off (F), in order. What is the complete sample space?
  1. OO, OF, FF
  2. OO, OF, FO, FF
  3. OO, FO, FF
  4. OO, FF
Show answerHide answer
Answer: B
Each switch has two possible states, and recording order gives four pairs: OO, OF, FO, and FF. The mixed states OF and FO are separate outcomes because they identify different switches as on. Combining them into one entry would lose the recorded order.

Question 2 of 10

A warehouse records the number of damaged items in a three-item delivery. What event is the complement of “at least one damaged item”?
  1. One damaged item
  2. At most one damaged
  3. Some undamaged items
  4. No damaged items
Show answerHide answer
Answer: D
The complement contains every result outside the original event, so it contains only the count zero. “Some undamaged items” is not the complement: a delivery with one damaged and two undamaged items satisfies both that description and the original event.

Question 3 of 10

Of 750 recent support requests, 165 required a follow-up call. What is the relative-frequency estimate of the probability that a request requires a follow-up?
  1. 0.22
  2. 0.18
  3. 0.28
  4. 0.78
Show answerHide answer
Answer: A
The event occurred 165 times in 750 observations, so its relative frequency is 165/750=0.22. The value 0.78 is the estimated probability of no follow-up, the complementary event. The denominator includes all requests, not just those without a follow-up.

Question 4 of 10

At a library, 48% of patrons borrow fiction, 35% borrow nonfiction, and 18% borrow both. What proportion borrow fiction or nonfiction?
  1. 0.83
  2. 0.47
  3. 0.65
  4. 0.18
Show answerHide answer
Answer: C
Add 0.48 and 0.35, then subtract the shared 0.18 once to get 0.65. The sum 0.83 counts patrons who borrow both types twice. The requested “or” includes those patrons once; it does not exclude them as an exactly-one question would.

Question 5 of 10

Among 180 residents, 95 have a bicycle, 70 have a bus pass, and 35 have both. How many have neither?
  1. 50
  2. 35
  3. 15
  4. 85
Show answerHide answer
Answer: A
The bicycle-only and bus-pass-only regions contain 60 and 35 residents, so the union contains 130. Subtracting that union from 180 gives 50 with neither. Subtracting both full event totals directly gives 15 because it removes the shared 35 residents twice.

Question 6 of 10

A survey of 240 employees records 54 who both work remotely and use a standing desk. What is the joint probability of those two characteristics for a randomly selected employee?
  1. 0.775
  2. 0.450
  3. 0.225
  4. 0.540
Show answerHide answer
Answer: C
A joint probability divides the count satisfying both descriptions by the entire group: 54/240=0.225. The value 0.775 describes the complement, employees who do not have both characteristics. A conditional probability would need a restricted-group total, which this question does not request.

Question 7 of 10

Of 84 volunteers who completed training, 63 later attended an event. What is the probability of event attendance given completed training?
  1. 0.25
  2. 0.75
  3. 0.63
  4. 0.84
Show answerHide answer
Answer: B
The condition restricts the group to the 84 trained volunteers, and 63 of them attended. Thus the requested probability is 63/84=0.75. The value 0.25 is the probability of not attending within that same trained group, so it answers the complementary question.

Question 8 of 10

A box contains 12 light bulbs, 4 defective. Two are selected randomly without replacement. What is the probability both are defective?
  1. 1/9
  2. 4/33
  3. 1/3
  4. 1/11
Show answerHide answer
Answer: D
The first defective chance is 4/12, then 3 defective bulbs remain among 11 bulbs. The product (4/12)(3/11)=1/11 gives both defective. Using 1/9 repeats the original defective rate and incorrectly treats the first bulb as replaced.

Question 9 of 10

A probability model gives P(A)=0.4, P(B)=0.3, and P(A∩B)=0.12. What relationship holds between the events?
  1. Mutually exclusive and dependent
  2. Mutually exclusive and independent
  3. Overlapping and independent
  4. Overlapping and dependent
Show answerHide answer
Answer: C
The joint probability equals 0.4×0.3=0.12, so the product check establishes independence. The positive intersection means the events can occur together. Calling them mutually exclusive would require zero overlap, which contradicts the model.

Question 10 of 10

In a hypothetical population, 2% have a condition. A test is positive for 80% of those with it and 5% of those without it. Among positive results, approximately what proportion have the condition?
  1. 0.1600
  2. 0.2462
  3. 0.3265
  4. 0.8000
Show answerHide answer
Answer: B
In 10,000 imagined people, 200 have the condition and produce 160 positives; the other 9,800 produce 490 positives. The requested share is 160 of all 650 positives, about 0.2462. Giving 0.80 reverses the conditional: it is the positive rate among people with the condition.
Set 2: Combining rules and following evidence10 Practice Questions

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

Question 1 of 10

A bag holds one red, one blue, one yellow, and one green tile. Two are drawn randomly without replacement, and colors are recorded in order. How many possible ordered outcomes contain a red tile?
  1. 3
  2. 6
  3. 12
  4. 4
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Four possible outcomes have probabilities 0.18, 0.27, 0.31, and an unknown value. What must the unknown probability be?
  1. 0.76
  2. 0.31
  3. 0.24
  4. 0.25
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

An enrollment model gives P(A)=0.58, P(B)=0.46, and P(A∪B)=0.79. What is the probability of both events?
  1. 0.25
  2. 0.33
  3. 0.21
  4. 0.79
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A table of 320 deliveries lists 72 local on-time, 48 local late, 160 distant on-time, and 40 distant late. What is the marginal probability of an on-time delivery?
  1. 0.725
  2. 0.225
  3. 0.500
  4. 0.600
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A survey finds that 72 of 120 commuters cycle, while 72 of all 90 cyclists commute. What are the cycling rate among commuters and the commuting rate among cyclists, respectively?
  1. 0.8 and 0.6
  2. 0.6 and 0.6
  3. 0.8 and 0.8
  4. 0.6 and 0.8
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A shipment has 15 items, including 5 damaged. Two are drawn randomly without replacement. What is the probability at least one is damaged?
  1. 3/7
  2. 4/7
  3. 5/9
  4. 2/3
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A retailer obtains 75% of its goods from depot X and 25% from depot Y. Damage rates are 4% for X and 12% for Y. What is the overall damage probability?
  1. 0.04
  2. 0.08
  3. 0.06
  4. 0.03
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A hypothetical test has sensitivity 85% and specificity 96%. The condition affects 4% of the tested group. Given a negative result, what is the probability of having no condition?
  1. 0.8500
  2. 0.9600
  3. 0.9960
  4. 0.9935
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A repair shop gets 70% of parts from source X and 30% from source Y. Their failure rates are 2% and 7%, respectively. Given that a part failed, what is the probability it came from Y?
  1. 0.3000
  2. 0.6000
  3. 0.0350
  4. 0.7000
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Three routes carry 40%, 35%, and 25% of parcels. Their delay rates are 3%, 4%, and 8%. Given a delayed parcel, what is the probability it used the third route?
  1. 0.2500
  2. 0.0200
  3. 0.5882
  4. 0.4348
Show answerHide answer

Save this lesson to see this answer.

Set 3: Checking denominators and dependence10 Practice Questions

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

Question 1 of 10

For a die roll, A={1,3,5} and B={3,4,5}. What set represents “A but not B”?
  1. {1}
  2. {3,5}
  3. {2,6}
  4. {1,3,4,5}
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

At a conference, 55% attended a workshop, 42% attended a lecture, and 12% attended neither. What proportion attended both?
  1. 0.12
  2. 0.33
  3. 0.09
  4. 0.03
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Among 100 members, 50 join A, 45 join B, and 40 join C. Pair totals are 20 in A and B, 18 in A and C, and 15 in B and C; 8 join all three. How many join exactly one club?
  1. 78
  2. 29
  3. 44
  4. 53
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A table has 180 cases. Of 70 in group A, 42 succeed. There are 99 successes overall. How many cases are outside A and unsuccessful?
  1. 53
  2. 81
  3. 57
  4. 28
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

In a survey of 300 workers, 120 have flexible hours. Of these, 84 report high satisfaction; among other workers, 90 do. How should the satisfaction comparison be interpreted?
  1. Flexible hours caused a 20-point increase.
  2. Satisfaction is 70% versus 50%; causes remain unresolved.
  3. Satisfaction is 28% versus 30%; flexible hours lower it.
  4. Satisfaction is 70% versus 50%; the groups are independent.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A bag contains 6 gold and 4 silver tokens. Three are drawn randomly without replacement. What is the probability that exactly the first two are gold?
  1. 3/50
  2. 1/6
  3. 3/10
  4. 1/18
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A model gives P(A)=0.65, P(B)=0.40, and P(A∣B)=0.50. What are the joint probability and dependence status?
  1. 0.26; independent
  2. 0.50; dependent
  3. 0.20; dependent
  4. 0.20; independent
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A batch comes from line X with probability 0.8 or line Y with probability 0.2. Within each line, two tested items fail independently, with rates 0.01 for X and 0.10 for Y. What is the probability both fail?
  1. 0.000784
  2. 0.002080
  3. 0.005050
  4. 0.010000
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Two hypothetical populations use the same test with sensitivity 90% and false positive rate 10%. Prevalence is 1% in population L and 20% in H. In which population is a positive result more likely to indicate the condition?
  1. L, because false positives are rarer.
  2. The same, because test rates match.
  3. H, because sensitivity becomes higher.
  4. H, because more positives are true positives.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A factory uses three sources with shares 20%, 50%, and 30%. Their defect rates are 6%, 2%, and 4%. After observing a defect, what are the three source probabilities, respectively?
  1. 1/3, 1/3, 1/3
  2. 0.2, 0.5, 0.3
  3. 6/17, 5/17, 6/17
  4. 1/2, 1/6, 1/3
Show answerHide answer

Save this lesson to see this answer.

Set 4: Choosing models and reversing probabilities10 Practice Questions

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

Question 1 of 10

A bag holds two red and two blue tiles. Two are drawn randomly without replacement, and only the number of red tiles is recorded. What is the probability model for counts 0, 1, and 2?
  1. 0: 1/3; 1: 1/3; 2: 1/3
  2. 0: 1/4; 1: 1/2; 2: 1/4
  3. 0: 1/6; 1: 2/3; 2: 1/6
  4. 0: 1/6; 1: 1/3; 2: 1/2
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Two deliveries are classified as on time or late. What does “at most one late delivery” include?
  1. No late deliveries or one late delivery
  2. One late delivery or two late deliveries
  3. Exactly one late delivery, with either order
  4. No late deliveries or two late deliveries
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A fair die has shown no 2 in its last 18 independent rolls. What is the probability of a 2 on the next roll?
  1. 1/19
  2. 1/3
  3. 5/6
  4. 1/6
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Among 250 customers, 140 use an app, 110 use a website, and 45 use neither. Given that a customer uses exactly one service, what is the probability it is the app?
  1. 0.6829
  2. 0.5938
  3. 0.4634
  4. 0.5600
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A college reports that 30% of students work evenings and 18% both work evenings and study part time. Among part-time students, 45% work evenings. What proportion of all students study part time?
  1. 0.60
  2. 0.40
  3. 0.45
  4. 0.54
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A uniform random choice is made from 200 records. A appears in 80 records, B in 70, and both in 28. What is the probability of neither, and are A and B independent?
  1. 0.39; dependent
  2. 0.25; independent
  3. 0.39; independent
  4. 0.14; dependent
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A tree starts with A: 0.35 and B: 0.65. After A, success is 0.8; after B, success is 0.4. In an imagined group of 2,000 trials, how many successes are expected?
  1. 1,080
  2. 1,200
  3. 560
  4. 520
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Two hypothetical tests screen a population with prevalence 3%. Test M has sensitivity 90% and specificity 95%; test N has sensitivity 80% and specificity 99%. Which test has the larger positive predictive value?
  1. M, about 35.8% versus 28.8%
  2. M, about 90.0% versus 80.0%
  3. N, about 99.0% versus 95.0%
  4. N, about 71.2% versus 35.8%
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

In a mailbox, 25% of messages are spam. A phrase occurs in 60% of spam messages and 8% of non-spam messages. What is the probability the phrase is absent given that a message is non-spam?
  1. 0.40
  2. 0.92
  3. 0.08
  4. 0.75
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A store buys from suppliers X and Y with defect rates 2% and 8%. Half of all defective items come from X. What share of all items comes from X?
  1. 0.50
  2. 0.20
  3. 0.80
  4. 0.75
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

55 Key Terms, each with its definition

A

Association
An association is a relationship in which the distribution or probability of one characteristic differs across groups of another.
Different completion rates among attendees and non-attendees show an association that can have several explanations.

B

Base rate neglect
Base rate neglect is an error in updating probabilities that ignores how common the possible causes were before the evidence.
Using sensitivity alone to interpret a positive test leaves out how many people started without the condition.
Bayes’ theorem
Bayes’ theorem updates a cause’s probability by dividing its cause-and-evidence probability by the total probability of the evidence.
To trace a defective part, divide one supplier’s defective path by the sum of defective paths from every supplier.
Branch probability
A branch probability gives the chance of one next-stage result within the group or history reaching that point of a tree.
A 2% defect label after machine A describes A’s output; it is not the share of all parts that are A-defective.

C

Chance experiment
A chance experiment is a process with known possible results whose particular result cannot be predicted with certainty in advance.
Selecting a customer at random is a chance experiment even though the customer list is already fixed.
Complement
The complement of an event contains all sample-space outcomes outside that event, with no outcome shared between the two.
For two coin flips, “no heads” is the complement of “at least one head”; mixed flips belong to the latter.
Conditional probability
A conditional probability is an event’s probability within a specified given event, using that given group as the denominator.
“Completion among attendees” restricts attention to the attendees before finding the fraction who completed.
Conditioning event
A conditioning event is the information treated as known in a conditional probability, which defines the restricted group.
In the probability of satisfaction given flexible hours, flexible hours is the conditioning event.
Confusion of the inverse
The confusion of the inverse is the error of treating an event given evidence as having the same probability as the evidence given that event.
A high positive-test rate among people with a condition is not the condition rate among positive tests.
Contingency table
A contingency table records counts for two categorical variables, with each cell showing membership in both its row and column.
Classifying students by orientation attendance and course completion produces a two-way contingency table.

D

Dependent events
Dependent events fail the independence product equality; for positive-probability events, conditioning changes the relevant chance.
Taking a red marble out of a small bag changes the chance of red on the next draw without replacement.

E

Empirical probability
An empirical probability is a probability estimate based on the observed relative frequency of an event in data.
A store can estimate a return probability from its past orders, tying the estimate to that sales process.
Empty set
The empty set contains no outcomes and represents an impossible event within the specified sample space.
The event “roll a 7” on an ordinary six-sided die is the empty set because no possible roll satisfies it.
Equally likely outcomes
Equally likely outcomes are possible recorded results that all have the same probability in the chosen model.
On a fair die each face is equally likely, but sums from two fair dice have different numbers of paths.
Event
An event is a set of outcomes from the sample space that occurs whenever the recorded result belongs to that set.
For a die roll, the event “even” includes 2, 4, and 6 and occurs when any one of those results appears.
Evidence
Evidence is the observed event used to restrict the possible cases and update the probabilities of the causes that could produce it.
Seeing a defective part is evidence; the machine that produced it is the unknown cause being considered.
Exhaustive causes
Exhaustive causes cover every possible source of the observed case, so no contributing source is left out of the update.
If all components come from three suppliers, all three defective paths belong in the Bayes denominator.
Expected count
An expected count is the model-based number obtained by multiplying an imagined group size by a relevant probability.
A 3.2% defect probability gives 32 expected defects per 1,000 parts, while an actual batch can differ.

F

False positive rate
The false positive rate is the probability of a positive test among people without the condition and equals one minus specificity.
A 9% false positive rate in 9,900 people without the condition produces 891 model-based false positives.

G

Gambler’s fallacy
The gambler’s fallacy is the belief that past independent results make a compensating result more likely on the next trial.
After five fair heads, saying “tails is due” makes this error; the next independent flip still has chance one-half.
General addition rule
The general addition rule finds a union by adding two event probabilities and subtracting their intersection once.
Combining two service-user totals requires removing one copy of the customers already counted in both.
General multiplication rule
The general multiplication rule finds a joint probability by multiplying one event’s probability by the other’s conditional probability.
To find two dead batteries drawn from a box, multiply the first-dead probability by the second-dead chance after the first draw.
Grand total
The grand total is the number of all individuals or observations in a contingency table, each counted once.
Adding all interior cells gives the grand total; adding the printed margins again would repeat the counts.

I

Inclusive or
Inclusive or means one event, the other event, or both; it is the meaning used for “or” in probability unions.
“App or website user” includes a person who uses both services as well as a person who uses just one.
Independence check
An independence check compares P(A∩B) with P(A)P(B), or compares a defined conditional probability with its marginal.
If card use is 75% both overall and among weekend purchases, knowing that a purchase fell on a weekend leaves that rate unchanged.
Independent events
Independent events have a joint probability equal to the product of their individual probabilities; learning one does not change the other.
A separate fair coin flip does not change a fair die’s chance of showing 6, so the two results are independent.
Intersection
The intersection of two events contains the outcomes that belong to both events and is written using the symbol ∩.
A result of 6 belongs to the intersection of “even” and “greater than 3” on a six-sided die.

J

Joint probability
A joint probability is the probability that two events both occur, found from a relevant cell over the grand total in a count table.
In a table of students by orientation attendance and course completion, the share who both attend and complete is measured against all students.

L

Law of large numbers
The law of large numbers describes how relative frequency tends toward probability over many independent repetitions of an experiment.
A long run of fair flips tends toward a half heads even though a short run may contain a strong streak.

M

Marginal probability
A marginal probability describes one categorical event without restricting the other variable and uses a margin over the grand total.
For students classified by orientation attendance, course completion among all of them is a marginal probability, combining both attendance groups.
Marginal total
A marginal total is a row or column total that counts one category while combining all categories of the other variable.
In a table of students by orientation attendance and course completion, adding attendees and non-attendees who completed gives the completion margin total.
Mutually exclusive events
Mutually exclusive events, also called disjoint events, have no outcomes in common and cannot occur together on a trial.
On one die roll, “a 1” and “a 6” are mutually exclusive; on separate rolls, both descriptions can occur.

N

Natural frequencies
Natural frequencies express a probability model as counts in an imagined group, following the condition and test stages in order.
Starting with 10,000 people can turn small percentages into counts that fit a simple condition-by-result table.
Neither event
Neither event is the region outside both named events and is the complement of their union within the sample space.
In a Venn diagram of customers and two services, people using neither service sit outside both circles but inside the customer rectangle.

O

Only region
An only region contains outcomes in one named event but outside the other event or events in the diagram.
If 64 people use an app and 19 also use a website, the app-only region contains the other 45 people.
Ordered pair
An ordered pair records two results in specified positions, so reversing different entries produces a different pair.
In a dice grid, the first coordinate can record the red die and the second coordinate the blue die.
Outcome
An outcome is one possible recorded result of a trial, defined by the feature and level of detail that the experiment records.
For two dice recorded in order, a 2 followed by a 5 is one outcome; a 5 followed by a 2 is another.
Overlap
An overlap is the shared part of two events that is counted in each event total and must be counted once in their union.
A student taking both math and science lies in the overlap of those enrollment events for the term.

P

Path probability
A path probability is the joint chance of a complete sequence, calculated by multiplying all its conditional branch probabilities.
In a machine-then-defect tree, the path “machine A then defective” includes both A’s production share and the defect rate within A’s output.
Positive predictive value
The positive predictive value is the probability of the condition given a positive result, using all positive results as its group.
With 90 true positives and 891 false positives, positive predictive value is 90 divided by all 981 positives.
Posterior probability
A posterior probability is the updated probability of an event or cause after conditioning on the evidence that was observed.
After a positive result, the condition rate within the positive group is the posterior probability of the condition.
Prevalence
Prevalence, or base rate, is the proportion of a specified group with a condition before using an individual’s test result.
At 1% prevalence, an imagined group of 10,000 includes 100 with the condition before testing is considered.
Prior probability
A prior probability is the probability assigned to an event or cause before observing the evidence used for an update.
A machine’s production share is the prior chance it supplied a randomly chosen part before a defect is observed.
Probability
A probability is a number from 0 to 1 measuring how likely an event is, with 0 for impossible and 1 for certain events.
A chance of 0.25 can also be written as one-quarter or 25%, with all three forms describing the same chance.

R

Relative frequency
A relative frequency is the number of times an event occurred divided by the total number of trials or observations.
If 36 of 150 purchases use a coupon, coupon use has relative frequency 0.24 in those observations.

S

Sample space
A sample space is the set of all possible recorded outcomes, arranged so that each trial belongs to exactly one entry.
Recording two coin flips as ordered sequences gives four entries, while counting heads gives three.
Sensitivity
A test’s sensitivity is the probability of a positive result given the condition, using people with the condition as its group.
At 90% sensitivity, an imagined 100 people with the condition produce 90 positive results and 10 negatives.
Specificity
A test’s specificity is the probability of a negative result given no condition, measured within the no-condition group.
A specificity of 91% leaves a 9% false positive rate among the people who do not have the condition.

T

Tree diagram
A tree diagram shows possible results in stages, with later probabilities conditional on the path that has already been followed.
A machine-first, defect-second tree separates production shares from defect rates within each machine.
Triple overlap
A triple overlap is the region shared by three events, included within each full pair intersection and each circle total.
Fill an all-three-clubs count first, then subtract it from pair totals to find the pair-only regions.

U

Union
The union of two events contains every outcome in either event, including the overlap, with each outcome included once.
A customer buying tea, coffee, or both belongs to the union of the tea-buyer and coffee-buyer events.

V

Venn diagram
A Venn diagram displays events as regions inside a sample-space rectangle, making intersections and complements visible.
In a gym diagram, the overlap holds members who use both cardio machines and weights, each counted once.

W

Weighted overall probability
A weighted overall probability combines a rate in each separate group with that group’s share, then adds the resulting paths.
Multiplying each machine’s defect rate by its output share gives each machine the correct weight in the total.
With replacement
Drawing with replacement returns an item to the group before the next draw, restoring the group’s original composition.
Replacing and mixing a drawn card leaves all 52 cards available again for the next random selection.
Without replacement
Drawing without replacement leaves selected items out of the group, so later probabilities reflect the changed contents.
After drawing a dead battery from a box, both the dead count and the total count are lower for the next draw.

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