Deriving Expectations (i.e. mean)

  • Context: Undergrad 
  • Thread starter Thread starter kurvmax
  • Start date Start date
  • Tags Tags
    deriving Mean
Click For Summary

Discussion Overview

The discussion revolves around the derivation of expectations, specifically the mean and variance, as presented in an Introduction to Econometrics textbook. Participants are examining the mathematical steps involved in deriving E(Y²) and the implications of certain equalities and properties of expectations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the equation E(Y²) = σ²_Y + μ²_Y and questions why terms do not drop out if E(Y - μ_Y) = 0.
  • Another participant challenges the validity of the first equality in the derivation, suggesting it is not true.
  • A later reply clarifies that E(Y - μ_Y) = 0 does not imply E[(Y - μ_Y)²] = 0, emphasizing that the square is inside the expectation.
  • Participants discuss the correct formulation of E(Y²) and the process of adding and subtracting μ_Y to derive E(Y) = μ_Y.
  • There is a clarification that E(Y²) ≠ (E(Y))² = μ²_Y, highlighting a common source of confusion regarding notation.
  • One participant notes that the notation could lead to misinterpretation, suggesting clearer expressions for expectations.

Areas of Agreement / Disagreement

Participants express differing views on the validity of certain mathematical steps and interpretations. There is no consensus on the derivations, and the discussion remains unresolved regarding the implications of the equalities presented.

Contextual Notes

Some participants indicate that the notation used may lead to confusion, particularly regarding the treatment of squares in expectations. There are also unresolved questions about the legality of certain mathematical manipulations.

kurvmax
Messages
11
Reaction score
0
Deriving Expectations (i.e. means)

I'm looking at my Introduction to Econometrics book and trying to figure out the derivations in the 2nd Chapter.

First, [tex]E(Y^{2}) = \sigma^{2}_{Y}+\mu^{2}_{Y}[/tex]

The derivation goes like this:

[tex]E(Y^{2}) = E{[(Y - \mu_{Y})+ \mu_{Y}]^{2}} = E[(Y- \mu_{Y})^2] + 2\mu_{Y}E(Y-\mu_{Y})+ \mu^{2}_{Y} = \sigma^{2}_{Y} + \mu^{2}_{Y}[/tex] because [tex]E(Y - \mu_{Y}) = 0[/tex]

If this last thing equals zero, then why doesn't everything but [tex]\mu^{2}_{Y}[/tex] drop out?
 
Last edited:
Physics news on Phys.org
kurvmax said:
[tex]E(Y^{2}) = E[(Y - \mu_{Y})^{2}] = E[(Y- \mu_{Y})^2] + 2\mu_{Y}E(Y-\mu_{Y})+ \mu^{2}_{Y} = \sigma^{2}_{Y} + \mu^{2}_{Y}[/tex] because [tex]E(Y - \mu_{Y}) = 0[/tex]

Already the first "equality" is certainly not true.
 
Last edited by a moderator:
Err, yeah. Sorry -- fixed.
 
kurvmax said:
I'm looking at my Introduction to Econometrics book and trying to figure out the derivations in the 2nd Chapter.

First, [tex]E(Y^{2}) = \sigma^{2}_{Y}+\mu^{2}_{Y}[/tex]

The derivation goes like this:

[tex]E(Y^{2}) = E{[(Y - \mu_{Y})+ \mu_{Y}]^{2}} = E[(Y- \mu_{Y})^2] + 2\mu_{Y}E(Y-\mu_{Y})+ \mu^{2}_{Y} = \sigma^{2}_{Y} + \mu^{2}_{Y}[/tex] because [tex]E(Y - \mu_{Y}) = 0[/tex]

If this last thing equals zero, then why doesn't everything but [tex]\mu^{2}_{Y}[/tex] drop out?

Because [itex]E(Y-\mu_Y)=0[/itex] does not imply that [itex]E\left[(Y-\mu_Y)^2\right]=0[/itex]. Otherwise, every random variable would be degenerate. Note that the square is *inside* the expectation.
 
Last edited by a moderator:
Ah, yeah. [tex]E\left[(Y-\mu_Y)^2\right]=\sigma^{2}[/tex], right?

So now I'm wondering how [tex]E(Y^{2}) = E{[(Y - \mu_{Y})+ \mu_{Y}]^{2}}[/tex]
 
Are you sure it is not E[((Y-\mu_Y)+ \mu_Y)^2][/itex]? That would then be [itex]E[(Y-\mu_Y)^2- 2\mu_Y(Y- \mu_Y)+ \mu_y^2][/itex] which gives the rest.
 
Err, sorry. That's what it is. But I still don't see how you go from [tex]E(Y^2)[/tex] to [tex]E[((Y-\mu_Y)+\mu_Y)^2][/tex]. How'd they come up with the latter definition? Did they just add and subtract [tex]\mu_{Y}[/tex] and then add it, then group them using the associativity property?

If I didn't add and subtract [tex]\mu_{Y}\[/tex], it seems to me that I would get [tex]E(Y^2) = \mu_Y^2[/tex]...

How do you do the proof of [tex]E(Y) = \mu_Y[/tex]?

Nevermind, I see. You have to add and subtract [tex]\mu_Y[/tex] (why is this formatting strangely?) to even get it. The proof of [tex]E(Y) = \mu_Y[/tex] is, I guess

[tex]E(Y) = E[(Y -\mu_Y) + \mu_Y] = E(Y - \mu_Y) + E(\mu_Y)[/tex]

Was what I did above legal? Can I distribute the E, and would [tex]E(\mu_Y) = \mu_Y[/tex]
 
Last edited:
kurvmax said:
it seems to me that I would get [tex]E(Y^2) = \mu_Y^2[/tex]
No, because

[tex] E(Y^2)\neq \left[E(Y)\right]^2 = \mu_Y^2[/tex]


kurvmax said:
How do you do the proof of [tex]E(Y) = \mu_Y[/tex]?

That's a definition.

kurvmax said:
Nevermind, I see. You have to add and subtract [tex]\mu_Y[/tex] to even get it. The proof of [tex]E(Y) = \mu_Y[/tex] is, I guess

[tex]E(Y) = E[(Y -\mu_Y) + \mu_Y] = E(Y - \mu_Y) + E(\mu_Y)[/tex]

Was what I did above legal? Can I distribute the E, and would [tex]E(\mu_Y) = \mu_Y[/tex]

It was "legal", but to see that the first term vanishes you use [itex]E(Y-\mu_Y)=0[/itex] which is equivalent to [itex]E(Y)=\mu_Y[/itex] which is what you want to show. [itex]\mu_Y[/itex] is just a short notation for [itex]E(Y)[/itex]
 
Last edited by a moderator:
Pere Callahan said:
No, because

[tex] E(Y^2)\neq E(Y)^2 = \mu_Y^2[/tex]

The notation could be a source of confusion. Some people interpret the square in the second term to act on Y rather than on the expectation as a whole. (To the Original poster): perhaps its better if you write

[tex]E^{2}(Y) = (E(Y))^2 = (\mu_Y)^{2} = \mu_{Y}^2[/tex]

(PS--I wrote this because some books define variance(X) as [itex]E(X-\mu_{X})^2[/itex]. They actually mean [itex]E[(X-\mu_{X})^2][/itex], that is, expectation of the square of the difference between X and its mean.)
 

Similar threads

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