略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: stats_dens_pmf_binomial

2024-04-28

stats_dens_pmf_binomial

(PECL stats >= 1.0.0)

stats_dens_pmf_binomialProbability mass function of the binomial distribution

说明

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.stats-dens-pmf-binomial.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3