1/16
Looks like no tags are added yet.
Define the expectation of a discrete random variable X with range RX, and of g(X).
E[X]=∑x∈RXxP(X=x) and E[g(X)]=∑x∈RXg(x)P(X=x), provided the series converges absolutely (e.g. ∑x∈RX∣x∣P(X=x)<∞).
Define the expectation of a continuous random variable X, and of g(X).
E[X]=∫−∞∞xfX(x)dx and E[g(X)]=∫−∞∞g(x)fX(x)dx, provided the integral converges absolutely (e.g. ∫−∞∞∣x∣fX(x)dx<∞).
What condition is needed for E[X] to exist?
Absolute convergence: ∑x∈RX∣x∣P(X=x)<∞ in the discrete case, or ∫−∞∞∣x∣fX(x)dx<∞ in the continuous case.
Define E[g(X,Y)] for a function g:R2→R.
Discrete: E[g(X,Y)]=∑(x,y)∈RX,Yg(x,y)pX,Y(x,y).
Continuous: E[g(X,Y)]=∫−∞∞∫−∞∞g(x,y)fX,Y(x,y)dxdy.
Both need absolute convergence.
If g depends only on x, why does the bivariate definition of E[g(X)] agree with the univariate one?
∫−∞∞∫−∞∞g(x)fX,Y(x,y)dxdy=∫−∞∞g(x)(∫−∞∞fX,Y(x,y)dy)dx=∫−∞∞g(x)fX(x)dx. The discrete case is similar, so E[g(X)] is unambiguous.
Does E[αX+βY]=αE[X]+βE[Y] need X and Y to be independent?
No. Linearity of expectation holds even when X and Y are dependent.
If X and Y are independent, what is E[g(X)h(Y)] for g,h:R→R?
E[g(X)h(Y)]=E[g(X)]E[h(Y)]. In particular E[XY]=E[X]E[Y].
If X and Y are independent and α,β∈R, what is Var(αX+βY)?
Var(αX+βY)=α2Var(X)+β2Var(Y).
Define the covariance Cov(X,Y).
Cov(X,Y)=E[(X−E[X])(Y−E[Y])], provided the expectations exist.
What is the alternative (computational) formula for Cov(X,Y)?
Cov(X,Y)=E[XY]−E[X]E[Y].
What are Cov(X,X) and Cov(Y,X) in terms of other quantities?
Cov(X,X)=Var(X) and Cov(Y,X)=Cov(X,Y) (symmetry).
What is Cov(X,Y) when X and Y are independent, and why?
Cov(X,Y)=0, because independence gives E[XY]=E[X]E[Y], so E[XY]−E[X]E[Y]=0.
What is Var(αX+βY) for general (possibly dependent) X and Y?
Var(αX+βY)=α2Var(X)+β2Var(Y)+2αβCov(X,Y).
State the formula for Var(∑i=1naiXi) for random variables X1,…,Xn and a1,…,an∈R.
Var(∑i=1naiXi)=∑i=1nai2Var(Xi)+∑1≤i<j≤n2aiajCov(Xi,Xj).
Prove the formula for Var(∑i=1naiXi).
1. Var(∑iaiXi)=E[(∑iaiXi)2]−(∑iaiE[Xi])2, using linearity.
Expand both squares: (∑ici)2=∑ici2+2∑i<jcicj.
Use linearity: ∑iai2E[Xi2]+2∑i<jaiajE[XiXj]−∑iai2E[Xi]2−2∑i<jaiajE[Xi]E[Xj].
Group: ∑iai2(E[Xi2]−E[Xi]2)+2∑i<jaiaj(E[XiXj]−E[Xi]E[Xj]).
Recognise Var(Xi) and Cov(Xi,Xj).
If X1,…,Xn are independent, what is Var(∑i=1naiXi), and why?
Var(∑i=1naiXi)=∑i=1nai2Var(Xi), because every Cov(Xi,Xj)=0 for i=j in the general variance-of-a-sum formula.