Mu6, Mu7 - Conditional probability and two-way data

Mu6, Mu7 - Conditional probability and two-way data

Calculate conditional probabilities from the tables, trees, Venn regions and sample-space information in Mu6. Then use Mu7 to decide whether a probability stays unchanged after conditioning, giving a numerical argument for independence.

A condition selects the relevant group

Can six people represent both 3/83/8 and 1/31/3 of a group? In a library survey, six people have online membership and borrow fiction. There are sixteen fiction borrowers and eighteen online members. The six are the same people, but the group used as the denominator changes.

You already know

A∩BA\cap B means both events and A′A' means not AA. With equally likely outcomes, a probability is a favourable count divided by the count of the relevant sample space. A probability need not remain the same when that space is restricted.

“Given fiction” removes the non-fiction borrowers from consideration before any division takes place.

Conditional probability

P(A∣B)\mathrm P(A\mid B) means the probability of AA given BB. It measures AA within the outcomes satisfying BB. The event after the bar is the condition, so its probability supplies the denominator.

A person is selected uniformly from this complete survey of 40. Let AA mean online membership and BB mean borrowing fiction.

BBB′B'Total
AA61218
A′A'101222
Total162440

The joint event has probability P(A∩B)=6/40\mathrm P(A\cap B)=6/40. A conditional probability is a different fraction.

Conditional probability from a joint event

For P(B)>0\mathrm P(B)>0,

P(A∣B)=P(A∩B)P(B).\mathrm P(A\mid B)=\frac{\mathrm P(A\cap B)}{\mathrm P(B)}.

A zero denominator does not define a conditional probability by this rule; an empty conditioned group supplies no usable proportion.

In the formula sheet.

The table lets you choose the required group directly, without treating a conditional as a joint probability.

Worked example 1: membership within fiction borrowers

Question. Use the complete library table to find P(A∣B)\mathrm P(A\mid B) and P(A′∣B)\mathrm P(A'\mid B).

Plan. Keep only the fiction column, then divide each relevant count by its total.

P(A∣B)=616=38members among fiction borrowersP(A′∣B)=1016=58non-members in the same group\begin{aligned} \mathrm P(A\mid B)&=\frac6{16}=\frac38 &&\text{members among fiction borrowers}\\ \mathrm P(A'\mid B)&=\frac{10}{16}=\frac58 &&\text{non-members in the same group} \end{aligned}

Why this step? The information given has already restricted the selection to sixteen people.

Answer. The probabilities are 3/83/8 and 5/85/8.

Check. They sum to 1. The formula gives the same result: (6/40)/(16/40)=3/8(6/40)/(16/40)=3/8.

Change only the condition to not borrowing fiction. Keep the membership event and the complete table unchanged.

Worked example 2: membership within non-fiction borrowers

Question. From the same table find P(A∣B′)\mathrm P(A\mid B') and P(A′∣B′)\mathrm P(A'\mid B').

Plan. Use the non-fiction column and its total of 24.

P(A∣B′)=1224=12members within B′P(A′∣B′)=1224=12non-members within B′\begin{aligned} \mathrm P(A\mid B')&=\frac{12}{24}=\frac12 &&\text{members within }B'\\ \mathrm P(A'\mid B')&=\frac{12}{24}=\frac12 &&\text{non-members within }B' \end{aligned}

Why this step? The condition selects the sample space before the event count is divided by its size.

Answer. Both probabilities are 1/21/2.

Check. The two counts fill all 24 non-fiction borrowers. A denominator of 40 would instead give the corresponding joint probabilities.

The complete table also contains six fiction borrowers among eighteen online members, giving 6/18=1/36/18=1/3. That is the opening puzzle: changing the conditioned group changes the denominator. It does not justify exchanging the order of event symbols in an answer.

Watch out

Wrong: P(A∣B)=6/40\mathrm P(A\mid B)=6/40. Right: 6/166/16. The numerator concerns both events, while the denominator concerns the given event alone.

Use the same restricted-group reasoning on a fresh survey.

Later branches contain conditional probabilities

A later branch describes the situation after the earlier branch has occurred; it is not the probability of the whole path.

Write G1,Y1G_1,Y_1 for first green or yellow, and G2,Y2G_2,Y_2 for the corresponding second-draw events. After Y1Y_1, the branch to green is P(G2∣Y1)\mathrm P(G_2\mid Y_1).

A complete conditional path

For P(A)>0\mathrm P(A)>0,

P(A∩B)=P(A)P(B∣A).\mathrm P(A\cap B)=\mathrm P(A)\mathrm P(B\mid A).

This works for dependent events too. The conditional second factor becomes P(B)\mathrm P(B) only when independence applies.

In the formula sheet.

Outgoing branches from each node are disjoint and exhaustive, so their probabilities sum to 1. Distinct final paths are disjoint and can be added.

Green-yellow branches and complete paths for two draws without replacement

Worked example 3: a branch and its joint path

Question. A bag contains four green and five yellow counters. Two are drawn without replacement. Find P(G2∣Y1)\mathrm P(G_2\mid Y_1), P(Y1∩G2)\mathrm P(Y_1\cap G_2), and the probability of different colours.

Plan. Use the remaining bag after yellow, then add the two mixed-colour paths.

P(G2∣Y1)=48=12four green remainP(Y1∩G2)=59×48=518complete the pathP(G1∩Y2)=49×58=518the other orderP(different)=59add disjoint paths\begin{aligned} \mathrm P(G_2\mid Y_1)&=\frac48=\frac12 &&\text{four green remain}\\ \mathrm P(Y_1\cap G_2)&=\frac59\times\frac48=\frac5{18} &&\text{complete the path}\\ \mathrm P(G_1\cap Y_2)&=\frac49\times\frac58=\frac5{18} &&\text{the other order}\\ \mathrm P(\text{different})&=\frac59 &&\text{add disjoint paths} \end{aligned}

Why this step? The branch already assumes first yellow; the joint event must include the chance of reaching that branch.

Answer. The three probabilities are 1/21/2, 5/185/18 and 5/95/9.

Check. GG has probability 1/61/6, YY has probability 5/185/18, and all four path probabilities sum to 1.

Change only replacement. Restore and thoroughly mix the counter between independent draws; keep the bag and requested events fixed.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account