M1. Expectations Flashcards
Define expected value (mathematically)
What the expected value of a function of a variable?
Expected value for:
U(a, b)
N(μ, σ2)
Uniform between {a,b}, so the expected value will be the midpoint i.e. 1/2(a+b).
Normal will have expected value of μ.
Operational rules for expected values
Affine functions (useful for when changing units):
E[a+bx] = a + bE(x)
Addition: if h(y) is another function of a variable (another or same) then:
E[g(x)+h(y)] = E[g(x)] + E[h(y)]
E[x+y] = E[x] + E[y]
Multiplication:
E[g(x)h(y)] = E[g(x)] + E[h(y)]
If independent: E[xy] = E[x]E[y]
What is Jensen’s inequality?
The expected value of a nonlinear function of a variable is not equal to the nonlinear function of the expected value.
Jensen’s inequality for concave functions
E[f(x)] ≤ f(E[x]) if f is concave.
Jensen’s inequality for convex functions
E[f(x)] ≥ f(E[x]) if f is convex.
Jensen’s inequality for logarithms
Logs are concave so E[log(x)] ≤ log(E[x]).
Jensen’s inequality for exponential functions
Exponential functions are convex so eE[x] ≤ E[ex]
Jensen’s inequality for squaring
Squaring is a convex function so E[x2] ≥ (E[x])2
Jensen’s inequality for square roots
Square roots are concave functions so E[√x] ≤ √E[x]
Jensen’s inequality for ratios
Ratios of expected values are in general not equal to expected values of ratios.