Conditional Expectation and Variance
- 40Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
Why is it meaningful to calculate the expectation and variance of a conditional distribution?
A conditional distribution is itself a valid probability distribution, so its expectation and variance can be calculated.
Or swipe the card
40 cards
Why is it meaningful to calculate the expectation and variance of a conditional distribution?
A conditional distribution is itself a valid probability distribution, so its expectation and variance can be calculated.
How is the conditional expectation E[X∣Y=y] calculated for continuous random variables?
E[X∣Y=y]=∫xfX∣Y(x∣y)dx=∫xfY(y)fX,Y(x,y)dx
How is E[X∣Y=yj] calculated for discrete random variables?
E[X∣Y=yj]=∑ixiP(X=xi∣Y=yj)=P(Y=yj)∑ixiP(X=xi,Y=yj)
Why does E[X∣Y=y] generally depend on y?
The conditional distribution of X changes with the fixed value y, so its expectation can change with y.
What is E[X∣Y=y] when X and Y are independent?
E[X∣Y=y]=E[X]
How is the conditional expectation E[X∣Y] viewed as a random variable?
It is the function g(y)=E[X∣Y=y] evaluated at the random variable Y, giving g(Y).
In the two-dice example, how are X, X1, and Y defined?
X and X1 are independent fair-die outcomes, and Y=max(X,X1).
What is the joint probability P(X=x,Y=y) in the two-dice maximum example?
For 1≤x,y≤6, it is y/36 if x=y, 1/36 if x<y, and 0 if x>y.
What is the marginal distribution of X in the two-dice maximum example?
P(X=x)=61,x=1,2,3,4,5,6
What is the marginal distribution of the maximum Y of two fair dice?
P(Y=y)=362y−1,y=1,2,3,4,5,6
What is the conditional distribution of X given Y=y in the two-dice maximum example?
For x<y, P(X=x∣Y=y)=1/(2y−1); for x=y, it is y/(2y−1); for x>y, it is 0.
What is E[X∣Y=1] in the two-dice maximum example?
E[X∣Y=1]=1
What is E[X∣Y=2] in the two-dice maximum example?
E[X∣Y=2]=35
What is E[X∣Y=3] in the two-dice maximum example?
E[X∣Y=3]=512
What is E[X∣Y=4] in the two-dice maximum example?
E[X∣Y=4]=722
What is E[X∣Y=5] in the two-dice maximum example?
E[X∣Y=5]=935
What is E[X∣Y=6] in the two-dice maximum example?
E[X∣Y=6]=1151
What are the possible values and probabilities of the random variable E[X∣Y] in the two-dice example?
Its values are 1,5/3,12/5,22/7,35/9,51/11, with respective probabilities 1/36,3/36,5/36,7/36,9/36,11/36.
What is the law of iterated expectation, also called the tower property?
E[E[X∣Y]]=E[X]
How does integration establish the tower property for continuous random variables?
Substituting the conditional density gives ∫∫xfX,Y(x,y)dxdy=E[X].
Does the tower property also hold for discrete random variables?
Yes. Summing the conditional expectations over the values of Y, weighted by their probabilities, gives E[X].
What does the tower property give for E[X∣Y] in the two-dice maximum example?
E[E[X∣Y]]=27=E[X]
What are E[Y] and E[Y∣X] in the two-dice maximum example?
E[Y]=E[E[Y∣X]]=36161
What is the conditional variance of X given Y?
Var(X∣Y)=E[X2∣Y]−(E[X∣Y])2
State the law of total variance.
Var(X)=E[Var(X∣Y)]+Var(E[X∣Y])
What does each term represent in the law of total variance?
E[Var(X∣Y)] measures average variation within conditional groups, while Var(E[X∣Y]) measures variation between their conditional means.
How can the law of total variance be derived using conditional second moments?
Expand both variance terms; the E[(E[X∣Y])2] terms cancel, leaving E[E[X2∣Y]]−(E[X])2.
What does Chebyshev's inequality bound?
It bounds the probability that a random variable lies at least a specified distance from a chosen center.
State Chebyshev's inequality for an arbitrary center c.
If E[(X−c)2] is finite and ϵ>0, then P(∣X−c∣≥ϵ)≤E[(X−c)2]/ϵ2.
How does the squared-deviation event imply Chebyshev's inequality?
On ∣X−c∣≥ϵ, (X−c)2/ϵ2≥1; averaging this pointwise bound gives P(∣X−c∣≥ϵ)≤E[(X−c)2]/ϵ2.
What is Chebyshev's inequality when the center is the mean μ=E[X]?
P(∣X−μ∣≥ϵ)≤ϵ2Var(X)
What is the standard-deviation form of Chebyshev's inequality?
If σ2=Var(X) and k>0, then P(∣X−μ∣≥kσ)≤1/k2.
What assumptions are needed for the mean-centered Chebyshev bound?
X must have a finite mean and finite variance, and the distance threshold must be positive.
For X∼Uniform(0,1), what bound does Chebyshev give for P(∣X−1/2∣≥2/12)?
Chebyshev gives P(∣X−1/2∣≥2/12)≤1/4.
What is the actual value of P(∣X−1/2∣≥2/12) when X∼Uniform(0,1)?
It is 0, because 2/12=1/3>1/2, while ∣X−1/2∣≤1/2.
State Markov's inequality.
If h(X)≥0 and E[h(X)] is finite, then for ϵ>0, P(h(X)≥ϵ)≤E[h(X)]/ϵ.
How can Markov's inequality be proved using an event and its complement?
On A={h(X)≥ϵ}, h(X)≥ϵ; elsewhere h(X)≥0. Thus E[h(X)]≥ϵP(A).
What moment bound follows from Markov's inequality for ∣X∣r?
For r>0, k>0, and finite E[∣X∣r], P(∣X∣≥k)≤krE[∣X∣r].
How can Chebyshev's inequality be derived from Markov's inequality?
Apply Markov to h(X)=(X−μ)2 with threshold k2σ2 to obtain P(∣X−μ∣≥kσ)≤1/k2.
What relationship between Markov's and Chebyshev's inequalities is established by applying Markov to a squared deviation?
Chebyshev's inequality is a special case of Markov's inequality; the derivation does not establish the reverse.

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