Advanced-excel-functions-advanced-excel-compatibility-hypgeomdist-function
提供:Dev Guides
互換性-HYPGEOMDIST関数
HYPGEOMDIST関数は、Excel 2010のHYPGEOM.DIST関数を置き換えます。
説明
この関数は、超幾何分布を返します。 HYPGEOMDISTは、サンプルサイズ、母集団の成功、母集団のサイズを指定すると、指定した数のサンプルが成功する確率を返します。
HYPGEOMDISTは、各観測が成功または失敗のいずれかであり、特定のサイズの各サブセットが等しい尤度で選択される、有限母集団の問題に使用します。
構文
引数
Argument | Description | 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 |
ノート
- 超幾何分布の方程式は- + P(X = x)= h(x; n、M、N)= \ frac \ {\ binom \ {M} \ {x} \ binom \ {NM} \ {nx}} \ {\ binom \ {N} \ {n}} ここで- x = sample_s + n = number_sample + M = Population_s + N = number_population
- HYPGEOMDISTは、有限母集団からの置換なしのサンプリングで使用されます。
- すべての引数は整数に切り捨てられます。
- 引数が非数値の場合、HYPGEOMDISTは#VALUE!を返します。 エラー値
- sample_s <0またはsample_sがnumber_sampleまたはpopulation_sのうち小さい方より大きい場合、HYPGEOMDISTは#NUM!を返します。 エラー値
- sample_sが0または(number_sample-number_population +母集団_s)の大きい方より小さい場合、HYPGEOMDISTは#NUM!を返します。 エラー値
- number_sample≤0またはnumber_sample> number_populationの場合、HYPGEOMDISTは#NUM!を返します。 エラー値
- Population_s≤0またはPopulation_s> number_populationの場合、HYPGEOMDISTは#NUM!を返します。 エラー値
- number_population≤0の場合、HYPGEOMDISTは#NUM!を返します。 エラー値