Expectation is a probability-weighted average, not necessarily a value the variable can actually take. The formulas below assume the relevant expectations or second moments exist.
Expected values and LOTUS
To average a function , use the original distribution of . There is no need to first find the distribution of . This is the law of the unconscious statistician, often called LOTUS.
Expectation is linear: . Independence is not required. Nonlinear functions cannot generally be pulled outside an expectation: usually differs from .
Indicators turn counting into addition
If a count can be written as , then even when the events overlap or depend on one another.
For example, if each of twenty tasks has a 10% chance of missing its deadline, the expected number of missed deadlines is two. Dependence between tasks affects the variability of that count, but not this expectation calculation.
Variance and standard deviation
Variance measures squared spread around the mean. Standard deviation converts that spread back into the original units. Adding a constant shifts the center without changing either measure of spread.
For an indicator with success probability , and , so .
Higher moments
The th raw moment is ; the th central moment is , where . With positive finite standard deviation , standardize using .
These quantities require the corresponding moments to exist. Excess kurtosis compares a distribution’s standardized fourth moment with the normal distribution’s value of three; it is sensitive to tail behavior.