# 離散型均勻分佈

參數 n=5 where n=b-a+1 概率質量函數 n=5且n=b-a+1. The convention is used that the cumulative mass function $F_k(k_i)$ is the probability that k > = ki 累積分佈函數 $a \in (...,-2,-1,0,1,2,...)\,$ $b \in (...,-2,-1,0,1,2,...)\,$ $n=b-a+1\,$ $k \in \{a,a+1,...,b-1,b\}\,$ $\begin{matrix} \frac{1}{n} & \mbox{for }a\le k \le b\ \\0 & \mbox{otherwise } \end{matrix}$ $\begin{matrix} 0 & \mbox{for }kb \end{matrix}$ $\frac{a+b}{2}\,$ $\frac{a+b}{2}\,$ N/A $\frac{n^2-1}{12}\,$ $0\,$ $-\frac{6(n^2+1)}{5(n^2-1)}\,$ $\ln(n)\,$ $\frac{e^{at}-e^{(b+1)t}}{n(1-e^t)}\,$ $\frac{e^{iat}-e^{i(b+1)t}}{n(1-e^{it})},$