Wize Engineering Mathematics Textbook > Joint Probability Distributions

Conditional Distributions and Independence of Two Random Variables

Condition first, then normalize

For discrete variables, P(X=x | Y=y) is P(X=x, Y=y)/P(Y=y), provided P(Y=y) is positive. The denominator is the probability of the condition, so the conditional probabilities over all x sum to 1.


For continuous variables, the matching density rule is fX|Y(x|y) = fX,Y(x,y)/fY(y) wherever the marginal density is positive.


Independence is stronger than zero covariance: it requires p(x,y) = pX(x)pY(y) for every supported pair, equivalently a conditional distribution that equals the corresponding marginal.


For a lesson example, if p(0,0)=0.27, p(0,1)=0.19, p(1,0)=0.21, and p(1,1)=0.33, then P(X=1|Y=1)=0.33/0.52, whereas P(X=1)=0.54; the variables are not independent.

A joint distribution has P(X=0,Y=0)=0.15, P(X=0,Y=1)=0.35, P(X=1,Y=0)=0.20, and P(X=1,Y=1)=0.30. What is P(Y=1 | X=0)?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

For two discrete random variables with positive marginal probabilities on their support, which condition establishes independence?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A joint pmf has P(0,0)=0.18, P(0,1)=0.12, P(1,0)=0.42, and P(1,1)=0.28, where the first coordinate is X. What is P(X=1 | Y=1)?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors