Section 4
Expectations, Variance, and the Fundamental Bridge (BH Chapter 4)
The Expected Value (or expectation, mean) of a random variable can be thought of as the "weighted average" of the possible outcomes of the random variable. Mathematically, if x1,x2,x3,⋯, are all of the possible values that X can take, the expected value of X can be calculated as follows:
Linearity of Expectation
The most important property of expected value is Linearity of Expectation. For any two random variables X and Y, a and b scaling coefficients and c is our constant, the following property of holds:
E(aX+bY+c)=aE(X)+bE(Y)+c
The above is true regardless of whether X and Y are independent.
Conditional Expectations
Conditional distributions are still distributions. Treating them as a whole and applying the definition of expectation gives:
Variance
Variance tells us how spread out the distribution of a random variable is. It is defined as
Properties of Variance
Var(cX)=c2Var(X)
Var(X±Y)=Var(X)+Var(Y) if X and Y are independent
Indicator Random Variables
Indicator Random Variables are random variables whose value is 1 when a particular event happens, or 0 when it does not. Let IA be an indicator random variable for the event A. Then, we have:
Suppose P(A)=p. Then, I∼Bern(p) because I has a p chance of being 1, and a 1−p chance of being 0.
Properties of Indicators
(IA)2=IA, and (IA)k=IA for any power k.
IAc=1−IA
IA∩B=IAIB is the indicator for the event A∩B (that is, IAIB=1 if and only if A and B occur, and 0 otherwise)
IA∪B=IA+IB−IAIB
The Fundamental Bridge
The fundamental bridge is the idea that E(IA)=P(A). When we want to calculate the expected value of a complicated event, sometimes we can break it down into many indicator random variables, and then apply linearity of expectation on that. For example, if X=I1+I2+…+In, then:
Last updated