dirk_mec1
- 755
- 13
Homework Statement
I know that per definition E(N)= \sum P(N=k) \cdot k. But how can I rewrite the above expectation towards the 'usual definition'?
Well... its the expectation just written in another form which I'll have to proof.statdad said:First, I've never seen the result you are trying to prove - but that doesn't prove it is written incorrectly. I know of the following result:
If the random positive random variable (so that F(0-) = 0, then
<br /> E(X) = \int_0^\infty \Pr(X > x) \, dx = \int_0^\infty \Pr(X \ge x) \, dx<br />
although the integral may be infinite. Is this what you are discussing?
Yes you're right so we get:Second, your integrals, as written, don't make any sense - you need to integrate with respect to two variables, not just one. To point:
<br /> \int_0^\infty \, \int_x^\infty f(y) \, dy<br />
is meaningless without a dx as well.
dirk_mec1 said:What do you propose then?
statdad said:To answer
what you're doing in the double integral is not a change of variable - if that were the case, your step could be correct.
Try going through the same steps without changing from f(y) to f(x) at the aforementioned point. (And remember that when you integrate from 0 to y w.r.t. x, f(y) will act like a constant.
Yes, you're right it should be:statdad said:When you write
you are essentially writing
<br /> \Pr(N \ge k) = \sum_{l=1}^n \Pr(N=l)<br />
This is not correct - the sum on the right here equals 1. In short, the expression for \Pr(N \ge k) needs to be fixed.
Once that is one, you will have a double sum: reversing the order of summation (watch the indices) will get you where you need to be.