stats_dens_pmf_binomial

(PECL stats >= 1.0.0)

stats_dens_pmf_binomialProbability mass function of the binomial distribution

Description

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.

Parameters

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

Return Values

The probability mass at x or false for failure.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant