5.2 누적 분포 함수 (Cumulative Distribution Function)
확률질량함수에서 특정값보다 작은 값들의 확률을 모두 더한(summation) 함수나, 확률밀도함수에서 특정값까지 적분한 함수를 cumulative distribution function(cdf)이라 하고, F(x)로 표기한다.
\(F(x) = P(X \leq x) = \begin{cases} \sum_{j = 1}^{x_j < x} f(x_j) & \text{for discrete pmf} \\ \int_{-\infty}^{x} f(x) dx & \text{for continuous pdf} \end{cases}\)