The University of Hong Kong · FACULTY OF MATHEMATICS

MATH1853 Chap.10 Conditional Probability, Independence and Bayes

- one subject, every graph, every model, every mark
6 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 10 of 11 · MATH1853

Conditional Probability, Independence and Bayes

Conditioning replaces the denominator

Conditional probability measures an event inside the event known to have occurred. Independence says conditioning does not change probability, while disjoint positive-probability events are necessarily dependent.

Total probability constructs the evidence denominator from a partition, and Bayes reverses the conditioning direction using prior and likelihood information.

Read the conditioning bar in words

The expression for A given B asks, among cases where B occurred, what fraction also have A. That sentence fixes B as the denominator before any numbers are substituted.

Reversing the bar changes the population under consideration and generally changes the value. A contingency table makes the restriction visible: divide the appropriate joint cell by the B row or column total, not by the marginal total for A.

Distinguish disjointness from independence

Disjoint events cannot occur together, so their intersection has probability zero.

Independent events satisfy a product rule for their intersection. Two disjoint events with positive probabilities therefore cannot be independent because the product of their probabilities is positive. Independence instead says learning one event occurred does not change the probability of the other, provided the conditioning probability is nonzero.

Test the product equation directly rather than relying on a diagram that merely shows separated regions.

Build joint masses on a tree

A probability tree places prior probabilities on the first branches and conditional likelihoods on the next branches. Multiply along a path to obtain a joint mass and add terminal paths to obtain a marginal event probability. All branches leaving one node must sum to one.

Keeping every quantity in the same scale, such as decimals or expected counts per thousand, prevents percentage conversion errors and makes the final denominator a transparent sum of compatible evidence paths.

Use total probability for the evidence

When source events form a partition, each source contributes its prior multiplied by the probability of the evidence under that source.

Adding these disjoint joint masses gives the overall evidence probability. Every source capable of producing the evidence belongs in the sum, including sources that appear unlikely. Omitting one reduces the denominator and inflates the remaining posterior probabilities.

Summing the posterior probabilities across the complete partition to one is the strongest final check.

Reverse direction with Bayes

Bayes divides the target source-and-evidence mass by the total evidence mass. The numerator combines the prior for the target source with its likelihood; the denominator combines the corresponding masses for every source.

Posterior odds offer the same update: prior odds are multiplied by a likelihood ratio. Evidence more likely under the target source should increase its posterior relative to its prior, while unfavourable evidence should decrease it.

Movement in the wrong direction signals swapped likelihoods or an incomplete denominator.

State the relevant independence claim

For three or more events, pairwise independence does not automatically imply mutual independence. Mutual independence requires every larger intersection to factor as well. Conditional independence is another distinct statement because it applies inside a restricted sample space.

Display the conditioning event on every factorisation line so that an unconditional claim is not accidentally substituted. A complete solution identifies which independence condition is given, where it is used and which multiplication or covariance simplification it permits.

In this chapter

What this chapter covers

  • 01

    Conditional probability

  • 02

    Intersection probabilities

  • 03

    Independence

  • 04

    Disjointness

  • 05

    Total probability

  • 06

    Bayes' theorem

Worked example · free

Update a source after observing evidence

Q [8 marks]. The marks here indicate suggested working depth and are not a published University assessment scheme. Use original production-line rates to calculate a posterior source probability.
A probability tree factors joint events into stages.A probability tree factors joint events into stages. Multiply branch probabilities along each path, then add the terminal paths compatible with the evidence in the denominator.AA cmultiply pathsadd leaves
A probability tree factors joint events into stages. Multiply branch probabilities along each path, then add the terminal paths compatible with the evidence in the denominator.
  • 2Compute target joint mass.
  • 3Sum all evidence masses.
  • 3Divide and interpret the posterior.
Prior times likelihood gives each joint mass. The target mass divided by total evidence mass gives the posterior.
Sia tip — Write the requested conditional with its bar before choosing numbers.
Glossary

Key terms

Likelihood
The probability of observed evidence under a proposed source or condition.
Posterior Probability
An updated probability after conditioning on observed evidence.
FAQ

Conditional Probability, Independence and Bayes FAQ

Are disjoint events independent?

Not when both have positive probability, because observing one makes the other impossible. Their intersection is zero while independence would require a positive product of marginals.

Why does prevalence matter in screening?

It determines prior mass and therefore enters the reverse probability through Bayes. Even a sensitive test can have modest predictive probability when the condition is uncommon.

How do I check a posterior calculation?

Posterior probabilities across the complete source partition should sum to one. Also confirm that evidence more likely under one source moves that source's probability upward.

Study strategy

Exam move

Read every conditional probability in words before calculating and underline the event that becomes the denominator. Build trees with priors on the first branches and likelihoods on the second, then write the joint mass at each leaf. Sum every evidence-compatible leaf before applying Bayes. Recreate the same problem as a contingency table to check the denominator from a second representation.

Include drills that contrast disjointness with independence and pairwise with mutual independence. Compare each posterior with its prior and explain whether the evidence should move it upward or downward. Finish by confirming that posteriors across the source partition total one.

Working through Conditional Probability, Independence and Bayes in MATH1853? Sia is AskSia’s AI Mathematics tutor — ask any MATH1853 Conditional Probability, Independence and Bayes question and get a clear, step-by-step explanation grounded in how MATH1853 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 52 of your subjects at The University of Hong Kong, plus 1,000+ more Bibles across the AskSia library.
Sia - your MATH1853 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works