Why am I getting different results when using the law of total expectation?

  • Context: Graduate 
  • Thread starter Thread starter adnaps1
  • Start date Start date
  • Tags Tags
    Expectation Law
Click For Summary
SUMMARY

The discussion centers on calculating the expected number of red marbles, E(X_3), in a box containing red and black marbles, specifically under the condition that X_2 = 1. The initial calculation yields E(X_3 | X_2 = 1) = 5/4, while an alternative approach using the law of total expectation results in E(X_3 | X_2 = 1) = 5/8. The discrepancy arises from the incorrect application of probabilities when conditioning on X_1, where the probability should reflect the conditional nature of the previous selections.

PREREQUISITES
  • Understanding of conditional expectation in probability theory
  • Familiarity with the law of total expectation
  • Basic knowledge of probability distributions
  • Experience with random processes and marble selection problems
NEXT STEPS
  • Study the law of total expectation in depth
  • Explore conditional probability and its applications
  • Practice problems involving expected values in random processes
  • Review concepts related to probability distributions and their properties
USEFUL FOR

Mathematicians, statisticians, students of probability theory, and anyone interested in understanding conditional expectations and their implications in random selection scenarios.

adnaps1
Messages
4
Reaction score
0
Suppose a box initially contains 1 red marble and 1 black marble and that, at each time n = 1, 2, ..., we randomly select a marble from the box and replace it with one additional marble of the same color. Let X_n denote the number of red marbles in the box at time n (note that X_0 = 1). What is E(X_3)?

In solving this problem, I would like to calculate E(X_3 | X_2 = 1). If there is 1 red marble at time 2 (X_2 = 1), that means the first 2 selections resulted in black marbles. So at the time of the third selection, there are 3 black marbles in the box and 1 red marble. Therefore, E(X_3 | X_2 = 1) = 1(3/4) + 2(1/4) = 5/4 (that is, 1 with probability 3/4 and 2 with probability 1/4).

However, if I would like to calculate E(X_3 | X_2 = 1) differently, using the law of total expectation, I can write E(X_3 | X_2 = 1) = E(X_3 | X_2 = 1, X_1 = 1) P(X_1 = 1). (There are no other values of X_1 to condition on, because if we know there is 1 red marble at time n = 2, there cannot be 2 red marbles at time n = 1.) However, this simplifies to [1(3/4) + 2(1/4)](1/2) = 5/8.

Why am I getting different results? I think the problem has something to do with the following: When I condition on X_1 = 1, I already know X_1 = 1 with probability 1 because X_2 = 1; however, then I say P(X_1 = 1) = 1/2, which is also true.
 
Physics news on Phys.org
adnaps1 said:
However, if I would like to calculate E(X_3 | X_2 = 1) differently, using the law of total expectation, I can write E(X_3 | X_2 = 1) = E(X_3 | X_2 = 1, X_1 = 1) P(X_1 = 1).

Shouldn't that be E(X_3 | X_2 = 1) = E(X_3 | X_2 =1, X_1=1) P(X_1=1 | X_2 = 1) ?
 
Yes, you're right. Thank you very much.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
3K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K