@wikipedia
LaTeX Math Block |
---|
|
{\displaystyle \operatorname {E} [X]=\sum _{i=1}^{n}x_{i}\,p_{i}=x_{1}p_{1}+x_{2}p_{2}+\cdots +x_{n}p_{n}.} |
whereLet be a random variable with a finite number of finite outcomes LaTeX Math Inline |
---|
body | {\displaystyle x_{1},x_{2},\ldots ,x_{n}} |
---|
|
occurring with probabilities LaTeX Math Inline |
---|
body | {\displaystyle p_{1},p_{2},\ldots ,p_{n},} |
---|
|
respectively.
The expectation of is defined as
...
...
.
...
Since all probabilities LaTeX Math Inline |
---|
body | {\displaystyle p_{i}} |
---|
|
add up to 1 ( LaTeX Math Inline |
---|
body | {\displaystyle p_{1}+p_{2}+\cdots +p_{n}=1} |
---|
|
), the expected value is the weighted average, with LaTeX Math Inline |
---|
body | {\displaystyle p_{i}} |
---|
|
’s being the weights.
...