[1] Expected Value (기댓값)
• Discrete Case (이산확률): $\mathsf {E(x)= \sum x_{i} \cdot P(X=x_{i})}$
• Continuous Case (연속확률): $\mathsf {E(x)= \int_{-\infty}^{\infty} x \cdot f(x)dx }$
• Properties (a, b $ \in \mathbb{R}$)
① If X$\geq$ 0, then E(X)$\geq$ 0
Proof $\mathsf { E(X)=\sum_{x}x\cdot P(X=x)=\sum_{x>0} x\cdot P(X=x)\geq \sum_{x>0} 0 \cdot P(X=x)=0}$ |
② E(aX) = a E(X)
Proof $\mathsf {E(aX)=\sum _{x}a\cdot x \cdot P(X=x)=a \sum_{x} x \cdot P(X=x)=a \cdot E(x) }$ |
③ E(X+Y) = E(X) + E(Y)
[2] Variance (분산)
• $\mathsf{ Var= E(X^2)- E(X)^2 }$
Proof $\mathsf{Var= E[x- E(x)^2] = E[(x- \mu)^2)]= \sum_{x} (x_{i}-\mu)^2 \cdot P(X=x)}$ $\mathsf{= \sum_{x}(x^2 - 2\mu x + \mu^2) \cdot P(X=x)} $ $\mathsf{ = \sum_{x}x^2\cdot P(X=x)-2\mu \cdot \sum_{x}x\cdot P(X=x)+ \mu^2 \sum_{x}P(X=x)}$ $\mathsf{=E(x^2)-2\mu^2+\mu^2 = E(x^2)-\mu^2 = E(x^2)-E(x)^2}$ |
• Properties (a, b $ \in \mathbb{R}$)
① Var(a)=0 (All values are same, then there is no variance)
② Var (aX+b)= $a^2 \cdot$Var(x)
Proof From $\mathsf {E(aX+b)=aE(X)+b}$, and $\mathsf {E[(aX+b)^2]=a^2E(X^2)+2abE(X)+b^2}$ $\mathsf {Var(aX+b)=E[(aX+b)^2]-[E(aX+b)]^2}$ $\mathsf {=a^2E(X^2)+2abE(X)+b^2-[aE(X)+b]^2}$ $\mathsf {=a^2E(X^2)+2abE(X)+b^2-[a^2(E(X))^2+2abE(X)+b^2]}$ $\mathsf {=a^2[E(X^2)-E(X)^2]=a^2\cdot Var(X)}$ |
③ Var(X+Y)= Var(X)+Var(Y)+ 2Cov(X,Y)
Proof From $\mathsf {E(X+Y)=E(X)+E(Y)}$, and $\mathsf {E[(X+Y)^2]=E(X^2)+2E(XY)+E(Y^2)}$ $\mathsf {Var(X+Y)=E[(X+Y)^2]-[E(X+Y)]^2}$ $\mathsf {=E(X^2)+E(Y^2)+2E(XY)-[ (E(X))^2 + (E(Y))^2 +2E(X)E(Y)] }$ $\mathsf {=E(X^2)-(E(X))^2+E(Y^2)-(E(Y))^2+2 [E(XY)-E(X)E(Y)] }$ $\mathsf {=Var(X)+Var(Y)+2Cov(X,Y)}$ |
④ Var(X+Y)= Var(X)+Var(Y), iff X and Y are uncorrelated
[3] Covariance (공분산)
• A measure of how much two random variables change together!
• Cov(X,Y)=E{ [X-E(X)][Y-E(Y)] } = E(XY)-E(X)E(Y)
[4] If X and Y are independent (독립변수), then
• P(X=x, Y=y)=P(X=x)P(Y=y)
• E(XY)=E(X)E(Y),
Proof $\mathsf {E(XY)=\sum_{x,y}xy \cdot P(X=x,Y=y)= \sum_{x}\sum_{y}xy \cdot P(X=x)P(Y=y)}$ $\mathsf {=\sum_{x} x\cdot P(X=x) \cdot \sum_{y}y \cdot P(Y=y)=E(X)E(Y)}$ |
• Cov (X,Y)=0
Proof E(XY)-E(X)E(Y)=E(X)E(Y)-E(X)E(Y)=0 |
수학기호가 안보인다면 새로고침(F5)을 해보세요.