ArticleslgStudy

mathematics

Conditional probability distribution

Conditional probability distribution is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Conditional probability distribution rather than just read about it. In short: In probability theory and statistics, the conditional probability distribution is a probability distribution that describes the probability of an outcome given the occurrence of a particular event. Given two jointly distributed random variables X and Y, the conditional probability distribution of Y given X is the probability distribution of Y when X is known to be a particular value; in some cases the conditional pr…

Conditional probability distribution — main illustration
Conditional probability distribution — illustration

Key takeaways

  • Conditional probability distribution belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Conditional probability distribution to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Conditional probability distribution from memory before moving on to harder problems.

Reference excerpt

In probability theory and statistics, the conditional probability distribution is a probability distribution that describes the probability of an outcome given the occurrence of a particular event. Given two jointly distributed random variables X and Y, the conditional probability distribution of Y given X is the probability distribution of Y when X is known to be a particular value; in some cases the conditional probabilities may be expressed as functions containing the unspecified value x of X as a parameter. When both X and Y are categorical variables, a conditional probability table is typically used to represent the conditional probability. The conditional distribution contrasts with the marginal distribution of a random variable, which is its distribution without reference to the value of the other variable. If the conditional distribution of Y given X is a continuous distribution, then its probability density function is known as the conditional density function. The properties of a conditional distribution, such as the moments, are often referred to by corresponding names such as the conditional mean and conditional variance. More generally, one can refer to the conditional distribution of a subset of a set of more than two variables; this conditional distribution is contingent on the values of all the remaining variables, and if more than one variable is included in the subset then this conditional distribution is the conditional joint distribution of the included variables.

Conditional discrete distributions For discrete random variables, the conditional probability mass function of Y given X=x can be written according to its definition as:

Due to the occurrence of P(X=x) in the denominator, this is defined only for non-zero (hence strictly positive) P(X=x). The relation with the probability distribution of X given Y is:

P(Y=y∣X=x)P(X=x)=P({X=x}∩{Y=y})=P(X=x∣Y=y)P(Y=y).

Example Consider the roll of a fair die and let X=1 if the number is even (i.e., 2, 4, or 6) and X=0 otherwise. Furthermore, let Y=1 if the number is prime (i.e., 2, 3, or 5) and Y=0 otherwise.

Then the unconditional probability that X=1 is 3/6 = 1/2 (since there are six possible rolls of the die, of which three are even), whereas the probability that X=1 conditional on Y=1 is 1/3 (since there are three possible prime number rolls—2, 3, and 5—of which one is even).

Conditional continuous distributions Similarly for continuous random variables, the conditional probability density function of Y given the occurrence of the value x of X can be written as

where fX,Y(x,y) gives the joint density of X and Y, while fX(x) gives the marginal density for X. Also in this case it is necessary that fX(x)>0. The relation with the probability distribution of X given Y is given by:

fY∣X(y∣x)fX(x)=fX,Y(x,y)=fX|Y(x∣y)fY(y). The concept of the conditional distribution of a continuous random variable is not as intuitive as it might seem: Borel's paradox shows that conditional probability density functions need not be invariant under coordinate transformations.

Example

The graph shows a bivariate normal joint density for random variables X and Y. To see the distribution of Y conditional on X=70, one can first visualize the line X=70 in the X,Y plane, and then visualize the plane containing that line and perpendicular to the X,Y plane. The intersection of that plane with the joint normal density, once rescaled to give unit area under the intersection, is the relevant conditional density of Y. Y∣X=70 ∼ 𝒩(μY+σYσXρ(70−μX),(1−ρ2)σY2).

Relation to independence Random variables X, Y are independent if and only if the conditional distribution of Y given X is, for all possible realizations of X, equal to the unconditional distribution of Y. For discrete random variables this means P(Y=y|X=x)=P(Y=y) for all possible y and x with P(X=x)>0. For continuous random variables X and Y, having a joint density function, it means fY(y|X=x)=fY(y) for all possible y and x with fX(x)>0.

Properties Seen as a function of y for given x, P(Y=y|X=x) is a probability mass function and so the sum over all y (or integral if it is a conditional probability density) is 1. Seen as a function of x for given y, it is a likelihood function, so that the sum (or integral) over all x need not be 1. Additionally, a marginal of a joint distribution can be expressed as the expectation of the corresponding conditional distribution. For instance, pX(x)=EY[pX|Y(x | Y)].

Measure-theoretic formulation Let (Ω,ℱ,P) be a probability space, 𝒢⊆ℱ a σ-field in ℱ. Given A∈ℱ, the Radon–Nikodym theorem implies that there is a 𝒢-measurable random variable P(A∣𝒢):Ω→ℝ, called the conditional probability, such that∫GP(A∣𝒢)(ω)dP(ω)=P(A∩G)for every G∈𝒢, and such a random variable is uniquely defined up to sets of probability zero. A conditional probability is called regular if P⁡(⋅∣𝒢)(ω) is a probability measure on (Ω,ℱ) for all ω∈Ω a.e. Special cases:

For the trivial sigma algebra 𝒢={∅︀,Ω}, the conditional probability is the constant function P⁡(A∣{∅︀,Ω})=P⁡(A). If A∈𝒢, then P⁡(A∣𝒢)=1A, the indicator function (defined below). Let X:Ω→E be a (E,ℰ)-valued random variable. For each B∈ℰ, define μX|𝒢(B|𝒢)=P(X−1(B)|𝒢).For any ω∈Ω, the function μX|𝒢(⋅|𝒢)(ω):ℰ→ℝ is called the conditional probability distribution of X given 𝒢. If it is a probability measure on (E,ℰ), then it is called regular. For a real-valued random variable (with respect to the Borel σ-field ℛ1 on ℝ), every conditional probability distribution is regular. In this case,E[X∣𝒢]=∫−∞∞xμX∣𝒢(dx,⋅) almost surely.

Relation to conditional expectation For any event A∈ℱ, define the indicator function:

𝟏A(ω)={1if ω∈A,0if ω∉A, which is a random variable. Note that the expectation of this random variable is equal to the probability of A itself:

E⁡(𝟏A)=P⁡(A). Given a σ-field 𝒢⊆ℱ, the conditional probability P⁡(A∣𝒢) is a version of the conditional expectation of the indicator function for A:

P⁡(A∣𝒢)=E⁡(𝟏A∣𝒢) An expectation of a random variable with respect to a regular conditional probability is equal to its conditional expectation.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Conditional probability distribution

Start with the simplest possible case. Write down what Conditional probability distribution claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Conditional probability distribution before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Conditional probability distribution ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Conditional probability distribution

In research
Conditional probability distribution appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Conditional probability distribution in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Conditional probability distribution is common in secondary-school and first-year university syllabi. It links to neighbouring topics Conditional probability, Theory of probability distributions, so understanding it makes those chapters shorter.
In everyday life
Look for Conditional probability distribution outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Conditional probability distribution” →

How to study Conditional probability distribution in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Conditional probability distribution means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Conditional probability distribution out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Conditional probability distribution in simple terms?

In probability theory and statistics, the conditional probability distribution is a probability distribution that describes the probability of an outcome given the occurrence of a particular event. Given two jointly distributed random variables X and Y, the conditional probability distribution of Y…

Why does Conditional probability distribution matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Conditional probability distribution?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Conditional probability distribution.

Tags

  • Conditional probability
  • Theory of probability distributions

Keep exploring