PHP 클래스 MathPHP\Probability\Distribution\Discrete\Poisson

상속: extends Discrete
파일 보기 프로젝트 열기: markrogoyski/math-php

공개 메소드들

메소드 설명
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