Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
MathPHP
Probability
Distribution
Discrete
NegativeBinomial
PHP Class MathPHP\Probability\Distribution\Discrete\NegativeBinomial
Inheritance:
extends
Discrete
Afficher le fichier
Open project: markrogoyski/math-php
Méthodes publiques
Méthode
Description
PMF
(
integer
$x
,
integer
$r
,
float
$p
) :
float
Probability mass function
Method Details
PMF()
public
static
méthode
b(x; r, p) = ₓ₋₁Cᵣ₋₁ pʳ * (1 - p)ˣ⁻ʳ
public
static
PMF
(
integer
$x
,
integer
$r
,
float
$p
) :
float
$x
integer
number of trials required to produce r successes
$r
integer
number of successful events
$p
float
probability of success on an individual trial
Résultat
float