无涯教程-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

相关推荐
zhoxier3 小时前
elementui el-select 获取value和label 以及 对象的方法
javascript·vue.js·elementui
是小狐狸呀3 小时前
elementUI-表单-下拉框数据选中后,视图不更新
前端·javascript·elementui
IT码农-爱吃辣条7 小时前
Three.js 初级教程大全
开发语言·javascript·three.js
烛阴8 小时前
告别繁琐的类型注解:TypeScript 类型推断完全指南
前端·javascript·typescript
gnip8 小时前
工程项目中.env 文件原理
前端·javascript
JohnYan9 小时前
工作笔记 - CentOS7环境运行Bun应用
javascript·后端·容器
东风西巷11 小时前
Rubick:基于Electron的开源桌面效率工具箱
前端·javascript·electron·软件需求
Miracle_G11 小时前
每日一个知识点:JavaScript 箭头函数与普通函数比较
javascript
unfetteredman11 小时前
Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
前端·javascript·vite
程序员小续12 小时前
React 官方严令禁止:Hook 不能写在 if/else,真相竟然是…
前端·javascript·程序员