uTools-Manuals/docs/php/stats_dens_pmf_hypergeometric.html
2019-04-28 19:00:34 +08:00

111 lines
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Probability mass function of the hypergeometric distribution</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.stats-dens-pmf-hypergeometric" class="refentry">
<div class="refnamediv">
<h1 class="refname">stats_dens_pmf_hypergeometric</h1>
<p class="verinfo">(PECL stats &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">stats_dens_pmf_hypergeometric</span> &mdash; <span class="dc-title">Probability mass function of the hypergeometric distribution</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.stats-dens-pmf-hypergeometric-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>stats_dens_pmf_hypergeometric</strong></span>
( <span class="methodparam"><span class="type">float</span> <code class="parameter">$n1</code></span>
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$n2</code></span>
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$N1</code></span>
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$N2</code></span>
) : <span class="type">float</span></div>
<p class="para rdfs-comment">
Returns the probability mass at <code class="parameter">n1</code>, where the random variable
follows the hypergeometric distribution of which the number of failure is
<code class="parameter">n2</code>, the number of success samples is <code class="parameter">N1</code>,
and the number of failure samples is <code class="parameter">N2</code>.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.stats-dens-pmf-hypergeometric-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">n1</code></dt>
<dd>
<p class="para">
The number of success, at which the probability mass is calculated
</p>
</dd>
<dt>
<code class="parameter">n2</code></dt>
<dd>
<p class="para">
The number of failure of the distribution
</p>
</dd>
<dt>
<code class="parameter">N1</code></dt>
<dd>
<p class="para">
The number of success samples of the distribution
</p>
</dd>
<dt>
<code class="parameter">N2</code></dt>
<dd>
<p class="para">
The number of failure samples of the distribution
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.stats-dens-pmf-hypergeometric-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
The probability mass at <code class="parameter">n1</code> or <strong><code>FALSE</code></strong> for failure.
</p>
</div>
</div></div></div></body></html>