HYPGEOM.DIST函数返回超几何分布。 HYPGEOM.DIST返回给定样本数量,给定样本数量和总样本数量的给定样本成功次数的概率。
将HYPGEOM.DIST用于有限总体的问题,其中每个观察输出都是成功或失败,并且给定大小的每个子集的选择可能性均等。
HYPGEOM.DIST (sample_s, number_sample, population_s, number_pop, cumulative)
Argument | 描述 | Required/Optional |
---|---|---|
Sample_s | The number of successes in the sample. | Required |
Number_sample | The size of the sample. | Required |
Population_s | The number of successes in the population. | Required |
Number_pop | The population size. | Required |
Cumulative |
决定函数形式的逻辑值。 如果累计值为TRUE,则HYPGEOM.DIST返回累计分布函数。 如果累计值为FALSE,则HYPGEOM.DIST返回概率质量函数。 |
Required |
超几何分布的方程为-
$$P \left(X = x \right)= \frac {\begin {pmatrix} M \\ x \end {pmatrix} \begin {pmatrix} N \M \\ n-x \end {pmatrix}} {\begin {pmatrix} N \\ n \end {pmatrix}} $$
哪里-
x =样本
n =数字样本
M =人口
N = number_pop
HYPGEOM.DIST用于采样而无需从有限总体中替换。
所有参数均被截断为整数。
如果有任何非数字参数,则HYPGEOM.DIST返回#VALUE!。错误值。
HYPGEOM.DIST返回#NUM!误差值
If sample_s < 0 or sample_s > the lesser of number_sample
If sample_s > population_s
If sample_s > (number_sample - number_pop + population_s)
If number_sample ≤ 0 or > number_pop
If population_s ≤ 0 or > number_pop
如果number_pop≤0
Excel 2010,Excel 2013,Excel 2016
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)