Expectation (math)
This is an old revision of this page, as edited by Qwestor (talk | contribs) at 14:42, January 19, 2009. It may differ significantly from current revision.
The expectation of continuously distributed variable <math>X</math> with probability density function <math>f(x)</math> is
- <math>
\mbox{E}[X] =\int\limits_{-\infty}^\infty x f(x)dx. </math>
For a discretely distributed variable <math>X</math> with probability mass function <math>p_{k}</math> it is
- <math>
\mbox{E}[X] = \sum_{k} p_{k}x_{k} </math>
The expectation is also the mean of a distributed variable <math>X</math>.
The expectation with respect to some function <math>g(X)</math> where <math>X</math> is distributed according to <math>f(x)</math> is
- <math>
\mbox{E}[g(X)] =\int\limits_{-\infty}^\infty g(x) f(x)dx. </math>