Cumulative Distribution Function

累计分布函数 cdf F(x)F(x) 表示连续型随机变量 XX 不超过值 xx 的概率,即

F(x)=P(Xx)F(x)=\mathbb{P}(X\le x)

由此可以延伸出 Probability Density Function pdf f(x)f(x),其定义为

f(x)=ddxF(x)f(x)=\frac{d}{dx} F(x)

Support of XX: we call area that f(x)>0f(x)\gt 0 as S\mathscr{S}. Then we can rewrite the definition cdf as

P(aXb)=abf(x)dx\mathbb{P}(a\le X\le b)=\int_a^b f(x) dx

F(x)=xf(z)dzF(x)=\int_{-\infin}^x f(z) dz


Expectations of Continuous RV

Expectation (Mean) of Continuous RV is defined as

μX=E[X]=Sxf(x)dx\mu_X=\mathbb{E}[X] = \int_{\mathscr{S}} x f(x) dx

And in general,

E[g(X)]=Sg(x)f(x)dx\mathbb{E}[g(X)] = \int_{\mathscr{S}} g(x) f(x) dx

Variance of Cont RV

The variance of XX is defined as

σX2=E[(XμX)2]=E[X2]μX2\sigma_X^2=\mathbb{E}[(X-\mu_X)^2]=\mathbb{E}[X^2]-\mu_X^2