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

相关推荐
KongHen0244 分钟前
uniapp-x实现自定义tabbar
前端·javascript·uni-app·unix
数据潜水员44 分钟前
三层统计最小力度的四种方法
javascript·vue.js
汪子熙1 小时前
TS2320 错误的本质、触发场景与在 Angular / RxJS 项目中的系统化应对
前端·javascript·angular.js
我命由我123451 小时前
React - BrowserRouter 与 HashRouter、push 模式与 replace 模式、编程式导航、withRouter
开发语言·前端·javascript·react.js·前端框架·html·ecmascript
Devin_chen1 小时前
ES6 Class 渐进式详解
前端·javascript
小番茄夫斯基1 小时前
前端开发的过程中,需要mock 数据,但是走的原来的接口,要怎么做
前端·javascript
Devin_chen1 小时前
原型链大白话详解
javascript
英俊潇洒美少年2 小时前
Vue3 的 JSX 函数组件,每次更新都会重新运行吗?
前端·javascript·vue.js
kyriewen2 小时前
Generator 函数:那个能“暂停”的函数,到底有什么用?
前端·javascript·面试
进击的尘埃2 小时前
驾驭Skill市场:从3000+技能包中筛出真正能打的20个
javascript