Fisher’s 非中心超几何分布#
一个随机变量具有 Fisher’s 非中心超几何分布,其参数为
\(M \in {\mathbb N}\), \(n \in [0, M]\), \(N \in [0, M]\), \(\omega > 0\),
如果其概率质量函数由以下公式给出
\[p(x; M, n, N, \omega) = \frac{\binom{n}{x}\binom{M - n}{N-x}\omega^x}{P_0},\]
对于 \(x \in [x_l, x_u]\), 其中 \(x_l = \max(0, N - (M - n))\), \(x_u = \min(N, n)\),
\[P_k = \sum_{y=x_l}^{x_u} \binom{n}{y} \binom{M - n}{N-y} \omega^y y^k,\]
而二项式系数为
\[\binom{n}{k} \equiv \frac{n!}{k! (n - k)!}.\]
该分布的其他函数为
\begin{eqnarray*}
\mu & = & \frac{P_0}{P_1},\\
\mu_{2} & = & \frac{P_2}{P_0} - \left(\frac{P_1}{P_0}\right)^2,\\
\end{eqnarray*}
参考文献#
Agner Fog, “Biased Urn Theory”, https://cran.r-project.org/web/packages/BiasedUrn/vignettes/UrnTheory.pdf
“Fisher’s noncentral hypergeometric distribution”, Wikipedia, https://en.wikipedia.org/wiki/Fisher’s_noncentral_hypergeometric_distribution