Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<stats_standard_deviationstats_stat_correlation>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026

stats_stat_binomial_coef

(PECL stats >= 1.0.0)

stats_stat_binomial_coef — Returns a binomial coefficient

Description

function stats_stat_binomial_coef(int $x, int $n): float

Returns the binomial coefficient of n choose x.

Parameters

x

The number of chooses from the set

n

The number of elements in the set

Return Values

Returns the binomial coefficient


<stats_standard_deviationstats_stat_correlation>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026