« stats_dens_normal
stats_dens_pmf_hypergeometric »

stats_dens_pmf_binomial

(PECL stats >= 1.0.0)

stats_dens_pmf_binomial — Probability mass function of the binomial distribution

説明

function stats_dens_pmf_binomial(float $x, float $n, float $pi): float

Returns the probability mass at x, where the random variable follows the binomial distribution of which the number of trials is n and the success rate is pi.

パラメータ

x

The value at which the probability mass is calculated

n

The number of trials of the distribution

pi

The success rate of the distribution

戻り値

The probability mass at x or false for failure.

関連キーワード:
binomial   mass   stats   dens   float   Probability   probability   number   trials   success   rate   hypergeometric   Statistic   random   variable   follows   calculated   failure
関連する関数・ページ:
function.stats-dens-pmf-negative-binomial   function.stats-dens-pmf-hypergeometric   function.stats-dens-pmf-poisson   function.stats-dens-normal   function.stats-dens-t   function.stats-cdf-binomial