首页 关于我 项目 博客 图谱 简历 联系 English
返回列表

1970年1月1日

2086 Lecture 2 Expectation Variance And Probability Distributions

No description yet.

Lecture Note Expectation and Variance: Lecture 2 Notes (Part I).pdf Lecture Note Probability Distribution: Lecture 2 Notes (Part II).pdf

Next: 2086 Lecture 3 - Estimation and Maximum Likelihood

Expectation

Expectation is the expected value of the random variable XX, if we do multiple tries, we expecting to get this result in average.

Discrerte RVs:

E[X]=xXxp(x)\mathbb{E}[X] = \sum_{x \in \mathcal{X}} x\, p(x)

Continuous RVs:

E[f(X)]=Xf(x)p(x)dx\mathbb{E}[f(X)] = \int_{\mathcal{X}} f(x)\,p(x)\,dx

For example, consider a uniform distribution, where x=0,1x=0,1 and p0=p1=0.5p_0 = p_1 = 0.5 Then E[X]=0×0.5+1×0.5=0.5\mathbb{E}[X] = 0\times0.5 + 1\times0.5 = 0.5

Rule of Expectation

E[f(X)]f(E[X])\mathbb{E}[f(X)] \neq f(\mathbb{E}[X])

They are equal if and only if f(x)=ax+bf(x)=ax+b, otherwise we might get result like E[X2]=E[X]2\mathbb{E}[X^2] =E[X]^2 when f(X)=x2f(X) = x^2 which is incorrect.

But we can rewrite it as:

EX[f(X)]=EXf[Xf].\mathbb{E}_X[f(X)] = \mathbb{E}_{X_f}[X_f].

Where Xf=f(X)X_f = f(X)

Linearity of Expectation

E[bX+c]=bE[X]+c\mathbb{E}[bX + c] = b\,\mathbb{E}[X] + c EX[XY]=YEX[X]\mathbb{E}_X[XY] = Y\,\mathbb{E}_X[X] EX,Y[X+Y]=EX[X]+EY[Y]\mathbb{E}_{X,Y}[X + Y] = \mathbb{E}_X[X] + \mathbb{E}_Y[Y]

Variance

Variance measures the spread of data, i.e. how different it is from expectation to a random variable we draw.

V[X]=E[X2]E[X]2\mathbb{V}[X] = \mathbb{E}[X^2] - \mathbb{E}[X]^2

反向链接