A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Conditional Distributions of Random Variables

College Depth 59 in the knowledge graph ☐ I know this ☆ Set as goal
2,701topics build on this
268prerequisites beneath it
See this on the map →
Joint and Marginal Distributions→→Conditional DistributionsRandom Variables
conditional-distribution

Core Idea

Conditional distribution of Y given X=x: p_{Y|X}(y|x)=p(x,y)/p_X(x) (discrete) or f_{Y|X}(y|x)=f(x,y)/f_X(x) (continuous). Shows how Y's distribution changes given information about X. When independent, conditional equals marginal.

Explainer

Your prerequisite — joint and marginal distributions — gives you two things: the joint distribution p(x, y) or f(x, y) that describes X and Y together, and the marginal p_X(x) or f_X(x) that describes X alone after "integrating out" Y. A conditional distribution answers a natural next question: once you learn that X = x, how does the distribution of Y change? You have new information — how do you update your picture of Y?

The formula is a direct extension of conditional probability from events to distributions. In the discrete case, the conditional PMF is p_{Y|X}(y|x) = p(x, y) / p_X(x). This is exactly Bayes' rule applied to events: P(Y=y | X=x) = P(X=x, Y=y) / P(X=x). In the continuous case, the conditional PDF is f_{Y|X}(y|x) = f(x, y) / f_X(x). The operation has a clean geometric meaning: you take a "slice" of the joint distribution at the fixed value X = x (looking at all possible y-values with that x), then normalize it to integrate to 1. The result is a proper probability distribution over Y.

A concrete example makes this vivid. Suppose X is a person's height and Y is their weight, with some joint distribution f(x, y). The marginal f_Y(y) is the weight distribution of the entire population. But if someone tells you the person is 6 feet tall, the conditional distribution f_{Y|X}(y | x = 6) is the weight distribution restricted to 6-foot-tall people — a different, narrower distribution with a higher mean. You are not just restricting Ω to people who are 6 feet; you are looking at the cross-section of the joint density at x = 6 and renormalizing it.

The connection to independence is the cleanest possible: X and Y are independent if and only if f_{Y|X}(y|x) = f_Y(y) for all x. Knowing X gives zero information about Y — the conditional equals the marginal. This is equivalent to the joint factoring as a product: f(x, y) = f_X(x) · f_Y(y), and dividing by f_X(x) recovers f_Y(y). Conditional distributions are the foundational object for conditional expectation, Bayesian inference, and regression — in every case, the central question is: how does the distribution of one quantity shift when you condition on the value of another?

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts Through 10 → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → Function Notation Review → Random Variables: Definition and Classification → Joint and Marginal Distributions → Conditional Distributions of Random Variables

Longest path: 60 steps · 268 total prerequisite topics

Prerequisites (1)

Leads To (2)