Continuous Random Variables
Cumulative Distribution Function
累计分布函数 cdf F(x) 表示连续型随机变量 X 不超过值 x 的概率,即
F(x)=P(X≤x)
由此可以延伸出 Probability Density Function pdf f(x),其定义为
f(x)=dxdF(x)
Support of X: we call area that f(x)>0 as S. Then we can rewrite the definition cdf as
P(a≤X≤b)=∫abf(x)dx
F(x)=∫−∞xf(z)dz
Expectations of Continuous RV
Expectation (Mean) of Continuous RV is defined as
μX=E[X]=∫Sxf(x)dx
And in general,
E[g(X)]=∫Sg(x)f(x)dx
Variance of Cont RV
The variance of X is defined as
σX2=E[(X−μX)2]=E[X2]−μX2