Conditional Expectation and Variance
- 34Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
Why is it meaningful to calculate the expectation and variance of a conditional distribution?
34 questions
- 1
Why is it meaningful to calculate the expectation and variance of a conditional distribution?
Model answer
A conditional distribution is itself a valid probability distribution, so its expectation and variance can be calculated.
Explanation
The conditional distribution of one random variable given another satisfies the requirements of a probability distribution.
- 2
For continuous random variables with joint density fX,Y and marginal density fY, express E[X∣Y=y] using an integral.
Model answer
E[X∣Y=y]=∫xfY(y)fX,Y(x,y)dx, for values of y with fY(y)>0.
Explanation
The ratio fX,Y(x,y)/fY(y) is the conditional density of X given Y=y.
- 3
For discrete random variables, express E[X∣Y=yj] as a sum involving the conditional probabilities of X.
Model answer
E[X∣Y=yj]=∑ixiP(X=xi∣Y=yj)=∑ixiP(Y=yj)P(X=xi,Y=yj).
Explanation
The conditional expectation is the weighted sum of the possible values of X, using their probabilities conditional on Y=yj.
- 4
Why can E[X∣Y=y] depend on y, and when does it equal E[X]?
Model answer
The conditional distribution of X can change with the fixed value y, so its expectation can also change. If X and Y are independent, then E[X∣Y=y]=E[X].
Explanation
Independence makes the conditional distribution of X the same as its unconditional distribution.
- 5
In the dice example, how are X, X1, and Y defined?
Model answer
X and X1 are the outcomes of two independent fair six-sided dice, and Y=max(X,X1).
Explanation
Each die outcome is uniformly distributed over 1,2,3,4,5,6.
- 6
For the two-dice example, what is P(X=x,Y=y) in terms of x and y?
Model answer
It is 0 if y<x, x/36 if y=x, and 1/36 if y>x.
Explanation
When y=x, the second die can be any value from 1 through x; when y>x, it must equal y.
- 7
What are the marginal distributions of X and Y in the two-dice example?
Model answer
P(X=x)=1/6 for x=1,…,6, while P(Y=y)=(2y−1)/36 for y=1,…,6.
Explanation
The first die is fair, whereas the maximum equals y in 2y−1 of the 36 equally likely ordered outcomes.
- 8
What is E[X∣Y=1] in the two-dice example?
Model answer
E[X∣Y=1]=1.
Explanation
If the maximum is 1, both dice must show 1, so X=1 with certainty.
- 9
What is E[X∣Y=2] in the two-dice example?
Model answer
E[X∣Y=2]=35.
Explanation
Given Y=2, the joint probabilities for X=1 and X=2 are 1/36 and 2/36, respectively, out of a total probability of 3/36.
- 10
What is E[X∣Y=3] in the two-dice example?
Model answer
E[X∣Y=3]=512.
Explanation
Given Y=3, the probabilities for X=1,2,3 are 1/5,1/5,3/5.
- 11
What is E[X∣Y=4] in the two-dice example?
Model answer
E[X∣Y=4]=722.
Explanation
Given Y=4, the probabilities for X=1,2,3,4 are 1/7,1/7,1/7,4/7.
- 12
What is E[X∣Y=5] in the two-dice example?
Model answer
E[X∣Y=5]=935.
Explanation
Given Y=5, the probabilities for X=1,2,3,4,5 are 1/9,1/9,1/9,1/9,5/9.
- 13
What is E[X∣Y=6] in the two-dice example?
Model answer
E[X∣Y=6]=1151.
Explanation
Given Y=6, the probabilities for X=1,2,3,4,5,6 are 1/11 for the first five values and 6/11 for the last.
- 14
What are the possible values and probabilities of the random variable E[X∣Y] in the two-dice example?
Model answer
Its values are 1,35,512,722,935,1151, with respective probabilities 361,363,365,367,369,3611.
Explanation
The conditional mean is a function of Y, and each value occurs with the probability of the corresponding value of Y.
- 15
In the dice example, calculate E[E[X∣Y]] and compare it with E[X].
Model answer
Both equal 7/2.
Explanation
Weighting the six conditional means by the probabilities of the corresponding values of Y gives 126/36=7/2, which is also the mean of a fair die.
- 16
State the law of iterated expectation for two random variables X and Y.
Model answer
E[E[X∣Y]]=E[X].
Explanation
Averaging the conditional expectation over the distribution of the conditioning variable recovers the unconditional expectation.
- 17
How does integrating the joint density establish the law of iterated expectation in the continuous case?
Model answer
Substituting the conditional expectation gives ∫∫xfX,Y(x,y)dxdy, which equals ∫xfX(x)dx=E[X] after integrating out Y.
Explanation
The factors involving the marginal density of Y cancel, and integrating the joint density over y gives the marginal density of X.
- 18
How does the law of iterated expectation apply to the other die outcome in the example?
Model answer
E[E[Y∣X]]=E[Y]=36161.
Explanation
The expected value of Y is ∑y=16y(2y−1)/36=161/36, and conditioning on X does not change the overall expectation.
- 19
State the law of total variance for X conditioned on Y.
Model answer
Var(X)=E[Var(X∣Y)]+Var(E[X∣Y]).
Explanation
The total variance is the sum of the average conditional variance and the variance of the conditional mean.
- 20
How is conditional variance expressed using conditional expectations?
Model answer
Var(X∣Y)=E[X2∣Y]−(E[X∣Y])2.
Explanation
This is the variance identity applied to the distribution of X conditional on Y.
- 21
Why do the terms involving (E[X∣Y])2 cancel when proving the law of total variance?
Model answer
The average conditional variance contains −E[(E[X∣Y])2], while the variance of the conditional mean contains +E[(E[X∣Y])2].
Explanation
After cancellation, the sum becomes E[X2]−(E[X])2, using the law of iterated expectation.
- 22
What does Chebyshev’s inequality tell us about deviations from a real number C?
Model answer
If E[(X−C)2] is finite and ϵ>0, then P(∣X−C∣≥ϵ)≤E[(X−C)2]/ϵ2.
Explanation
It bounds the probability that X is at least ϵ away from C using its squared distance from C.
- 23
How does the proof of Chebyshev’s inequality bound the probability of the event ∣X−C∣≥ϵ?
Model answer
On that event, (X−C)2/ϵ2≥1, so its probability is at most E[(X−C)2]/ϵ2.
Explanation
The indicator of the event is bounded above by (X−C)2/ϵ2; taking expectations yields the inequality.
- 24
What does Chebyshev’s inequality become when C=μ=E[X]?
Model answer
P(∣X−μ∣≥ϵ)≤Var(X)/ϵ2.
Explanation
For C=E[X], the numerator E[(X−C)2] is the variance of X.
- 25
Express the centered Chebyshev bound in terms of the standard deviation σ and a positive constant k.
Model answer
P(∣X−μ∣≥kσ)≤1/k2.
Explanation
Substituting ϵ=kσ and Var(X)=σ2 gives the stated bound.
- 26
Why can Chebyshev’s inequality provide a useful bound even when the distribution of X is unknown?
Model answer
It bounds the probability of a large deviation from the mean using only the mean and variance, without requiring the full distribution.
Explanation
Different distributions can share the same mean and variance, but Chebyshev’s inequality still supplies an upper bound on their tail probabilities.
- 27
For X∼Uniform(0,1), what mean and variance are used in the Chebyshev example?
Model answer
μ=1/2 and Var(X)=1/12.
Explanation
These values give standard deviation σ=1/12.
- 28
For X∼Uniform(0,1), what bound does Chebyshev’s inequality give for P(∣X−1/2∣≥2/12)?
Model answer
The bound is 1/4.
Explanation
This is the k=2 case of P(∣X−μ∣≥kσ)≤1/k2.
- 29
Why is the Chebyshev bound in the uniform example not tight?
Model answer
The threshold 2/12=1/3 is greater than the maximum possible distance 1/2 from the mean, so the actual probability is 0, below the bound 1/4.
Explanation
The support of the uniform distribution makes the event impossible even though Chebyshev’s general bound is positive.
- 30
State Markov’s inequality for a nonnegative function h(X).
Model answer
If h(X)≥0 and E[h(X)] exists, then for ϵ>0, P(h(X)≥ϵ)≤E[h(X)]/ϵ.
Explanation
The inequality bounds the probability that a nonnegative random quantity reaches or exceeds a threshold.
- 31
How does splitting the outcomes into A={h(X)≥ϵ} and its complement prove Markov’s inequality?
Model answer
The contribution to E[h(X)] from A is at least ϵP(A), while the contribution from its complement is nonnegative; hence E[h(X)]≥ϵP(A).
Explanation
Rearranging this inequality gives P(A)≤E[h(X)]/ϵ.
- 32
What moment bound follows from Markov’s inequality when h(X)=∣X∣r?
Model answer
If E[∣X∣r] exists, then for k>0, P(∣X∣≥k)≤E[∣X∣r]/kr.
Explanation
Apply Markov’s inequality with threshold kr to the nonnegative quantity ∣X∣r.
- 33
How can Markov’s inequality be used to derive Chebyshev’s inequality?
Model answer
Apply it to h(X)=(X−μ)2 with threshold k2σ2 to obtain P(∣X−μ∣≥kσ)≤1/k2.
Explanation
The expectation of (X−μ)2 is σ2, so Markov’s bound reduces to the centered Chebyshev bound.
- 34
What relationship between Markov’s and Chebyshev’s inequalities is established in the content?
Model answer
Chebyshev’s inequality can be derived from Markov’s inequality, but not vice versa.
Explanation
The derivation uses the squared deviation from the mean as the nonnegative function in Markov’s inequality.

Ask anything
We've read this whole study set, so questions about it get the best answers.