Joint, Marginal, and Conditional Distributions — Discrete and Named Distributions
Prerequisite Knowledge
This lecture builds on the following concepts from earlier lectures. If any feel unfamiliar, review the linked notes before proceeding.
Previously Covered in This Subject
- Joint Probability Distributions — covered in Lecture 6 (Random Variables — Discrete and Continuous Distributions)
- Marginal Probability Distributions — covered in Lecture 6
- Random Variables — covered in Lectures 5 and 6
- Conditional Probability — covered in Lecture 3 (Probability Axioms, Conditional Probability, and Total Probability)
- Bayes Theorem and Naive Bayes — covered in Lectures 4 and 5
Joint, Marginal, and Conditional Distributions — Discrete and Named Distributions
7.1 Recap — From One Random Variable to Two
7.1.1 The Progression
The study began with a single random variable. The discussion then extended to two random variables. For each case there are two families:
- Discrete: the probability mass function (PMF), written .
- Continuous: the probability density function (PDF), written .
When two random variables are involved the same split applies — both discrete, both continuous, or one of each (though the focus stays on two variables, not three or more).
7.1.2 Validation Rules
Every probability distribution must satisfy two conditions:
- Non-negativity: For discrete, . For continuous, .
- Total probability equals one:
- Discrete single variable:
- Continuous single variable:
- Discrete two variables:
- Continuous two variables:
If either condition fails, the function is not a valid probability distribution.
7.1.3 Joint Distributions
When two variables appear together the distribution is called the joint distribution:
- Discrete: Joint PMF — . The comma means "and" (intersection). This is a function .
- Continuous: Joint PDF — . This is a function .
The joint distribution gives the probability pattern for both variables together. It contains all the information about how X and Y relate — including whether they are independent.
7.1.4 Marginal Distributions
From the joint distribution one can extract the distribution of a single variable alone. This is the marginal distribution — so named because it historically appeared in the margins of a joint probability table.
- Discrete marginal of X: — sum over all values of Y.
- Discrete marginal of Y: — sum over all values of X.
- Continuous marginal of X: — integrate out Y.
- Continuous marginal of Y: — integrate out X.
- Confusing "marginal" with "conditional." Marginal = ignore the other variable entirely. Conditional = fix the other variable at a specific value. They are different operations with different results.
- Forgetting bounds on integrals. When integrating to get a marginal, always use the full support of the variable being integrated out. If , integrate from 0 to 1 — not from to (though it gives the same result since density is zero outside ).
- Thinking marginals determine the joint. Two different joint distributions can produce the same marginals. The joint contains strictly more information.
7.2 Conditional Probability Extended to Random Variables
7.2.1 From Events to Random Variables
Recall conditional probability for events:
The same idea extends to random variables:
- Discrete:
- Numerator: joint PMF.
- Denominator: marginal of X (, otherwise the conditional is undefined).
- Continuous:
- Numerator: joint PDF.
- Denominator: marginal density of X ().
The pattern is always: joint divided by marginal.
In the continuous case, is itself a valid probability density function in (for a fixed ). It satisfies: because , and dividing by brings the integral back to 1.
Visual Intuition. Picture the joint density as a 3D mountain. Now take a vertical slice at . The cross-section you see is proportional to — it shows how Y is distributed when X is fixed at . The shape of this slice differs from the marginal (the whole mountain squished onto the y-axis) unless X and Y are independent.- Dividing by zero. If (discrete case, impossible value) or (continuous case), the conditional distribution is undefined. You cannot condition on an impossible event.
- Not re-normalizing. Many beginners take the joint value and treat it as the conditional. It is not — you must divide by .
- Confusing with . These are different conditional distributions. uses in the denominator; uses . They are related through Bayes' rule, but are not interchangeable.
7.2.2 Student Q&A
7.3 Independent Random Variables
7.3.1 Condition for Independence
From the discussion of independent events: .
The same condition applies to random variables:
- Discrete: and are independent if and only if for all combinations of and .
- Continuous: and are independent if and only if for all .
In words: the joint equals the product of the marginals.
Equivalent formulation using conditionals: When X and Y are independent, — knowing X does not change the distribution of Y. This follows directly because .7.3.2 How to Test for Independence
Check the condition for every entry in the joint table (discrete) or for the functional form (continuous).
- If the condition fails for even ONE combination, the variables are NOT independent. You can stop checking and conclude "not independent."
- If the condition holds for all combinations, the variables are independent.
> Professor emphasis: Do not conclude independence after checking only one combination. You must verify ALL combinations. One failure is enough to say "not independent." Success on all is required to say "independent."
- Stopping too early. Checking one cell that satisfies the product condition and declaring independence is wrong. You must check ALL cells or the functional form as a whole.
- Assuming independence without checking. If the problem does not state "X and Y are independent," you cannot assume it. Many exam questions test exactly this — they give you a joint table and ask you to test independence. Do the full check.
- Zero correlation ≠ independence. Independence implies zero correlation, but zero correlation does NOT imply independence (except for the multivariate normal distribution). Two variables can have correlation zero and still be strongly dependent (e.g., with X symmetric around zero).
7.3.3 Student Q&A
7.4 Worked Example 1 — Discrete Joint Distribution Table
7.4.1 Problem Setup
X is a random variable taking values . Y is a random variable taking values . The joint probability table as presented in the lecture is:
| X\Y | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| 0 | 1/8 | 1/8 | 1/8 | 0 |
| 1 | 0 | 1/8 | 1/4 | 1/8 |
> Note on the table: Two cells required clarification during class discussion. The table shown above is the corrected version that sums to 1 () and is consistent with the class's conclusions that the table is valid. The initial presentation had (0,2) = 0 and (1,0) = 0, which sums to , not 1. The correction sets (0,2) = 1/8, making Row 0 total and grand total .
7.4.2 Validation
Sum all entries to verify total probability equals 1:
Row 0:
Row 1:
Grand total: … which is NOT 1 in the initially presented version.
Correction: The class concluded the table sums to 1. Setting (0,2) = 1/8 (rather than 0) gives:Row 0: Row 1: Grand total: … still not 1.
The corrected validation that matches the class conclusion requires (0,2) = 1/8 and (1,0) = 1/8, giving Row 0: , Row 1: , Grand total: . All entries . ✓ Valid.
7.4.3 Computing Probabilities from the Table
Using the corrected table (sum = 1):
| X\Y | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| 0 | 1/8 | 1/8 | 1/8 | 0 |
| 1 | 1/8 | 1/8 | 1/4 | 1/8 |
- (1,2):
- (1,3):
- Total: . Answer: .
- (0,0): 1/8, (0,1): 1/8, (0,2): 1/8
- (1,0): 1/8, (1,1): 1/8, (1,2): 1/4
- Total: . Answer: .
- (1,1): sum 2 → 1/8
- (0,2): sum 2 → 1/8
- (1,2): sum 3 → 2/8
- (1,3): sum 4 → 1/8
- Total: . Answer: .
- (1,1): 1/8
- (1,2): 2/8
- Total: . Answer: .
- Misreading inequalities. "X ≥ 1, Y ≥ 2" uses commas to mean AND. Both conditions must hold simultaneously. Do not sum all cells satisfying X≥1 and separately all satisfying Y≥2 — find the intersection.
- Forgetting the joint table is 2D. When computing , you must check every cell individually — there is no shortcut. List all cells, compute , and include those that qualify.
- Assuming the table is valid without checking. Always verify the sum is 1 and all entries are in before using the table for further computation.
7.5 Worked Example 2 — Marginal Distributions from a Joint Table
7.5.1 Problem Setup
X takes values . Y takes values . The joint probabilities are:
| X\Y | 0 | 1 | 2 |
|---|---|---|---|
| 0 | 0.10 | 0.20 | 0.10 |
| 1 | 0.10 | 0.30 | 0.20 |
7.5.2 Validation
Row 0 total: . Row 1 total: . Grand total: . All entries in . ✓ Valid.
7.5.3 Marginal of X
Sum row-wise (for each value of X, sum over all Y):
The marginal probability distribution of X is: . Total = 1.
This distribution gives information exclusively about X. It does not involve Y — Y has been summed out.
7.5.4 Marginal of Y
Sum column-wise (for each value of Y, sum over all X):
The marginal probability distribution of Y is: . Total = 1.
This distribution gives information exclusively about Y.
7.5.5 Conditional Probability from the Table
Interpretation: If we know X=0, then Y=1 happens half the time. : Joint over marginal.
Interpretation: If we know Y=0, then X=1 also happens half the time. Sense-check: Both conditionals give 0.50. But this does NOT mean the variables are independent — it is a coincidence for these two specific values.
7.5.6 Expectation (Mean) from Marginals
: Use the marginal of Y.
Key insight: The expected value of Y is 1.10. This is valid — an expectation (mean) is not a probability and can be any real number; it is not constrained to . The mean is a balancing point, not a probability.
7.5.7 Testing Independence
Condition: for every cell.
Check cell (0,0): . Product of marginals: .
. The condition fails for this combination.
Conclusion: X and Y are NOT independent.> Key rule: If the condition fails for even ONE cell, the variables are not independent. There is no need to check the remaining cells once a failure is found — but to conclude independence you must check ALL cells.
| Cell | Joint | Equal? | |
|---|---|---|---|
| (0,0) | 0.10 | 0.40 × 0.20 = 0.08 | ✗ |
| (0,1) | 0.20 | 0.40 × 0.50 = 0.20 | ✓ |
| (0,2) | 0.10 | 0.40 × 0.30 = 0.12 | ✗ |
| (1,0) | 0.10 | 0.60 × 0.20 = 0.12 | ✗ |
| (1,1) | 0.30 | 0.60 × 0.50 = 0.30 | ✓ |
| (1,2) | 0.20 | 0.60 × 0.30 = 0.18 | ✗ |
Only 2 out of 6 cells match. X and Y are definitively NOT independent.
- Using joint values as conditional probabilities. is NOT the same as . The conditional re-normalizes by the marginal.
- Expecting the mean to be in . E[Y] = 1.10 is perfectly fine. Only probabilities are bounded by 0 and 1; expectations (means) are not.
- Stopping the independence check after one match. Two cells matching does not prove independence. One cell failing does prove dependence.
7.5.8 Student Q&A
7.6 Worked Example 3 — Building a Joint Table for Independent Variables
7.6.1 Problem Setup
Separate (marginal) tables are given:
X:
Y:
The problem states that X and Y are independent. Build the joint table.
7.6.2 Solution
Since they are independent, each joint probability is the product of the marginals:
| X\Y | -2 | 5 | 8 |
|---|---|---|---|
| 1 | |||
| 2 |
Verify total: . ✓
Sense-check: Since the marginals each sum to 1 and we multiplied systematically, the joint must sum to 1. Every row is proportional to the Y marginal, and every column is proportional to the X marginal.- Multiplying marginals when variables are dependent. This is the most common mistake. If X and Y are dependent, . Multiplying anyway produces a fictional joint table.
- Forgetting to verify the total. Even when using the product rule, always check that the resulting joint sums to 1. If it does not, the marginals themselves may be invalid.
7.7 Worked Example 4 — Continuous Joint Distribution
7.7.1 Problem Setup
lies in , lies in . The joint density is:
7.7.2 Validation — Total Probability Equals One
Compute inner integral (with respect to x, treat y as constant):
Now outer integral:
Total = 1. ✓ Valid. Also, on , so non-negativity holds.
7.7.3 Marginal of X
Integrate out Y:
This is a function involving only X. It is the marginal density of X. Note: this is a valid density — on and .
7.7.4 Marginal of Y
Integrate out X:
This is the marginal density of Y.
7.7.5 Integration: How to Approach
When computing a marginal from a continuous joint density:
- Marginal of X: Integrate with respect to Y. X is a spectator — it stays outside the integral.
- Marginal of Y: Integrate with respect to X. Y is a spectator.
Use the power rule: . Evaluate at the upper and lower limits. The lower limit (0) gives zero, so only the upper limit matters.
7.7.6 Computing a Probability
Find :
X ranges from 0 to 0.5. Y ranges from 0.5 to 1.
Step 1 — Inner integral (with respect to Y, treat x as constant):
Step 2 — Outer integral (with respect to X):
Answer: . Sense-check: The region is one quarter of the unit square ( of the area). Since the density is symmetric and gives higher probability near (1,1), the probability of a region near the corner should be somewhat less than 0.25 but not tiny. 0.1875 passes this plausibility check.
7.7.7 Testing Independence for the Continuous Case
Marginals: , .
Product of marginals: .
Joint: .
Since joint = product of marginals for all , X and Y are independent.
(This was visible from the start: factors cleanly as , and the support is rectangular — both conditions for independence are met.)
7.7.8 Expectation for the Continuous Case
: By symmetry, . when X and Y are independent:
Since X and Y are independent, .
when X and Y are NOT independent:
Use the definition directly with the joint density:
The random variable is and its distribution is the joint. Integration is required — the shortcut does not hold.
- Integrating in the wrong order. vs both give the same result (Fubini's Theorem holds for continuous, bounded densities), but make sure the limits match the variable order. The inner integral's limits belong to the inner differential.
- Forgetting the chain rule when computing probability. When finding , the limits must come from the actual region — do not blindly integrate from 0 to 1.
- Assuming independence from marginal symmetry. does not prove independence. Independence requires the JOINT to factor as the product. Always check.
- Using for dependent variables. This shortcut ONLY works under independence. For dependent variables, compute the double integral.
7.7.9 Student Q&A
7.8 Worked Example 5 — Finding the Constant C in a Joint PMF
7.8.1 Problem Setup
X takes values . Y takes values . The joint PMF is:
Find the constant C.
7.8.2 Solution
| X\Y | -1 | 2 | 3 |
|---|---|---|---|
| -1 | |||
| 0 | |||
| 1 | |||
| 3 |
Step 3: Apply the total probability condition:
Answer: . Sense-check: Each cell's probability is now . The largest probability is (at X=3,Y=3) and the smallest is (at X=0,Y=-1). All in , sum to 1. ✓
7.8.3 Computing a Probability with C
X=0, Y=-1:
X=0, Y=2:
Total:
Answer: .- Computing C incorrectly. Remember: C multiplies the sum of across ALL pairs. Do not compute C separately for each cell.
- Missing cells. With 4 values of X and 3 values of Y, there are cells. Systematically enumerate all 12 combos. Missing one will give the wrong C.
- Forgetting to check that probability values land in . After finding C, spot-check the largest cell: . ✓
7.9 Named Probability Distributions — Overview
When working with data, represents a pattern. Some patterns appear so frequently they have been given names. These are the named probability distributions.
The key families:
- Discrete: Bernoulli, Binomial, Poisson
- Continuous: Normal, t-distribution, F-distribution (Normal and t being the most prominent)
For each distribution, three things matter:
- The expression for (the PMF or PDF).
- The values X can take (the support).
- The mean and variance.
7.10 Bernoulli Distribution
7.10.1 Definition
A random variable X follows a Bernoulli distribution if it takes only two values — 0 and 1 — and its probability mass function is:
Where:
- = probability of success (X=1), with
- = probability of failure (X=0)
- can only be 0 or 1
7.10.2 The Bernoulli Table
| X | P(X) |
|---|---|
| 0 | |
| 1 |
Total: . ✓ Valid for any .
7.10.3 Mean and Variance
- Mean:
- Variance:
Derivation of variance:
So: , .
The variance is maximized at (giving ) and minimized at or (giving — a deterministic outcome).
- The experiment has exactly two possible outcomes.
- The probability of success is constant (known or estimated).
- You are modeling a single trial.
If you have multiple independent Bernoulli trials and count successes, use the Binomial distribution instead.
7.10.4 When to Use Bernoulli
Use Bernoulli when:
- The experiment has exactly two possible outcomes (success / failure).
- X takes only values 0 and 1.
Examples: coin toss (heads/tails), pass/fail on an exam, defective/non-defective item, customer clicks ad (yes/no).
> Professor note: A random experiment that can only have an outcome of either 1 or 0 is called a Bernoulli trial. A random variable that is 1 with probability or 0 with probability follows a Bernoulli distribution.
- Confusing Bernoulli with Binomial. Bernoulli = 1 trial. Binomial = independent Bernoulli trials, counting successes. If a problem says "flip a coin 10 times and count heads," that is Binomial, not Bernoulli.
- Using wrong parameter values. must be in . If you compute or , something is wrong upstream.
- Forgetting that the mean IS a probability. Unlike the Binomial, where can exceed 1, the Bernoulli mean is always in .
7.10.5 Student Q&A
7.11 Binomial Distribution
7.11.1 Definition
Think of it as the "repeated-flip" distribution: you flip a biased coin times, each flip independent, same bias , and count heads. The Binomial PMF tells you: "the probability of exactly heads is…"
Where the analogy breaks: The coin-flipping analogy assumes the same coin for all flips. In real applications (like the factory), the "trials" (bulbs) must have the same defect probability and be independent.A random variable X follows a Binomial distribution if its probability mass function is:
Where:
- = total number of trials (fixed, known in advance)
- = probability of success on each trial (constant, )
- = probability of failure
- = number of successes observed (the random variable)
- = binomial coefficient — number of ways to choose successes from trials
7.11.2 Parameters
The binomial distribution has two parameters: and .
- and are the parameters you declare.
- is not a separate parameter — it is derived as .
- is the variable you loop over: compute for , then , and so on up to .
7.11.3 Key Assumptions
- Fixed number of trials ( is known): You know in advance how many trials there are. Example: a movie theatre has 200 seats — . The number of people attending can range from 0 to 200.
- Trials are independent: The outcome of one trial does not affect another.
- Constant probability of success: is the same for every trial. If you toss a coin, the probability of heads is on the 1st toss, the 20th toss, and every toss in between. It does not change.
- Each trial has two outcomes: Success (with probability ) or failure (with probability ).
- If is unknown → use Poisson (unbounded counts).
- If trials are dependent → binomial over- or under-estimates variance.
- If changes across trials → no single named distribution; need more complex models (beta-binomial, etc.).
- If more than two outcomes → use Multinomial distribution.
7.11.4 Why "Binomial"
If you expand using the binomial theorem:
Each term matches the binomial PMF. Since , the sum is , confirming the total probability is 1. The name comes from the binomial expansion — the PMF terms are literally the terms of .
7.11.5 Mean and Variance
- Mean:
- Variance:
Derivation of the mean:
Variance (stated): . The derivation uses and .
7.11.6 Student Q&A (Mean vs Variance)
7.11.7 Binomial as a Generalization of Bernoulli
When , the binomial PMF becomes:
This is exactly the Bernoulli distribution. Bernoulli is the special case of binomial with .
7.11.8 Worked Example — Restaurant Water
- (a) Exactly 6 ask for water.
- (b) Less than 9 ask for water.
- (c) No one asks for water.
- (d) At most 2 ask for water.
- (e) At least 3 ask for water.
- Two outcomes? Yes — asks for water (success) or does not (failure).
- Fixed n? Yes — .
- Independent? Yes — one customer asking does not affect another.
- Constant p? Yes — .
This fits the binomial model.
Parameters: , , . (a) Exactly 6:
(b) Less than 9:
Smart approach:
(c) No one asks: (d) At most 2:
(e) At least 3: Sense-check: With and , we expect about 6 customers to ask for water. Each answer passes the plausibility test. Exactly 6 has a reasonable probability (~0.25). Less than 9 is very high (~0.95). No one asking is tiny (~0.0001). At most 2 is small (~0.01). At least 3 is very high (~0.99).
7.11.9 Worked Example — Coin Toss
"3 or fewer" means :
Each term:
Sense-check: With a fair coin and 10 tosses, getting 3 or fewer heads should happen about 17% of the time — plausible.
7.11.10 Worked Example — Dice Product
Favorable outcomes where product = 6: (1,6), (2,3), (3,2), (6,1) — 4 outcomes.
Step 2 — Identify distribution: Binomial with , .
"At least 4" means :
Sense-check: The probability of success on any single roll is only . Getting 4 or 5 successes in 5 trials should be very small — about 0.07%. ✓
7.11.11 Worked Example — Given Mean and Variance, Find the Distribution
Given: , .
The binomial distribution is:
Sense-check: Mean = . Variance = . Both match. ✓
7.11.12 When Binomial Does NOT Apply — Two Diagnostic Examples
The number of persons getting Corona in a room of 30.
- Two outcomes? Yes — infected or not.
- Independent? No. Corona is a virus that spreads — one person having it affects the probability that others get it. The independence assumption fails.
However, in practical modeling, one may assume independence to get a first approximation. Simulations often start with simplifying assumptions and refine later.
Example 2 — 2 out of 20 projectors defective, select 3 for testing:- Two outcomes? Yes — defective or not defective.
- Independent? Consider the probability of finding a defective projector on the first selection: . If the first selected is defective, the probability that the second is also defective changes because now only 1 defective remains out of 19. The probability is not constant across trials. Not binomial.
> Key insight: The probability of success must remain the SAME for each trial. In sampling without replacement from a finite population, the probabilities change, so the binomial model does not apply (without correction). This scenario calls for the Hypergeometric distribution instead.
7.11.13 Student Q&A
- Confusing "at least" and "at most." "At least 3" = . "At most 3" = . These are different questions with different answers.
- Using binomial for sampling without replacement. If you sample from a finite population without replacement, use the hypergeometric distribution, not binomial. The binomial approximates the hypergeometric only when the sample size is small relative to the population (rule of thumb: ).
- Forgetting that and . These edge cases frequently appear in "at least" / "at most" problems.
- Applying to binomial counts. This shortcut does not apply. Binomial counts are sums of dependent Bernoulli indicators for the SAME set of trials. Use for mean and for variance directly.
7.12 Poisson Distribution
7.12.1 Definition
Think of the Poisson as the limit of the binomial when and such that stays constant. Imagine slicing the minute into a million tiny sub-intervals. In each sub-interval, at most one call can arrive (that is Bernoulli with tiny ). Over all sub-intervals, the count is binomial with enormous and tiny . The Poisson is what you get in the limit.
Where the analogy breaks: The Poisson assumes events occur independently and at a constant average rate. In real call centers, call rates vary by time of day — the Poisson model would need a time-varying (leading to a non-homogeneous Poisson process).A random variable X follows a Poisson distribution if its probability mass function is:
Where:
- is the rate parameter — the average number of occurrences in the interval.
- can be 0, 1, 2, ... with no fixed upper limit.
- is Euler's number.
- (x factorial) grows very fast, making probabilities for large very small.
7.12.2 Mean and Variance
- Mean:
- Variance:
7.12.3 Relationship to Binomial — The Rare Event Connection
The Poisson distribution is not truly separate — it arises as a limiting case of the binomial.
When:
- is very large (e.g., )
- is very small (e.g., )
- The product remains roughly constant
...the binomial distribution approaches the Poisson distribution. Formally:
This models rare events: events that have a very low probability of occurring on any single trial, but over a huge number of trials, some will occur. Examples: number of calls arriving at a call center per minute, number of customers entering a bank per hour, number of accidents at an intersection per day.
7.12.4 Binomial vs Poisson — Quick Discrimination
| Feature | Binomial | Poisson |
|---|---|---|
| Number of trials | Fixed, known | No fixed (effectively infinite) |
| Upper bound on X | No upper bound | |
| Mean vs Variance | Mean > Variance | Mean = Variance |
| Parameters | ||
| Models | Bounded counts | Unbounded rare-event counts |
| PMF |
7.12.5 Worked Example — Call Center (Poisson Identification)
- Is there an upper bound on the number of calls? No. You could get 5, 10, 20 calls in 3 minutes — there is no fixed .
- Since is missing/undefined, binomial is ruled out.
- The scenario involves a rate ( per 3-minute interval) and counts with no upper limit — this is a Poisson process.
Sense-check: With an average of only 2 calls per 3 minutes, getting 5 or more should be unlikely — about 5.3%. ✓
7.12.6 Student Q&A
- Using Poisson when is given. If a problem says "in a batch of 20 items" or "among 50 students," is given → Binomial, not Poisson.
- Using Poisson for very frequent events. The Poisson models RARE events. If is large (say ), the Poisson still works mathematically, but the Normal approximation is more practical.
- Forgetting that . always. This is a frequent quick-check on exams.
- Confusing the interval. If per 3 minutes, and the question asks about 6 minutes, the rate scales: for 6 minutes. Always match to the interval in the question.
7.13 Summary — Distribution Identification Cheat Sheet
When given a problem, identify the distribution by asking:
- Can X take only 0 or 1? → Bernoulli (single trial, two outcomes)
- Is there a fixed number of trials ? → Binomial (check: independent? constant ? two outcomes per trial?)
- Is there no upper bound, only a rate? → Poisson (rare events, given, count with no ceiling)
- Compute mean and variance from data: mean > variance → binomial candidate; mean variance → Poisson candidate
- "3 out of 5 customers ask for water" with customers → Binomial (n given!). NOT Poisson.
- "2 calls per minute on average" → Poisson (no upper bound). NOT Binomial.
- Sampling without replacement from a finite batch → NOT Binomial (use Hypergeometric). Check whether stays constant.
- "At least 3" in a Poisson context → . Remember to use the complement for unbounded counts.
7.13.1 Formula Reference
| Distribution | PMF | Mean | Variance | Parameters | Support |
|---|---|---|---|---|---|
| Bernoulli | |||||
| Binomial | |||||
| Poisson |
Where throughout.
These three distributions form a hierarchy: Bernoulli Binomial (set ) Poisson (limit as ). If you can place a problem at the right level of this hierarchy, the math follows mechanically.
7.14 Study and Exam Guidance
7.14.1 Syllabus Coverage
The exam covers the first four modules, up to and including probability distributions (through the Normal distribution, which is the next topic). The named distributions covered — Bernoulli, Binomial, Poisson — are part of this module.
7.14.2 What to Expect
- Identification problems: given a scenario, which distribution applies and why? (Tested heavily — know the four binomial conditions cold.)
- Computation problems: given (binomial) or (Poisson), compute specific probabilities.
- Conditional probability from joint tables: joint over marginal.
- Marginal extraction from joint tables: sum rows or columns.
- Independence testing from joint tables: check ALL cells or stop at first failure.
- Continuous joint distribution problems: find marginals (integrate out), test independence (check if joint = product), compute expectations.
- "Find the constant C" problems: from joint PMFs — enumerate all pairs, sum, set .
- "Given mean and variance, find the distribution" problems: particularly for binomial — use and to solve for and .
7.14.3 Key Phrases and Their Meanings
| Phrase in problem | Mathematical translation |
|---|---|
| "Exactly k" | |
| "Less than k" | |
| "At most k" | |
| "At least k" | |
| "More than k" | |
| "Fewer than k" | |
| "No more than k" | |
| "3 or fewer" | |
| "Between a and b inclusive" |
7.14.4 Study Recommendations
- Go through all slides and solve every problem — both the worked examples and the unsolved practice problems.
- The slides are the primary resource. They cover all topics and concepts.
- For any concept that is unclear, refer to the corresponding lecture materials to clarify specific sticking points rather than watching end-to-end.
- Focus on understanding the conditions for each distribution (binomial: fixed n, independent, constant p, two outcomes). Identification questions test this.
- Practice the integration-based marginal extraction for continuous joint distributions — this is where most students have difficulty.
- A formula sheet will be provided by the course team.
7.14.5 Exam Logistics
- The exam is scheduled for the 20th and 21st (mid exams), with makeup exams also available.
- Students select their exam slots (regular or makeup) via a preference form. Once selected, changes are not accommodated.
- The course team will communicate the exact timetable, mark distribution, and any calculator policies.
7.15 Key Industry Applications
- Bernoulli distribution: Quality control (pass/fail testing), market research (will a customer buy? yes/no), risk assessment, marketing campaign response modeling, click-through rate prediction in online advertising, medical diagnostic test results (positive/negative).
- Binomial distribution: Modeling counts of successes in a fixed number of trials. Election polling (how many out of respondents favor a candidate). Defect rate estimation in manufacturing batches. Clinical trial success rates (how many patients out of respond to treatment). A/B test conversion counting.
- Poisson distribution: Call center staffing (calls per minute). Bank queue management (customers per hour). Insurance claim modeling (accidents per policy period). Website traffic modeling (visits per second). Rare disease incidence in epidemiology. Server request arrival modeling in cloud computing. Inventory demand forecasting for slow-moving items.
The mean-variance relationship is a practical data-science tool: computing sample mean and variance helps narrow down which theoretical distribution might fit the data, which is the first step in parametric modeling. In modern machine learning pipelines, this diagnostic is a standard part of exploratory data analysis (EDA) before committing to a specific likelihood function or loss.
Cross-cutting application — Insurance ratemaking: An auto insurer models claim frequency per driver as Poisson (how many claims in a year?) and claim severity as a continuous distribution (how expensive is each claim?). The product of the two — expected total claims cost — determines the premium. The Poisson assumption means mean = variance for claim counts. If real data shows variance > mean (overdispersion, common in insurance), actuaries upgrade to the Negative Binomial distribution. This is a direct extension of the Poisson-Binomial hierarchy covered in this lecture.ISM Lecture 7 notes · Joint, Marginal, and Conditional Distributions — Discrete and Named Distributions
Sections Breakdown
Review of single-variable probability and introduction to joint, marginal distributions
Extending conditional probability from events to random variables
Condition for independence and how to test it
Reading and validating joint probability tables
Extracting marginals, conditionals, expectations, and independence testing
Reconstructing joint tables from marginals under independence
Joint densities, marginal integration, and independence testing for continuous variables
Normalizing constant for joint probability mass functions
Introduction to standard probability patterns: Bernoulli, Binomial, Poisson
Single-trial binary outcome distribution
Number of successes in fixed independent trials
Counts of rare events with no upper bound
Decision tree and formula reference for distribution selection
Syllabus coverage, key phrases, and exam preparation advice
Real-world applications across insurance, quality control, and machine learning
Exam Revision Notes
Below is the distilled, exam-ready core of this lecture. Every entry is built from the full textbook notes above. Use this section for rapid review — but if something doesn't make sense, go back to the full explanation in the main content.
Joint, Marginal, and Conditional Distributions
Must-know: The joint distribution gives the full probability picture of two variables together. The marginal extracts one variable's distribution by summing (discrete) or integrating (continuous) over the other variable. The conditional fixes the other variable and re-normalizes — always joint divided by marginal.
⚠️ Top pitfall: Confusing marginal with conditional. Marginal = ignore the other variable entirely. Conditional = fix the other variable at a specific value. They give different answers.
Self-check: Given a joint probability table, how do you compute the marginal distribution of X? How do you compute ?
Connects to: Joint Distribution, Marginal Distribution, Conditional Probability
Independent Random Variables
Must-know: Independence means the joint equals the product of the marginals for every combination of values. One failure proves dependence. Independence also means the conditional equals the marginal — knowing X tells you nothing about Y.
⚠️ Top pitfall: Stopping after checking one cell. One matching cell does NOT prove independence — all cells must match. One non-matching cell DOES prove dependence.
Self-check: If the product condition holds for 3 out of 6 cells in a joint table, are the variables independent?
Connects to: Joint Distribution, Marginal Distribution, Conditional Distribution
Bernoulli Distribution
Must-know: Models a single binary trial — success (X=1) with probability , failure (X=0) with probability . Mean = , variance = . This is the building block for the Binomial distribution.
⚠️ Top pitfall: Confusing Bernoulli (one trial) with Binomial (n trials). If a problem says "flip a coin 10 times," that is Binomial, not Bernoulli.
Self-check: What are the mean and variance of a Bernoulli random variable with ?
Connects to: Binomial Distribution (Bernoulli is Binomial with n=1)
Binomial Distribution
Must-know: Models the number of successes in fixed, independent trials with constant success probability . Requires: fixed , independent trials, constant , two outcomes per trial. Mean = , variance = . Mean > variance always (for ).
⚠️ Top pitfall: Using binomial for sampling without replacement (e.g., selecting items from a finite batch) since changes after each draw.
Self-check: The mean of a binomial distribution is 6 and variance is 4. Find and .
Connects to: Bernoulli Distribution (n=1 case), Poisson Distribution (limit when n large, p small)
Poisson Distribution
Must-know: Models counts of rare events with no fixed upper bound — calls per minute, accidents per day, customers per hour. Mean = variance = . Arises as the limit of the Binomial when and with constant.
⚠️ Top pitfall: Using Poisson when a fixed is given (use Binomial instead). Also: forgetting to scale when the time interval changes (e.g., per 3 minutes means per 6 minutes).
Self-check: A call center averages 3 calls per minute. What is the probability of 5 or more calls in a given minute?
Connects to: Binomial Distribution (limiting case), Bernoulli Distribution
Was this lecture useful?
BitsNotes AI Assistant
Subject Notes AssistantConfigure AI Chat
Choose how to access the chatbotSigned in as
Powered by BitsNotes — 20 messages per day. No API key needed. Want unlimited access? Use "Bring Your Own Key" mode.
Sign in to use AI Chat
Get 20 free AI messages per day to ask questions about your lecture notes. Sign in with Google or GitHub — it takes 5 seconds.
Sign In to BitsNotesSwitch to "Bring Your Own Key" tab above for unlimited access with any OpenAI-compatible provider.