1. Home
  2. Explore
  3. Mathematics
  4. Conditional Expectation and Variance

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Conditional Expectation and Variance

  • 40Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Conditional Expectation
  • 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?

Tap to flipClick to flipspace

A conditional distribution is itself a valid probability distribution, so its expectation and variance can be calculated.

Or swipe the card

40 cards

  1. 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.

  2. How is the conditional expectation E[X∣Y=y]E[X\mid Y=y]E[X∣Y=y] calculated for continuous random variables?

    E[X∣Y=y]=∫xfX∣Y(x∣y) dx=∫xfX,Y(x,y)fY(y) dxE[X\mid Y=y]=\int x f_{X\mid Y}(x\mid y)\,dx=\int x\frac{f_{X,Y}(x,y)}{f_Y(y)}\,dxE[X∣Y=y]=∫xfX∣Y​(x∣y)dx=∫xfY​(y)fX,Y​(x,y)​dx

  3. How is E[X∣Y=yj]E[X\mid Y=y_j]E[X∣Y=yj​] calculated for discrete random variables?

    E[X∣Y=yj]=∑ixiP(X=xi∣Y=yj)=∑ixiP(X=xi,Y=yj)P(Y=yj)E[X\mid Y=y_j]=\sum_i x_iP(X=x_i\mid Y=y_j)=\frac{\sum_i x_iP(X=x_i,Y=y_j)}{P(Y=y_j)}E[X∣Y=yj​]=∑i​xi​P(X=xi​∣Y=yj​)=P(Y=yj​)∑i​xi​P(X=xi​,Y=yj​)​

  4. Why does E[X∣Y=y]E[X\mid Y=y]E[X∣Y=y] generally depend on yyy?

    The conditional distribution of XXX changes with the fixed value yyy, so its expectation can change with yyy.

  5. What is E[X∣Y=y]E[X\mid Y=y]E[X∣Y=y] when XXX and YYY are independent?

    E[X∣Y=y]=E[X]E[X\mid Y=y]=E[X]E[X∣Y=y]=E[X]

  6. How is the conditional expectation E[X∣Y]E[X\mid Y]E[X∣Y] viewed as a random variable?

    It is the function g(y)=E[X∣Y=y]g(y)=E[X\mid Y=y]g(y)=E[X∣Y=y] evaluated at the random variable YYY, giving g(Y)g(Y)g(Y).

  7. In the two-dice example, how are XXX, X1X_1X1​, and YYY defined?

    XXX and X1X_1X1​ are independent fair-die outcomes, and Y=max⁡(X,X1)Y=\max(X,X_1)Y=max(X,X1​).

  8. What is the joint probability P(X=x,Y=y)P(X=x,Y=y)P(X=x,Y=y) in the two-dice maximum example?

    For 1≤x,y≤61\le x,y\le61≤x,y≤6, it is y/36y/36y/36 if x=yx=yx=y, 1/361/361/36 if x<yx<yx<y, and 000 if x>yx>yx>y.

  9. What is the marginal distribution of XXX in the two-dice maximum example?

    P(X=x)=16,x=1,2,3,4,5,6P(X=x)=\frac{1}{6},\qquad x=1,2,3,4,5,6P(X=x)=61​,x=1,2,3,4,5,6

  10. What is the marginal distribution of the maximum YYY of two fair dice?

    P(Y=y)=2y−136,y=1,2,3,4,5,6P(Y=y)=\frac{2y-1}{36},\qquad y=1,2,3,4,5,6P(Y=y)=362y−1​,y=1,2,3,4,5,6

  11. What is the conditional distribution of XXX given Y=yY=yY=y in the two-dice maximum example?

    For x<yx<yx<y, P(X=x∣Y=y)=1/(2y−1)P(X=x\mid Y=y)=1/(2y-1)P(X=x∣Y=y)=1/(2y−1); for x=yx=yx=y, it is y/(2y−1)y/(2y-1)y/(2y−1); for x>yx>yx>y, it is 000.

  12. What is E[X∣Y=1]E[X\mid Y=1]E[X∣Y=1] in the two-dice maximum example?

    E[X∣Y=1]=1E[X\mid Y=1]=1E[X∣Y=1]=1

  13. What is E[X∣Y=2]E[X\mid Y=2]E[X∣Y=2] in the two-dice maximum example?

    E[X∣Y=2]=53E[X\mid Y=2]=\frac{5}{3}E[X∣Y=2]=35​

  14. What is E[X∣Y=3]E[X\mid Y=3]E[X∣Y=3] in the two-dice maximum example?

    E[X∣Y=3]=125E[X\mid Y=3]=\frac{12}{5}E[X∣Y=3]=512​

  15. What is E[X∣Y=4]E[X\mid Y=4]E[X∣Y=4] in the two-dice maximum example?

    E[X∣Y=4]=227E[X\mid Y=4]=\frac{22}{7}E[X∣Y=4]=722​

  16. What is E[X∣Y=5]E[X\mid Y=5]E[X∣Y=5] in the two-dice maximum example?

    E[X∣Y=5]=359E[X\mid Y=5]=\frac{35}{9}E[X∣Y=5]=935​

  17. What is E[X∣Y=6]E[X\mid Y=6]E[X∣Y=6] in the two-dice maximum example?

    E[X∣Y=6]=5111E[X\mid Y=6]=\frac{51}{11}E[X∣Y=6]=1151​

  18. What are the possible values and probabilities of the random variable E[X∣Y]E[X\mid Y]E[X∣Y] in the two-dice example?

    Its values are 1,5/3,12/5,22/7,35/9,51/111,5/3,12/5,22/7,35/9,51/111,5/3,12/5,22/7,35/9,51/11, with respective probabilities 1/36,3/36,5/36,7/36,9/36,11/361/36,3/36,5/36,7/36,9/36,11/361/36,3/36,5/36,7/36,9/36,11/36.

  19. What is the law of iterated expectation, also called the tower property?

    E[E[X∣Y]]=E[X]E\big[E[X\mid Y]\big]=E[X]E[E[X∣Y]]=E[X]

  20. How does integration establish the tower property for continuous random variables?

    Substituting the conditional density gives ∫∫xfX,Y(x,y) dx dy=E[X]\int\int x f_{X,Y}(x,y)\,dx\,dy=E[X]∫∫xfX,Y​(x,y)dxdy=E[X].

  21. Does the tower property also hold for discrete random variables?

    Yes. Summing the conditional expectations over the values of YYY, weighted by their probabilities, gives E[X]E[X]E[X].

  22. What does the tower property give for E[X∣Y]E[X\mid Y]E[X∣Y] in the two-dice maximum example?

    E[E[X∣Y]]=72=E[X]E[E[X\mid Y]]=\frac{7}{2}=E[X]E[E[X∣Y]]=27​=E[X]

  23. What are E[Y]E[Y]E[Y] and E[Y∣X]E[Y\mid X]E[Y∣X] in the two-dice maximum example?

    E[Y]=E[E[Y∣X]]=16136E[Y]=E[E[Y\mid X]]=\frac{161}{36}E[Y]=E[E[Y∣X]]=36161​

  24. What is the conditional variance of XXX given YYY?

    Var⁡(X∣Y)=E[X2∣Y]−(E[X∣Y])2\operatorname{Var}(X\mid Y)=E[X^2\mid Y]-\big(E[X\mid Y]\big)^2Var(X∣Y)=E[X2∣Y]−(E[X∣Y])2

  25. State the law of total variance.

    Var⁡(X)=E[Var⁡(X∣Y)]+Var⁡(E[X∣Y])\operatorname{Var}(X)=E[\operatorname{Var}(X\mid Y)]+\operatorname{Var}(E[X\mid Y])Var(X)=E[Var(X∣Y)]+Var(E[X∣Y])

  26. What does each term represent in the law of total variance?

    E[Var⁡(X∣Y)]E[\operatorname{Var}(X\mid Y)]E[Var(X∣Y)] measures average variation within conditional groups, while Var⁡(E[X∣Y])\operatorname{Var}(E[X\mid Y])Var(E[X∣Y]) measures variation between their conditional means.

  27. How can the law of total variance be derived using conditional second moments?

    Expand both variance terms; the E[(E[X∣Y])2]E[(E[X\mid Y])^2]E[(E[X∣Y])2] terms cancel, leaving E[E[X2∣Y]]−(E[X])2E[E[X^2\mid Y]]-(E[X])^2E[E[X2∣Y]]−(E[X])2.

  28. What does Chebyshev's inequality bound?

    It bounds the probability that a random variable lies at least a specified distance from a chosen center.

  29. State Chebyshev's inequality for an arbitrary center ccc.

    If E[(X−c)2]E[(X-c)^2]E[(X−c)2] is finite and ϵ>0\epsilon>0ϵ>0, then P(∣X−c∣≥ϵ)≤E[(X−c)2]/ϵ2P(|X-c|\ge\epsilon)\le E[(X-c)^2]/\epsilon^2P(∣X−c∣≥ϵ)≤E[(X−c)2]/ϵ2.

  30. How does the squared-deviation event imply Chebyshev's inequality?

    On ∣X−c∣≥ϵ|X-c|\ge\epsilon∣X−c∣≥ϵ, (X−c)2/ϵ2≥1(X-c)^2/\epsilon^2\ge1(X−c)2/ϵ2≥1; averaging this pointwise bound gives P(∣X−c∣≥ϵ)≤E[(X−c)2]/ϵ2P(|X-c|\ge\epsilon)\le E[(X-c)^2]/\epsilon^2P(∣X−c∣≥ϵ)≤E[(X−c)2]/ϵ2.

  31. What is Chebyshev's inequality when the center is the mean μ=E[X]\mu=E[X]μ=E[X]?

    P(∣X−μ∣≥ϵ)≤Var⁡(X)ϵ2P(|X-\mu|\ge\epsilon)\le\frac{\operatorname{Var}(X)}{\epsilon^2}P(∣X−μ∣≥ϵ)≤ϵ2Var(X)​

  32. What is the standard-deviation form of Chebyshev's inequality?

    If σ2=Var⁡(X)\sigma^2=\operatorname{Var}(X)σ2=Var(X) and k>0k>0k>0, then P(∣X−μ∣≥kσ)≤1/k2P(|X-\mu|\ge k\sigma)\le 1/k^2P(∣X−μ∣≥kσ)≤1/k2.

  33. What assumptions are needed for the mean-centered Chebyshev bound?

    XXX must have a finite mean and finite variance, and the distance threshold must be positive.

  34. For X∼Uniform⁡(0,1)X\sim\operatorname{Uniform}(0,1)X∼Uniform(0,1), what bound does Chebyshev give for P(∣X−1/2∣≥2/12)P(|X-1/2|\ge2/\sqrt{12})P(∣X−1/2∣≥2/12​)?

    Chebyshev gives P(∣X−1/2∣≥2/12)≤1/4P(|X-1/2|\ge2/\sqrt{12})\le1/4P(∣X−1/2∣≥2/12​)≤1/4.

  35. What is the actual value of P(∣X−1/2∣≥2/12)P(|X-1/2|\ge2/\sqrt{12})P(∣X−1/2∣≥2/12​) when X∼Uniform⁡(0,1)X\sim\operatorname{Uniform}(0,1)X∼Uniform(0,1)?

    It is 000, because 2/12=1/3>1/22/\sqrt{12}=1/\sqrt{3}>1/22/12​=1/3​>1/2, while ∣X−1/2∣≤1/2|X-1/2|\le1/2∣X−1/2∣≤1/2.

  36. State Markov's inequality.

    If h(X)≥0h(X)\ge0h(X)≥0 and E[h(X)]E[h(X)]E[h(X)] is finite, then for ϵ>0\epsilon>0ϵ>0, P(h(X)≥ϵ)≤E[h(X)]/ϵP(h(X)\ge\epsilon)\le E[h(X)]/\epsilonP(h(X)≥ϵ)≤E[h(X)]/ϵ.

  37. How can Markov's inequality be proved using an event and its complement?

    On A={h(X)≥ϵ}A=\{h(X)\ge\epsilon\}A={h(X)≥ϵ}, h(X)≥ϵh(X)\ge\epsilonh(X)≥ϵ; elsewhere h(X)≥0h(X)\ge0h(X)≥0. Thus E[h(X)]≥ϵP(A)E[h(X)]\ge\epsilon P(A)E[h(X)]≥ϵP(A).

  38. What moment bound follows from Markov's inequality for ∣X∣r|X|^r∣X∣r?

    For r>0r>0r>0, k>0k>0k>0, and finite E[∣X∣r]E[|X|^r]E[∣X∣r], P(∣X∣≥k)≤E[∣X∣r]kr.P(|X|\ge k)\le\frac{E[|X|^r]}{k^r}.P(∣X∣≥k)≤krE[∣X∣r]​.

  39. How can Chebyshev's inequality be derived from Markov's inequality?

    Apply Markov to h(X)=(X−μ)2h(X)=(X-\mu)^2h(X)=(X−μ)2 with threshold k2σ2k^2\sigma^2k2σ2 to obtain P(∣X−μ∣≥kσ)≤1/k2P(|X-\mu|\ge k\sigma)\le1/k^2P(∣X−μ∣≥kσ)≤1/k2.

  40. 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.

Card 1 of 40
Card 1 of 40

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent