This section covers the formulas for calculating the expectation of a random variable,
variance of a random variable, and the covariance between two random variables. The
expectation of the random variable, if it exists, is the mean for that random variable. The
formulas in this section are especially helpful to understand for people interested in
courses concerning finance and investing.
|
General case |
|
Discrete case |
|
| (4.1) |
where pi is the probability of outcome i and xi is the outcome. Example i, could refer to
recession, stable economy, expanding economy. The pi could be the given probabilities of
each and xi could be the profit/loss of a mutual fund given the situation. Note:
∑
ipi = 1.
|
Continuous case |
The following subsections will cover only the discrete case for a deeper understanding of
the latter formulas presented. For discrete random variables summation is required to
solve for expectation, variance and covariance. For continuous random variables
integration is required, which is beyond the scope of this text.