Undergrad Understanding the Law of Iterated Expectation in Probability Derivations

  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    Expectation Law
Click For Summary
The discussion centers on the application of the law of iterated expectation in a probability derivation involving expected values of random variables. The key equation discussed is E(X_n | X_{n-1}) = X_{n-1} + f, leading to E(X_n) = E(X_{n-1}) + f. Participants clarify that taking the expected value of both sides allows the use of the law of iterated expectation, resulting in E[E(X_n | X_{n-1})] = E[X_n]. The confusion expressed by the original poster highlights the complexity of understanding these concepts, particularly in the context of calculating the expected number of flips for achieving n consecutive heads. Overall, the thread emphasizes the importance of the law of iterated expectation in deriving expected values in probability.
member 428835
I'm reading a website where they're doing a derivation. Within the derivation they write $$E(X_n | X_{n-1}) = X_{n-1} + f \implies E(X_n) = E(X_{n-1} ) + f$$. Evidently the implication stems from the law of iterated expectation, but I can't see how. If it helps, the question asked is "what is the expected number of flips for a coin to achieve ##n## consecutive heads.
 
Physics news on Phys.org
Could you tell me more detail on the setting ? What are E, X_n and X_n|Xn-1 ?
 
anuttarasammyak said:
Could you tell me more detail on the setting ? What are E, X_n and X_n|Xn-1 ?
Sorry, I realize I didn't explain this well. Rather than retype everything, and since the website is very clear, perhaps the link is easier? It's here. I'm wondering how they applied the law of iterated expectation to arrive from equation 3 to 4.
 
We are given ## E(X_n | X_{n-1}) = X_{n-1} + f ##.
Take the expected value of both sides: ## E \left [ E(X_n | X_{n-1}) \right ] = E \left [ X_{n-1} + f \right ] ##.
From the law of iterated expectation we have ## E \left [ E(X_n | X_{n-1}) \right ] = E \left [ X_n \right ] ##.
 
  • Like
Likes member 428835
pbuk said:
We are given ## E(X_n | X_{n-1}) = X_{n-1} + f ##.
Take the expected value of both sides: ## E \left [ E(X_n | X_{n-1}) \right ] = E \left [ X_{n-1} + f \right ] ##.
From the law of iterated expectation we have ## E \left [ E(X_n | X_{n-1}) \right ] = E \left [ X_n \right ] ##.
Wow, I feel like a moron. Can we just say I was exhausted and that's why I was confused? Sheesh...thanks though!
 
First trick I learned this one a long time ago and have used it to entertain and amuse young kids. Ask your friend to write down a three-digit number without showing it to you. Then ask him or her to rearrange the digits to form a new three-digit number. After that, write whichever is the larger number above the other number, and then subtract the smaller from the larger, making sure that you don't see any of the numbers. Then ask the young "victim" to tell you any two of the digits of the...

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K