WorksheetFunction.Poisson_Dist(Double, Double, Boolean) 方法

定义

返回泊松分布。 泊松分布通常用于预测特定的一段时间内事件发生的次数,例如一分钟内通过收费站的轿车的数量。

public:
 double Poisson_Dist(double Arg1, double Arg2, bool Arg3);
public double Poisson_Dist (double Arg1, double Arg2, bool Arg3);
Public Function Poisson_Dist (Arg1 As Double, Arg2 As Double, Arg3 As Boolean) As Double

参数

Arg1
Double

x - 事件数。

Arg2
Double

mean - 期望的数值。

Arg3
Boolean

cumulative - 一个决定所返回的概率分布形式的逻辑值。 如果 cumulative 为 true,Poisson_Dist返回发生的随机事件数介于 0 (零) 和 x(含)之间的累积 Poisson 概率; 如果为 false,则返回 Poisson 概率质量函数,即发生的事件数将正好为 x。

返回

注解

如果 x 不是整数,则将被截尾取整。

如果 x 或 mean 为非数值, Poisson_Dist 返回 #VALUE! 。

如果 x <0,Poisson_Dist 返回 #NUM! 。

如果平均值≤ 0, 则Poisson_Dist 返回 #NUM! 。

Poisson_Dist 的计算方式如下。

对于 cumulative = false

图 1:累积为 false 时的计算

对于 cumulative = true

图 2:累积为 true 时的计算

适用于