QED
Probability · step 9 of 13

Joint, marginal & conditional distributions

A joint distribution gives P(X = x, Y = y) for every pair, usually as a table. Summing a row or column gives a marginal distribution — the name comes from writing these totals in the margins. Dividing a row by its total gives a conditional distribution, and X and Y are independent exactly when every joint entry equals the product of its margins.

Unlimited questions · marked criterion by criterion · no card needed

Method: how to approach it

The order below is what examiners expect to see, and each step carries its own marks.

  1. Check the table sums to 1All joint probabilities together must total 1. This catches transcription errors instantly.
  2. Sum across for marginalsP(X = x) is the row total; P(Y = y) is the column total.
  3. Divide for conditionalsP(Y = y | X = x) = joint / row total. Each conditional distribution sums to 1 on its own.
  4. Test independence entry by entryEvery cell must equal the product of its margins. One failure means dependence.

Worked example

A joint table has P(0,0) = 0.2, P(0,1) = 0.3, P(1,0) = 0.1, P(1,1) = 0.4. Find the marginals and test independence.

  1. Total: 0.2 + 0.3 + 0.1 + 0.4 = 1.0 ✓.
  2. Marginal of X: P(X=0) = 0.5, P(X=1) = 0.5. Marginal of Y: P(Y=0) = 0.3, P(Y=1) = 0.7.
  3. Independence would require P(0,0) = 0.5 × 0.3 = 0.15.
  4. But the table gives 0.2.

Answer. Marginals X: (0.5, 0.5), Y: (0.3, 0.7). Not independent, since 0.2 ≠ 0.15.

Where marks get dropped

These are the specific errors that cost credit on joint, marginal & conditional distributions questions — QED's rubric penalises each of them separately.

Practise this until it is automatic

Unlimited fresh questions

QED generates new joint, marginal & conditional distributions problems on demand at warm-up, exam and challenge level, so you can drill this one skill until it stops costing you marks.

Marked like an examiner

Every answer is scored against a point-by-point rubric with partial credit, so you see exactly which step of the method broke down — not just a tick or a cross.

Answer in real notation

A one-tap symbol palette, a visual equation editor and a truth-table builder — or photograph your handwritten working and QED converts it to LaTeX.

Saved to your library

Every question you generate is kept and re-takeable as a timed exam, and your Probability mastery is tracked so you know when this is exam-ready.

Joint, marginal & conditional distributions — frequently asked questions

Can I recover the joint from the marginals?

Only if the variables are independent, when the joint is the product. In general the marginals lose the dependence structure entirely.

What is covariance?

Cov(X,Y) = E[XY] − E[X]E[Y], measuring linear association. Independence implies zero covariance, but zero covariance does not imply independence.

How do I compute E[XY] from a table?

Sum xy·P(x,y) over every cell. Comparing it with E[X]E[Y] gives the covariance directly.

The rest of Probability

Events, conditional probability, random variables. Each subtopic below has its own method, worked example and mark-losing traps.

Ready to make joint, marginal & conditional distributions exam-proof?

Generate your first questions free — no card, no setup, no personal data stored. Practise until the method is second nature.

Start practising free →