Discrete Joint Distributions

Lesson 6 of 213 min6 practice questionsFree

Read the cell that matches both values

Let X be the number of priority parcels in a delivery batch and let Y indicate whether the batch left late. Use Y = 0 for on time and Y = 1 for late. A joint probability table records the probability of each pair of values. For example, the cell at X = 1 and Y = 1 is the chance that a batch contains one priority parcel and leaves late.

X, priority parcelsY = 0Y = 1Row total
00.100.150.25
10.200.250.45
20.050.250.30
Column total0.350.651.00

Every probability must be nonnegative. The body of the table, without the totals, must sum to 1. If a problem gives frequencies and selects one of the recorded units uniformly at random, divide each count by the total count before using the table.

Sum a row for a marginal or divide for a conditional

Adding across a row gives P(X = x), the marginal probability for one value of X. For example, P(X = 2) = 0.05 + 0.25 = 0.30. Adding down a column gives the marginal for Y. The probability of a late batch is 0.65.

Joint         → one matching cell
Marginal      → a row or column total
Conditional   → divide by the total
                for the given condition

If the question asks for at least one priority parcel given that the batch was late, use only the late column. The favourable cells have total 0.25 + 0.25 = 0.50. Divide by P(Y = 1) to get 0.50/0.65 = 10/13. The denominator answers the question “Out of which batches?” A condition with probability zero gives no defined conditional probability.

Check whether the variables are independent

Independence requires P(X = x, Y = y) = P(X = x) × P(Y = y) for every pair. One mismatch proves dependence. For X = 0 and Y = 0, the observed joint probability is 0.10, while the product of the marginals is 0.25 × 0.35 = 0.0875. The variables are dependent in this table. To establish independence from a table, check the equality for all cells.

Calculate a mean or covariance

Use the row totals to calculate E[X] = 0 × 0.25 + 1 × 0.45 + 2 × 0.30 = 1.05. Y takes only 0 and 1, so E[Y] = 0.65. To calculate E[XY], multiply each cell's probability by x × y and add. Only the two nonzero products in the late column contribute. E[XY] = 1 × 1 × 0.25 + 2 × 1 × 0.25 = 0.75.

Cov(X,Y) = E[XY] − E[X]E[Y] = 0.75 − 1.05 × 0.65 = 0.0675. Independence gives zero covariance when these means exist. Zero covariance by itself leaves open the possibility of dependence.

Try it. Within batches with exactly one priority parcel, what fraction left on time?

Worked check. Use the X = 1 row. The on-time cell is 0.20 and the row total is 0.45. P(Y = 0 given X = 1) = 0.20/0.45 = 4/9.

SSC CGL 2026 syllabus, paragraph 13.11.6.7

Penn State STAT 414, distributions of two discrete variables

Penn State STAT 414, covariance and independence

Practise this lesson6 questions · 6 marks · +1 a question · every answer explained
Start practice: Discrete Joint Distributions Practice

Sign in to keep your progress. Sign in