From 7981555c43f42c5fda27969e7d92c5c4e6652def Mon Sep 17 00:00:00 2001 From: Yuji Uchiyama Date: Mon, 31 Jul 2017 14:09:53 +0000 Subject: [PATCH] Add document to stats functions git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342735 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../stats/functions/stats-cdf-poisson.xml | 51 +++++++++++++++++-- .../stats/functions/stats-dens-normal.xml | 15 ++++-- 2 files changed, 58 insertions(+), 8 deletions(-) diff --git a/reference/stats/functions/stats-cdf-poisson.xml b/reference/stats/functions/stats-cdf-poisson.xml index b66d0b2941..fa4a344ce1 100644 --- a/reference/stats/functions/stats-cdf-poisson.xml +++ b/reference/stats/functions/stats-cdf-poisson.xml @@ -13,9 +13,49 @@ floatpar2 intwhich - - &warn.undocumented.func; - + + Returns the cumulative distribution function, its inverse, or one of its parameters, of the Poisson distribution. + The kind of the return value and parameters (par1 and par2) are + determined by which. + + + The following table lists the return value and parameters by which. + CDF, x, and lambda denotes cumurative distribution function, the value of the random variable, + and the parameter of the Poisson distribution, respectively. + + Return value and parameters + + + + which + Return value + par1 + par2 + + + + + 1 + CDF + x + lambda + + + 2 + x + CDF + lambda + + + 3 + lambda + x + CDF + + + +
+
&reftitle.parameters; @@ -25,6 +65,7 @@ par1 + The first parameter @@ -32,6 +73,7 @@ par2 + The second parameter @@ -39,6 +81,7 @@ which + The flag to determine what to be calculated @@ -47,8 +90,8 @@ - &reftitle.returnvalues; + Returns CDF, x, or lambda, determined by which. diff --git a/reference/stats/functions/stats-dens-normal.xml b/reference/stats/functions/stats-dens-normal.xml index 6d59192fd7..8053d8e3fa 100644 --- a/reference/stats/functions/stats-dens-normal.xml +++ b/reference/stats/functions/stats-dens-normal.xml @@ -3,7 +3,7 @@ stats_dens_normal - Not documented + Probability density function of the normal distribution &reftitle.description; @@ -13,9 +13,12 @@ floatave floatstdev - - &warn.undocumented.func; - + + Returns the probability density at x, where the + random variable follows the normal distribution of which the mean is + ave and the standard deviation is + stdev. + &reftitle.parameters; @@ -25,6 +28,7 @@ x + The value at which the probability density is calculated @@ -32,6 +36,7 @@ ave + The mean of the distribution @@ -39,6 +44,7 @@ stdev + The standard deviation of the distribution @@ -49,6 +55,7 @@ &reftitle.returnvalues; + The probability density at x or &false; for failure.