无涯教程-JavaScript - HYPGEOMDIST函数

HYPGEOMDIST函数替代Excel 2010中的HYPGEOM.DIST函数。

描述

该函数返回超几何分布。 HYPGEOMDIST返回给定样本数量,给定样本数量,总体成功率和总体数量的概率。

将HYPGEOMDIST用于具有有限总体的问题,其中每个观察输出都是成功或失败,并且给定大小的每个子集的选择可能性均等。

语法

复制代码
HYPGEOMDIST (sample_s,number_sample,population_s,number_pop)

争论

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

Notes

  • 超几何分布的方程为-

    P(X=x)= h(x; n,M,N)=\\frac {\\binom {M} {x}\\binom {NM} {nx}} {\\binom {N} {n}}

    哪里-

    x =样本

    n =数字样本

    M =人口

    N =人口数量

  • HYPGEOMDIST用于采样而无需从有限总体中替换。

  • 所有参数均被截断为整数。

  • 如果有任何非数字参数,则HYPGEOMDIST返回#VALUE!错误值。

  • If sample_s < 0 or sample_s is greater than the lesser of number_sample or population_s, HYPGEOMDIST returns the #NUM! error value.

  • 如果sample_s小于0或(number_sample-number_population +人口_s)中的较大者,则HYPGEOMDIST返回#NUM!错误值。

  • If number_sample ≤ 0 or number_sample > number_population, HYPGEOMDIST returns the #NUM! error value.

  • If population_s ≤ 0 or population_s > number_population, HYPGEOMDIST returns the #NUM! error value.

  • 如果number_population≤0,则HY​​PGEOMDIST返回#NUM!错误值。

Example

JavaScript 中的 HYPGEOMDIST函数 - 无涯教程网无涯教程网提供HYPGEOMDIST函数替代Excel 2010中的HYPGEOM.DIST函数。 描述该函数返回超几何分布。 H...https://www.learnfk.com/javascript/advanced-excel-compatibility-hypgeomdist-function.html

相关推荐
mCell6 小时前
GSAP ScrollTrigger 详解
前端·javascript·动效
gnip6 小时前
Node.js 子进程:child_process
前端·javascript
codingandsleeping11 小时前
使用orval自动拉取swagger文档并生成ts接口
前端·javascript
白水清风12 小时前
微前端学习记录(qiankun、wujie、micro-app)
前端·javascript·前端工程化
用户221520442780013 小时前
new、原型和原型链浅析
前端·javascript
阿星做前端13 小时前
coze源码解读: space develop 页面
前端·javascript
叫我小窝吧13 小时前
Promise 的使用
前端·javascript
前端康师傅14 小时前
JavaScript 作用域
前端·javascript
云枫晖14 小时前
JS核心知识-事件循环
前端·javascript
eason_fan15 小时前
Git 大小写敏感性问题:一次组件重命名引发的CI构建失败
前端·javascript