A random variable can take on a large, often infinite, number of values.
We are interested in substituting, in place of the possible values of the
random variable, a representative value that takes into account the
large or small probabilities associated with the RV.
This value is called the Expected Value or Expectation (in italiano
valore atteso o speranza matematica) and its symbol is .
In the discrete case we can define such a value as an average
of the observations weighted with the respective probabilities, while
in the continuous case we need to substitute sums with integrals:
Examples:
![]() |
![]() |
![]() |
|
![]() |
![]() |
||
![]() |
0 |
![]() |
![]() |
![]() |
|
![]() |
|||
![]() |
![]() |
||
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
|
(p.p.) | ![]() |
![]() |
|
![]() |
![]() |
We are also interested in measuring the discrepancies with respect to the expected value. This is accomplished by the ``variance'':
Examples:
![]() |
![]() |
![]() |
|
(p.p.) | ![]() |
![]() |
|
![]() |
![]() |