This chapter introduced expectations as a tool for summarizing the center and breadth of a distribution.
Interactive Tools:¶
Law of Large Numbers Interactive - Use this interactive to watch sample averages over large data sets converge to expectations.
Expectations¶
Definitions and examples are all available in Section 4.1.
The expected value of a random variable, , is the weighted average of possible against the PMF/PDF:
The expected value is equivalent to the center of mass of the distribution
Long run sample averages converge to the expected value
The expected value of a function of a random variable, , is the weighted average over each , of , weighted by the PMF/PDF
The expected value is distinct from the:
Mode: the most likely outcome, or collection of outcomes that maximize the PMF/PDF.
Median: the “midpoint” value such that .
Rules of Expectations¶
Definitions and examples are all available in Section 4.2.
Expectations of key distributions:
Constants: .
Indicators: if , then .
Symmetric: If is drawn symmetrically about , then .
Binomial: If , then .
Linearity: .
Additivity: for any pair of random variables and , .
We’ll add more properties to this list in future chapters.
Variance:¶
Definitions and examples are all available in Section 4.3.
Given, , the variance and standard deviation of a random variable are:
The standard deviation measures the breadth, spread, or width of the distribution
Properties of Variance:
To compute variances, we often use:
The variance in a random variable is its expected square, minus its squared expectation.