PHP Класс MathPHP\Probability\Distribution\Discrete\Poisson

Наследование: extends Discrete
Показать файл Открыть проект

Открытые методы

Метод Описание
CDF ( integer $k, float ) : float Cumulative Poisson Probability (lower culmulative distribution) - CDF The probability that the Poisson random variable is greater than some specified lower limit, and less than some specified upper limit.
PMF ( integer $k, float ) : float Poisson distribution - probability mass function A discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time and/or space if these events occur with a known average rate and independently of the time since the last event.

Описание методов

CDF() публичный статический метод

k λˣℯ^⁻λ P(k,λ) = ∑ ------ ₓ₌₀ xᵢ!
public static CDF ( integer $k, float ) : float
$k integer events in the interval
float average number of successful events per interval
Результат float The cumulative Poisson probability

PMF() публичный статический метод

https://en.wikipedia.org/wiki/Poisson_distribution λᵏℯ^⁻λ P(k events in an interval) = ------ k!
public static PMF ( integer $k, float ) : float
$k integer events in the interval
float average number of successful events per interval
Результат float The Poisson probability of observing k successful events in an interval