0

I stumbled upon an expression in an article of statistics for an $n$-th moment with $X$ being a random variable over $[0, \infty)$.

$$\mathbb{E} X^{n} = \int^{\infty}_{0} nz^{n-1}\; \text{Pr}(X > z) \; \text{dz}$$

Could someone enlighten me on why the above is true? It indeed works for the exponential distribution.

Dilip Sarwate
  • 25,197
johnny
  • 2,263

1 Answers1

2

First, use Tonelli's theorem to conclude that (write the probability as an integral and interchange the two integrals) $$ E[X^n]=\int_0^\infty P\left(X^n> z\right)\, \mathrm{d} z. $$ Now write $P\left(X^n> z\right)=P\big(X> z^{1/n}\big)$ and use change of variables with $t=z^{1/n}$.

Stefan Hansen
  • 25,582
  • 7
  • 59
  • 91
  • Would you add a line or two to show how you apply Tonelli's theorem to get the formula for expectation? I can't see it immediately. I'll accept the answer then. Thanks! – johnny Jun 14 '12 at 12:13
  • It's alright. See @DilipSarwate comment for a link to the proof of that relation. – johnny Jun 14 '12 at 12:32
  • @DilipSarwate: Of course, I edited it now. Thanks for the heads up. – Stefan Hansen Jun 14 '12 at 13:02