1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-24 07:42:10 +01:00

Revert "Remove stats extension docs"

This reverts commit 1d00d0ad21.

Stats 2.0.3 is supposed to be compatible with PHP 7.0 at least, so the
documentation should not have been removed.  And there is even a commit
in the repo claiming PHP 8 compatibility:
<fac78cf926>
This commit is contained in:
Christoph M. Becker
2022-07-04 16:59:55 +02:00
parent 6b48028aef
commit c6542ce863
75 changed files with 11953 additions and 0 deletions

View File

@@ -143,6 +143,7 @@
<listitem><simpara><xref linkend="book.sqlsrv"/></simpara></listitem>
<listitem><simpara><xref linkend="book.ssdeep"/></simpara></listitem>
<listitem><simpara><xref linkend="book.ssh2"/></simpara></listitem>
<listitem><simpara><xref linkend="book.stats"/></simpara></listitem>
<listitem><simpara><xref linkend="book.stomp"/></simpara></listitem>
<listitem><simpara><xref linkend="book.stream"/></simpara></listitem>
<listitem><simpara><xref linkend="book.strings"/></simpara></listitem>
@@ -363,6 +364,7 @@
<listitem><para><xref linkend="book.sqlsrv"/></para></listitem>
<listitem><para><xref linkend="book.ssdeep"/></para></listitem>
<listitem><para><xref linkend="book.ssh2"/></para></listitem>
<listitem><para><xref linkend="book.stats"/></para></listitem>
<listitem><para><xref linkend="book.stomp"/></para></listitem>
<listitem><para><xref linkend="book.svm"/></para></listitem>
<listitem><para><xref linkend="book.svn"/></para></listitem>

47
reference/stats/book.xml Normal file
View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<book xml:id="book.stats" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Statistics</title>
<!-- {{{ preface -->
<preface xml:id="intro.stats">
&reftitle.intro;
<para>
This is the statistics extension. It contains few dozens of functions
useful for statistical computations. It is a wrapper around 2 scientific
libraries, namely DCDFLIB (Library of C routines for Cumulative
Distributions Functions, Inverses, and Other parameters) by B. Brown &amp;
J. Lavato and RANDLIB by Barry Brown, James Lavato &amp; Kathy Russell.
Includes CD and PD functions.
</para>
</preface>
<!-- }}} -->
&reference.stats.setup;
&reference.stats.constants;
&reference.stats.reference;
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<appendix xml:id="stats.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
&no.constants;
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-absolute-deviation" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_absolute_deviation</refname>
<refpurpose>Returns the absolute deviation of an array of values</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_absolute_deviation</methodname>
<methodparam><type>array</type><parameter>a</parameter></methodparam>
</methodsynopsis>
<para>
Returns the absolute deviation of the values in <parameter>a</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The input array
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the absolute deviation of the values in <parameter>a</parameter>,
or &false; if <parameter>a</parameter> is empty or is not an array.
</para>
</refsect1>
<!--
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_absolute_deviation</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-beta" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_beta</refname>
<refpurpose>Calculates any one parameter of the beta distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_beta</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the beta distribution. The kind of the return value and parameters (<parameter>par1</parameter>,
<parameter>par2</parameter>, and <parameter>par3</parameter>) are determined by
<parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, alpha, and beta denotes cumulative distribution function, the value of the random
variable, and shape parameters of the beta distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>alpha</entry>
<entry>beta</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>alpha</entry>
<entry>beta</entry>
</row>
<row>
<entry>3</entry>
<entry>alpha</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>beta</entry>
</row>
<row>
<entry>4</entry>
<entry>beta</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>alpha</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, alpha, or beta, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_beta</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-binomial" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_binomial</refname>
<refpurpose>Calculates any one parameter of the binomial distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_binomial</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the binomial distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, n, and p denotes cumulative distribution function, the number of successes,
the number of trials, and the success rate for each trial, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>n</entry>
<entry>p</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>n</entry>
<entry>p</entry>
</row>
<row>
<entry>3</entry>
<entry>n</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>p</entry>
</row>
<row>
<entry>4</entry>
<entry>p</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>n</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, n, or p, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_binomial</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-cauchy" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_cauchy</refname>
<refpurpose>Calculates any one parameter of the Cauchy distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_cauchy</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the Cauchy distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, x0, and gamma denotes cumulative distribution function, the value of the random
variable, the location and the scale parameter of the Cauchy distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>x0</entry>
<entry>gamma</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>x0</entry>
<entry>gamma</entry>
</row>
<row>
<entry>3</entry>
<entry>x0</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>gamma</entry>
</row>
<row>
<entry>4</entry>
<entry>gamma</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>x0</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, x0, or gamma, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_cauchy</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,201 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-chisquare" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_chisquare</refname>
<refpurpose>Calculates any one parameter of the chi-square distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_chisquare</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the chi-square distribution. The kind of the return value and parameters
(<parameter>par1</parameter> and <parameter>par2</parameter>) are determined by
<parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, and k denotes cumulative distribution function, the value of the random variable,
and the degree of freedom of the chi-square distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="4">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>k</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>k</entry>
</row>
<row>
<entry>3</entry>
<entry>k</entry>
<entry>x</entry>
<entry>CDF</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, or k, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_chisquare</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,201 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-exponential" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_exponential</refname>
<refpurpose>Calculates any one parameter of the exponential distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_exponential</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the exponential distribution. The kind of the return value and parameters
(<parameter>par1</parameter> and <parameter>par2</parameter>) are determined by
<parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, and lambda denotes cumulative distribution function, the value of the random
variable, and the rate parameter of the exponential distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="4">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>lambda</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>lambda</entry>
</row>
<row>
<entry>3</entry>
<entry>lambda</entry>
<entry>x</entry>
<entry>CDF</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, or lambda, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_exponential</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-f" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_f</refname>
<refpurpose>Calculates any one parameter of the F distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_f</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the F distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, d1, and d2 denotes cumulative distribution function, the value of the random
variable, and the degree of freedoms of the F distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>d1</entry>
<entry>d2</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>d1</entry>
<entry>d2</entry>
</row>
<row>
<entry>3</entry>
<entry>d1</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>d2</entry>
</row>
<row>
<entry>4</entry>
<entry>d2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>d1</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, d1, or d2, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_f</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-gamma" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_gamma</refname>
<refpurpose>Calculates any one parameter of the gamma distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_gamma</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the gamma distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, k, and theta denotes cumulative distribution function, the value of the random
variable, and the shape and the scale parameter of the gamma distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>k</entry>
<entry>theta</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>k</entry>
<entry>theta</entry>
</row>
<row>
<entry>3</entry>
<entry>k</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>theta</entry>
</row>
<row>
<entry>4</entry>
<entry>theta</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>k</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, k, or theta, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_gamma</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-laplace" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_laplace</refname>
<refpurpose>Calculates any one parameter of the Laplace distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_laplace</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the Laplace distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, mu, and b denotes cumulative distribution function, the value of the random
variable, and the location and the scale parameter of the Laplace distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>mu</entry>
<entry>b</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>mu</entry>
<entry>b</entry>
</row>
<row>
<entry>3</entry>
<entry>mu</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>b</entry>
</row>
<row>
<entry>4</entry>
<entry>b</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>mu</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, mu, or b, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_laplace</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-logistic" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_logistic</refname>
<refpurpose>Calculates any one parameter of the logistic distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_logistic</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the logistic distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, mu, and s denotes cumulative distribution function, the value of the random
variable, and the location and the scale parameter of the logistic distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>mu</entry>
<entry>s</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>mu</entry>
<entry>s</entry>
</row>
<row>
<entry>3</entry>
<entry>mu</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>s</entry>
</row>
<row>
<entry>4</entry>
<entry>s</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>mu</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, mu, or s, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_logistic</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-negative-binomial" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_negative_binomial</refname>
<refpurpose>Calculates any one parameter of the negative binomial distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_negative_binomial</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the negative binomial distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, r, and p denotes cumulative distribution function, the number of failure, the number
of success, and the success rate for each trial, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>r</entry>
<entry>p</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>r</entry>
<entry>p</entry>
</row>
<row>
<entry>3</entry>
<entry>r</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>p</entry>
</row>
<row>
<entry>4</entry>
<entry>p</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>r</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, r, or p, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_negative_binomial</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,222 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-noncentral-chisquare" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_noncentral_chisquare</refname>
<refpurpose>Calculates any one parameter of the non-central chi-square distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_noncentral_chisquare</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the non-central chi-square distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, k, and lambda denotes cumulative distribution function, the value of the random
variable, the degree of freedom and the non-centrality parameter of the distribution,
respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>k</entry>
<entry>lambda</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>k</entry>
<entry>lambda</entry>
</row>
<row>
<entry>3</entry>
<entry>k</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>lambda</entry>
</row>
<row>
<entry>4</entry>
<entry>lambda</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>k</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, k, or lambda, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_noncentral_chisquare</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,244 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-noncentral-f" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_noncentral_f</refname>
<refpurpose>Calculates any one parameter of the non-central F distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_noncentral_f</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>float</type><parameter>par4</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the non-central F distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, <parameter>par3</parameter>,
and <parameter>par4</parameter>) are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, nu1, nu2, and lambda denotes cumulative distribution function, the value of the
random variable, the degree of freedoms and the non-centrality parameter of the distribution,
respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="6">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
<entry><parameter>par4</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>nu1</entry>
<entry>nu2</entry>
<entry>lambda</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>nu1</entry>
<entry>nu2</entry>
<entry>lambda</entry>
</row>
<row>
<entry>3</entry>
<entry>nu1</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>nu2</entry>
<entry>lambda</entry>
</row>
<row>
<entry>4</entry>
<entry>nu2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>nu1</entry>
<entry>lambda</entry>
</row>
<row>
<entry>5</entry>
<entry>lambda</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>nu1</entry>
<entry>nu2</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par4</parameter></term>
<listitem>
<para>
The fourth parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, nu1, nu2, or lambda, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_noncentral_f</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-noncentral-t" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>stats_cdf_noncentral_t</refname>
<refpurpose>Calculates any one parameter of the non-central t-distribution give values for the others</refpurpose>
</refnamediv>
<refsect1 role="description"><!-- {{{ -->
&reftitle.description;
<methodsynopsis role="procedural">
<type>float</type><methodname>stats_cdf_noncentral_t</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the non-central t-distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, nu, and mu denotes cumulative distribution function, the value of the random
variable, the degrees of freedom and the non-centrality parameter of the distribution,
respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>nu</entry>
<entry>mu</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>nu</entry>
<entry>mu</entry>
</row>
<row>
<entry>3</entry>
<entry>nu</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>mu</entry>
</row>
<row>
<entry>4</entry>
<entry>mu</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>nu</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1><!-- }}} -->
<refsect1 role="parameters"><!-- {{{ -->
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1><!-- }}} -->
<refsect1 role="returnvalues"><!-- {{{ -->
&reftitle.returnvalues;
<para>
Returns CDF, x, nu, or mu, determined by <parameter>which</parameter>.
</para>
</refsect1><!-- }}} -->
<!--
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function issue E_* level errors, and/or throw exceptions.
</para>
</refsect1>
-->
<!--
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the version of change here</entry>
<entry>
Describe the change
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
-->
<!--
<refsect1 role="examples">
&reftitle.examples;
<example xml:id="function-name.example.basic">
<title><function>function-name</function> example</title>
<para>
Any text that describes the purpose of the example, or what
goes on in the example should be here. (Inside the <example> tag, not out).
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding standards';
}
if ($thereisoutput === 'and it is multiple lines') {
echo 'Use a screen like we did below';
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Use the PEAR Coding standards
Use a screen like we did below
]]>
</screen>
</example>
</refsect1>
-->
<!--
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member><function>somefunc</function></member>
<member><function>another_func</function></member>
<member>The <link linkend="something">something appendix</link></member>
</simplelist>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,220 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-normal" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>stats_cdf_normal</refname>
<refpurpose>Calculates any one parameter of the normal distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description"><!-- {{{ -->
&reftitle.description;
<methodsynopsis role="procedural">
<type>float</type><methodname>stats_cdf_normal</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the normal distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, mu, and sigma denotes cumulative distribution function, the value of the random
variable, the mean and the standard deviation of the normal distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>mu</entry>
<entry>sigma</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>mu</entry>
<entry>sigma</entry>
</row>
<row>
<entry>3</entry>
<entry>mu</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>sigma</entry>
</row>
<row>
<entry>4</entry>
<entry>sigma</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>mu</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1><!-- }}} -->
<refsect1 role="parameters"><!-- {{{ -->
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1><!-- }}} -->
<refsect1 role="returnvalues"><!-- {{{ -->
&reftitle.returnvalues;
<para>
Returns CDF, x, mu, or sigma, determined by <parameter>which</parameter>.
</para>
</refsect1><!-- }}} -->
<!--
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function issue E_* level errors, and/or throw exceptions.
</para>
</refsect1>
-->
<!--
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the version of change here</entry>
<entry>
Describe the change
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
-->
<!--
<refsect1 role="examples">
&reftitle.examples;
<example xml:id="function-name.example.basic">
<title><function>function-name</function> example</title>
<para>
Any text that describes the purpose of the example, or what
goes on in the example should be here. (Inside the <example> tag, not out).
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding standards';
}
if ($thereisoutput === 'and it is multiple lines') {
echo 'Use a screen like we did below';
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Use the PEAR Coding standards
Use a screen like we did below
]]>
</screen>
</example>
</refsect1>
-->
<!--
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member><function>somefunc</function></member>
<member><function>another_func</function></member>
<member>The <link linkend="something">something appendix</link></member>
</simplelist>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-poisson" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_poisson</refname>
<refpurpose>Calculates any one parameter of the Poisson distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_poisson</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters, of the Poisson distribution.
The kind of the return value and parameters (<parameter>par1</parameter> and <parameter>par2</parameter>) are
determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, and lambda denotes cumulative distribution function, the value of the random variable,
and the parameter of the Poisson distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="4">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>lambda</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>lambda</entry>
</row>
<row>
<entry>3</entry>
<entry>lambda</entry>
<entry>x</entry>
<entry>CDF</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, or lambda, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_poisson</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,201 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-t" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_t</refname>
<refpurpose>Calculates any one parameter of the t-distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_t</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the t-distribution. The kind of the return value and parameters
(<parameter>par1</parameter> and <parameter>par2</parameter>) are determined by
<parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, and nu denotes cumulative distribution function, the value of the random
variable, and the degrees of freedom of the t-distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="4">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>nu</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>nu</entry>
</row>
<row>
<entry>3</entry>
<entry>nu</entry>
<entry>x</entry>
<entry>CDF</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, or nu, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_t</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-uniform" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_uniform</refname>
<refpurpose>Calculates any one parameter of the uniform distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_uniform</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the uniform distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, a, and b denotes cumulative distribution function, the value of the random variable,
the lower bound and the higher bound of the uniform distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>a</entry>
<entry>b</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>a</entry>
<entry>b</entry>
</row>
<row>
<entry>3</entry>
<entry>a</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>b</entry>
</row>
<row>
<entry>4</entry>
<entry>b</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>a</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, a, or b, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_uniform</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-cdf-weibull" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_cdf_weibull</refname>
<refpurpose>Calculates any one parameter of the Weibull distribution given values for the others</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_cdf_weibull</methodname>
<methodparam><type>float</type><parameter>par1</parameter></methodparam>
<methodparam><type>float</type><parameter>par2</parameter></methodparam>
<methodparam><type>float</type><parameter>par3</parameter></methodparam>
<methodparam><type>int</type><parameter>which</parameter></methodparam>
</methodsynopsis>
<para>
Returns the cumulative distribution function, its inverse, or one of its parameters,
of the Weibull distribution. The kind of the return value and parameters
(<parameter>par1</parameter>, <parameter>par2</parameter>, and <parameter>par3</parameter>)
are determined by <parameter>which</parameter>.
</para>
<para>
The following table lists the return value and parameters by <parameter>which</parameter>.
CDF, x, k, and lambda denotes cumulative distribution function, the value of the random variable,
the shape and the scale parameter of the Weibull distribution, respectively.
<table>
<title>Return value and parameters</title>
<tgroup cols="5">
<thead>
<row>
<entry><parameter>which</parameter></entry>
<entry>Return value</entry>
<entry><parameter>par1</parameter></entry>
<entry><parameter>par2</parameter></entry>
<entry><parameter>par3</parameter></entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>CDF</entry>
<entry>x</entry>
<entry>k</entry>
<entry>lambda</entry>
</row>
<row>
<entry>2</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>k</entry>
<entry>lambda</entry>
</row>
<row>
<entry>3</entry>
<entry>k</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>lambda</entry>
</row>
<row>
<entry>4</entry>
<entry>lambda</entry>
<entry>x</entry>
<entry>CDF</entry>
<entry>k</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>par1</parameter></term>
<listitem>
<para>
The first parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par2</parameter></term>
<listitem>
<para>
The second parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>par3</parameter></term>
<listitem>
<para>
The third parameter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>which</parameter></term>
<listitem>
<para>
The flag to determine what to be calculated
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns CDF, x, k, or lambda, determined by <parameter>which</parameter>.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_cdf_weibull</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-covariance" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_covariance</refname>
<refpurpose>Computes the covariance of two data sets</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_covariance</methodname>
<methodparam><type>array</type><parameter>a</parameter></methodparam>
<methodparam><type>array</type><parameter>b</parameter></methodparam>
</methodsynopsis>
<para>
Returns the covariance of <parameter>a</parameter> and <parameter>b</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The first array
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>b</parameter></term>
<listitem>
<para>
The second array
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the covariance of <parameter>a</parameter> and <parameter>b</parameter>,
or &false; on failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_covariance</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-beta" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_beta</refname>
<refpurpose>Probability density function of the beta distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_beta</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>a</parameter></methodparam>
<methodparam><type>float</type><parameter>b</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the beta distribution of which the shape parameters
are <parameter>a</parameter> and <parameter>b</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The shape parameter of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>b</parameter></term>
<listitem>
<para>
The shape parameter of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_beta</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-cauchy" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_cauchy</refname>
<refpurpose>Probability density function of the Cauchy distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_cauchy</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>ave</parameter></methodparam>
<methodparam><type>float</type><parameter>stdev</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the Cauchy distribution whose location and scale are
<parameter>ave</parameter> and <parameter>stdev</parameter>, respectively.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>ave</parameter></term>
<listitem>
<para>
The location parameter of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>stdev</parameter></term>
<listitem>
<para>
The scale parameter of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_cauchy</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-chisquare" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_chisquare</refname>
<refpurpose>Probability density function of the chi-square distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_chisquare</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>dfr</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the chi-square distribution of which the degree of
freedom is <parameter>dfr</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dfr</parameter></term>
<listitem>
<para>
The degree of freedom of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_chisquare</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-exponential" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_exponential</refname>
<refpurpose>Probability density function of the exponential distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_exponential</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the exponential distribution of which the scale is
<parameter>scale</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>scale</parameter></term>
<listitem>
<para>
The scale of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_exponential</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-f" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_f</refname>
<refpurpose>Probability density function of the F distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_f</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>dfr1</parameter></methodparam>
<methodparam><type>float</type><parameter>dfr2</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the F distribution of which the degree of freedoms
are <parameter>dfr1</parameter> and <parameter>dfr2</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dfr1</parameter></term>
<listitem>
<para>
The degree of freedom of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dfr2</parameter></term>
<listitem>
<para>
The degree of freedom of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_f</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-gamma" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_gamma</refname>
<refpurpose>Probability density function of the gamma distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_gamma</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>shape</parameter></methodparam>
<methodparam><type>float</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the gamma distribution of which the shape parameter
is <parameter>shape</parameter> and the scale parameter is <parameter>scale</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>shape</parameter></term>
<listitem>
<para>
The shape parameter of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>scale</parameter></term>
<listitem>
<para>
The scale parameter of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_gamma</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-laplace" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_laplace</refname>
<refpurpose>Probability density function of the Laplace distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_laplace</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>ave</parameter></methodparam>
<methodparam><type>float</type><parameter>stdev</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the Laplace distribution of which the location parameter
is <parameter>ave</parameter> and the scale parameter is <parameter>stdev</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>ave</parameter></term>
<listitem>
<para>
The location parameter of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>stdev</parameter></term>
<listitem>
<para>
The shape parameter of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_laplace</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-logistic" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_logistic</refname>
<refpurpose>Probability density function of the logistic distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_logistic</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>ave</parameter></methodparam>
<methodparam><type>float</type><parameter>stdev</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the logistic distribution of which the location parameter
is <parameter>ave</parameter> and the scale parameter is <parameter>stdev</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>ave</parameter></term>
<listitem>
<para>
The location parameter of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>stdev</parameter></term>
<listitem>
<para>
The shape parameter of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_logistic</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,163 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-normal" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_normal</refname>
<refpurpose>Probability density function of the normal distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_normal</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>ave</parameter></methodparam>
<methodparam><type>float</type><parameter>stdev</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the normal distribution of which the mean is
<parameter>ave</parameter> and the standard deviation is
<parameter>stdev</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>ave</parameter></term>
<listitem>
<para>
The mean of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>stdev</parameter></term>
<listitem>
<para>
The standard deviation of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_normal</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-pmf-binomial" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_pmf_binomial</refname>
<refpurpose>Probability mass function of the binomial distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_pmf_binomial</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>n</parameter></methodparam>
<methodparam><type>float</type><parameter>pi</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability mass at <parameter>x</parameter>, where the random variable
follows the binomial distribution of which the number of trials is <parameter>n</parameter>
and the success rate is <parameter>pi</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability mass is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>n</parameter></term>
<listitem>
<para>
The number of trials of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>pi</parameter></term>
<listitem>
<para>
The success rate of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability mass at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_pmf_binomial</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,172 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-pmf-hypergeometric" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_pmf_hypergeometric</refname>
<refpurpose>Probability mass function of the hypergeometric distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_pmf_hypergeometric</methodname>
<methodparam><type>float</type><parameter>n1</parameter></methodparam>
<methodparam><type>float</type><parameter>n2</parameter></methodparam>
<methodparam><type>float</type><parameter>N1</parameter></methodparam>
<methodparam><type>float</type><parameter>N2</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability mass at <parameter>n1</parameter>, where the random variable
follows the hypergeometric distribution of which the number of failure is
<parameter>n2</parameter>, the number of success samples is <parameter>N1</parameter>,
and the number of failure samples is <parameter>N2</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>n1</parameter></term>
<listitem>
<para>
The number of success, at which the probability mass is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>n2</parameter></term>
<listitem>
<para>
The number of failure of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>N1</parameter></term>
<listitem>
<para>
The number of success samples of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>N2</parameter></term>
<listitem>
<para>
The number of failure samples of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability mass at <parameter>n1</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_pmf_hypergeometric</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-pmf-negative-binomial" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>stats_dens_pmf_negative_binomial</refname>
<refpurpose>Probability mass function of the negative binomial distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_pmf_negative_binomial</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>n</parameter></methodparam>
<methodparam><type>float</type><parameter>pi</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability mass at <parameter>x</parameter>, where the
random variable follows the negative binomial distribution of which
the number of the success is <parameter>n</parameter> and the success
rate is <parameter>pi</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability mass is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>n</parameter></term>
<listitem>
<para>
The number of the success of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>pi</parameter></term>
<listitem>
<para>
The success rate of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability mass at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!--
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function issue E_* level errors, and/or throw exceptions.
</para>
</refsect1>
-->
<!--
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the version of change here</entry>
<entry>
Describe the change
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
-->
<!--
<refsect1 role="examples">
&reftitle.examples;
<example xml:id="function-name.example.basic">
<title><function>function-name</function> example</title>
<para>
Any text that describes the purpose of the example, or what
goes on in the example should be here. (Inside the <example> tag, not out).
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding standards';
}
if ($thereisoutput === 'and it is multiple lines') {
echo 'Use a screen like we did below';
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Use the PEAR Coding standards
Use a screen like we did below
]]>
</screen>
</example>
</refsect1>
-->
<!--
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member><function>somefunc</function></member>
<member><function>another_func</function></member>
<member>The <link linkend="something">something appendix</link></member>
</simplelist>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-pmf-poisson" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_pmf_poisson</refname>
<refpurpose>Probability mass function of the Poisson distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_pmf_poisson</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>lb</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability mass at <parameter>x</parameter>, where the random variable
follows the Poisson distribution whose parameter is <parameter>lb</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability mass is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>lb</parameter></term>
<listitem>
<para>
The parameter of the Poisson distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability mass at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_pmf_poisson</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-t" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_t</refname>
<refpurpose>Probability density function of the t-distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_t</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>dfr</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the t-distribution of which the degree of
freedom is <parameter>dfr</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dfr</parameter></term>
<listitem>
<para>
The degree of freedom of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_t</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,161 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-uniform" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>stats_dens_uniform</refname>
<refpurpose>Probability density function of the uniform distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_uniform</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>a</parameter></methodparam>
<methodparam><type>float</type><parameter>b</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the uniform distribution of which the lower bound is
<parameter>a</parameter> and the upper bound is <parameter>b</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The lower bound of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>b</parameter></term>
<listitem>
<para>
The upper bound of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!--
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function issue E_* level errors, and/or throw exceptions.
</para>
</refsect1>
-->
<!--
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the version of change here</entry>
<entry>
Describe the change
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
-->
<!--
<refsect1 role="examples">
&reftitle.examples;
<example xml:id="function-name.example.basic">
<title><function>function-name</function> example</title>
<para>
Any text that describes the purpose of the example, or what
goes on in the example should be here. (Inside the <example> tag, not out).
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding standards';
}
if ($thereisoutput === 'and it is multiple lines') {
echo 'Use a screen like we did below';
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Use the PEAR Coding standards
Use a screen like we did below
]]>
</screen>
</example>
</refsect1>
-->
<!--
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member><function>somefunc</function></member>
<member><function>another_func</function></member>
<member>The <link linkend="something">something appendix</link></member>
</simplelist>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-dens-weibull" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_dens_weibull</refname>
<refpurpose>Probability density function of the Weibull distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_dens_weibull</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>a</parameter></methodparam>
<methodparam><type>float</type><parameter>b</parameter></methodparam>
</methodsynopsis>
<para>
Returns the probability density at <parameter>x</parameter>, where the
random variable follows the Weibull distribution of which the shape parameter
is <parameter>a</parameter> and the scale parameter is <parameter>b</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The value at which the probability density is calculated
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The shape parameter of the distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>b</parameter></term>
<listitem>
<para>
The scale parameter of the distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The probability density at <parameter>x</parameter> or &false; for failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_dens_weibull</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,143 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-harmonic-mean" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_harmonic_mean</refname>
<refpurpose>Returns the harmonic mean of an array of values</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>number</type><methodname>stats_harmonic_mean</methodname>
<methodparam><type>array</type><parameter>a</parameter></methodparam>
</methodsynopsis>
<para>
Returns the harmonic mean of the values in <parameter>a</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The input array
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the harmonic mean of the values in <parameter>a</parameter>,
or &false; if <parameter>a</parameter> is empty or is not an array.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_harmonic_mean</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,143 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-kurtosis" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_kurtosis</refname>
<refpurpose>Computes the kurtosis of the data in the array</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_kurtosis</methodname>
<methodparam><type>array</type><parameter>a</parameter></methodparam>
</methodsynopsis>
<para>
Returns the kurtosis of the values in <parameter>a</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The input array
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the kurtosis of the values in <parameter>a</parameter>,
or &false; if <parameter>a</parameter> is empty or is not an array.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_kurtosis</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,154 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-beta" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_beta</refname>
<refpurpose>Generates a random deviate from the beta distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_beta</methodname>
<methodparam><type>float</type><parameter>a</parameter></methodparam>
<methodparam><type>float</type><parameter>b</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the beta distribution with parameters A and
B. The density of the beta is x^(a-1) * (1-x)^(b-1) / B(a,b) for 0 &lt; x
&lt;. Method R. C. H. Cheng.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The shape parameter of the beta distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>b</parameter></term>
<listitem>
<para>
The shape parameter of the beta distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_beta</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,143 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-chisquare" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_chisquare</refname>
<refpurpose>Generates a random deviate from the chi-square distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_chisquare</methodname>
<methodparam><type>float</type><parameter>df</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the chi-square distribution where the degrees of
freedom is <parameter>df</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>df</parameter></term>
<listitem>
<para>
The degrees of freedom
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_chisquare</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,143 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-exponential" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_exponential</refname>
<refpurpose>Generates a random deviate from the exponential distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_exponential</methodname>
<methodparam><type>float</type><parameter>av</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the exponential distribution of which the scale is
<parameter>av</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>av</parameter></term>
<listitem>
<para>
The scale parameter
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_exponential</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-f" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_f</refname>
<refpurpose>Generates a random deviate from the F distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_f</methodname>
<methodparam><type>float</type><parameter>dfn</parameter></methodparam>
<methodparam><type>float</type><parameter>dfd</parameter></methodparam>
</methodsynopsis>
<para>
Generates a random deviate from the F (variance ratio) distribution with
"dfn" degrees of freedom in the numerator and "dfd" degrees of freedom in
the denominator. Method : directly generates ratio of chisquare variates.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>dfn</parameter></term>
<listitem>
<para>
The degrees of freedom in the numerator
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dfd</parameter></term>
<listitem>
<para>
The degrees of freedom in the denominator
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_f</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-funiform" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_funiform</refname>
<refpurpose>Generates uniform float between low (exclusive) and high (exclusive)</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_funiform</methodname>
<methodparam><type>float</type><parameter>low</parameter></methodparam>
<methodparam><type>float</type><parameter>high</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the uniform distribution from
<parameter>low</parameter> to <parameter>high</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>low</parameter></term>
<listitem>
<para>
The lower bound (inclusive)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>high</parameter></term>
<listitem>
<para>
The upper bound (exclusive)
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_funiform</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.stats-rand-gen-gamma" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_gamma</refname>
<refpurpose>Generates a random deviate from the gamma distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_gamma</methodname>
<methodparam><type>float</type><parameter>a</parameter></methodparam>
<methodparam><type>float</type><parameter>r</parameter></methodparam>
</methodsynopsis>
<para>
Generates a random deviate from the gamma distribution whose density is
(A**R)/Gamma(R) * X**(R-1) * Exp(-A*X).
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
location parameter of Gamma distribution (<parameter>a</parameter>
&gt; 0).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>r</parameter></term>
<listitem>
<para>
shape parameter of Gamma distribution (<parameter>r</parameter> &gt;
0).
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_gamma</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-ibinomial-negative" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_ibinomial_negative</refname>
<refpurpose>Generates a random deviate from the negative binomial distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>stats_rand_gen_ibinomial_negative</methodname>
<methodparam><type>int</type><parameter>n</parameter></methodparam>
<methodparam><type>float</type><parameter>p</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from a negative binomial distribution where the number of success is
<parameter>n</parameter> and the success rate is <parameter>p</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>n</parameter></term>
<listitem>
<para>
The number of success
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>p</parameter></term>
<listitem>
<para>
The success rate
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate, which is the number of failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_ibinomial_negative</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-ibinomial" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_ibinomial</refname>
<refpurpose>Generates a random deviate from the binomial distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>stats_rand_gen_ibinomial</methodname>
<methodparam><type>int</type><parameter>n</parameter></methodparam>
<methodparam><type>float</type><parameter>pp</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the binomial distribution whose number of trials is <parameter>n</parameter>
and whose probability of an event in each trial is <parameter>pp</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>n</parameter></term>
<listitem>
<para>
The number of trials
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>pp</parameter></term>
<listitem>
<para>
The probability of an event in each trial
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_ibinomial</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-int" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_int</refname>
<refpurpose>Generates random integer between 1 and 2147483562</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>stats_rand_gen_int</methodname>
<void/>
</methodsynopsis>
<para>
Returns a random integer between 1 and 2147483562
</para>
</refsect1>
<!--
<refsect1 role="parameters">
&reftitle.parameters;
<para>
</para>
</refsect1>
-->
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random integer
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_int</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-ipoisson" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_ipoisson</refname>
<refpurpose>Generates a single random deviate from a Poisson distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>stats_rand_gen_ipoisson</methodname>
<methodparam><type>float</type><parameter>mu</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the Poisson distribution with parameter <parameter>mu</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>mu</parameter></term>
<listitem>
<para>
The parameter of the Poisson distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_ipoisson</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-iuniform" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_iuniform</refname>
<refpurpose>Generates integer uniformly distributed between LOW (inclusive) and HIGH (inclusive)</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>stats_rand_gen_iuniform</methodname>
<methodparam><type>int</type><parameter>low</parameter></methodparam>
<methodparam><type>int</type><parameter>high</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random integer from the discrete uniform distribution between <parameter>low</parameter> (inclusive)
and <parameter>high</parameter> (inclusive).
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>low</parameter></term>
<listitem>
<para>
The lower bound
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>high</parameter></term>
<listitem>
<para>
The upper bound
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random integer
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_iuniform</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-noncentral-chisquare" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>stats_rand_gen_noncentral_chisquare</refname>
<refpurpose>Generates a random deviate from the non-central chi-square distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_noncentral_chisquare</methodname>
<methodparam><type>float</type><parameter>df</parameter></methodparam>
<methodparam><type>float</type><parameter>xnonc</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the non-central chi-square distribution with degrees of freedom,
<parameter>df</parameter>, and non-centrality parameter, <parameter>xnonc</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>df</parameter></term>
<listitem>
<para>
The degrees of freedom
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>xnonc</parameter></term>
<listitem>
<para>
The non-centrality parameter
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!--
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function issue E_* level errors, and/or throw exceptions.
</para>
</refsect1>
-->
<!--
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the version of change here</entry>
<entry>
Describe the change
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
-->
<!--
<refsect1 role="examples">
&reftitle.examples;
<example xml:id="function-name.example.basic">
<title><function>function-name</function> example</title>
<para>
Any text that describes the purpose of the example, or what
goes on in the example should be here. (Inside the <example> tag, not out).
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding standards';
}
if ($thereisoutput === 'and it is multiple lines') {
echo 'Use a screen like we did below';
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Use the PEAR Coding standards
Use a screen like we did below
]]>
</screen>
</example>
</refsect1>
-->
<!--
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member><function>somefunc</function></member>
<member><function>another_func</function></member>
<member>The <link linkend="something">something appendix</link></member>
</simplelist>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-noncentral-f" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_noncentral_f</refname>
<refpurpose>Generates a random deviate from the noncentral F distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_noncentral_f</methodname>
<methodparam><type>float</type><parameter>dfn</parameter></methodparam>
<methodparam><type>float</type><parameter>dfd</parameter></methodparam>
<methodparam><type>float</type><parameter>xnonc</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the non-central F distribution where the degrees of freedoms are
<parameter>dfn</parameter> (numerator) and <parameter>dfd</parameter> (denominator), and the non-centrality
parameter is <parameter>xnonc</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>dfn</parameter></term>
<listitem>
<para>
The degrees of freedom of the numerator
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dfd</parameter></term>
<listitem>
<para>
The degrees of freedom of the denominator
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>xnonc</parameter></term>
<listitem>
<para>
The non-centrality parameter
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_noncentral_f</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-noncentral-t" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_noncentral_t</refname>
<refpurpose>Generates a single random deviate from a non-central t-distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_noncentral_t</methodname>
<methodparam><type>float</type><parameter>df</parameter></methodparam>
<methodparam><type>float</type><parameter>xnonc</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the non-central t-distribution with the degrees of freedom,
<parameter>df</parameter>, and the non-centrality parameter, <parameter>xnonc</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>df</parameter></term>
<listitem>
<para>
The degrees of freedom
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>xnonc</parameter></term>
<listitem>
<para>
The non-centrality parameter
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_noncentral_t</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-normal" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_normal</refname>
<refpurpose>Generates a single random deviate from a normal distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_normal</methodname>
<methodparam><type>float</type><parameter>av</parameter></methodparam>
<methodparam><type>float</type><parameter>sd</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the normal distribution with mean, <parameter>av</parameter>, and standard deviation,
<parameter>sd</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>av</parameter></term>
<listitem>
<para>
The mean of the normal distribution
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>sd</parameter></term>
<listitem>
<para>
The standard deviation of the normal distribution
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_normal</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-gen-t" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_gen_t</refname>
<refpurpose>Generates a single random deviate from a t-distribution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_gen_t</methodname>
<methodparam><type>float</type><parameter>df</parameter></methodparam>
</methodsynopsis>
<para>
Returns a random deviate from the t-distribution with the degrees of freedom, <parameter>df</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>df</parameter></term>
<listitem>
<para>
The degrees of freedom
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random deviate
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_gen_t</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,134 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-get-seeds" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_get_seeds</refname>
<refpurpose>Get the seed values of the random number generator</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>stats_rand_get_seeds</methodname>
<void/>
</methodsynopsis>
<para>
Returns the current seed values of the random number generator
</para>
</refsect1>
<!--
<refsect1 role="parameters">
&reftitle.parameters;
<para>
</para>
</refsect1>
-->
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an array of two integers.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_get_seeds</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-phrase-to-seeds" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_phrase_to_seeds</refname>
<refpurpose>Generate two seeds for the RGN random number generator</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>stats_rand_phrase_to_seeds</methodname>
<methodparam><type>string</type><parameter>phrase</parameter></methodparam>
</methodsynopsis>
<para>
Generate two seeds for the random number generator from a <parameter>phrase</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>phrase</parameter></term>
<listitem>
<para>
The input phrase
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an array of two integers.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_phrase_to_seeds</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-ranf" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_ranf</refname>
<refpurpose>Generates a random floating point number between 0 and 1</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_rand_ranf</methodname>
<void/>
</methodsynopsis>
<para>
Returns a random floating point number from a uniform distribution between 0 (exclusive) and 1 (exclusive).
</para>
</refsect1>
<!--
<refsect1 role="parameters">
&reftitle.parameters;
<para>
</para>
</refsect1>
-->
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
A random floating point number
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_ranf</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-rand-setall" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_rand_setall</refname>
<refpurpose>Set seed values to the random generator</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>stats_rand_setall</methodname>
<methodparam><type>int</type><parameter>iseed1</parameter></methodparam>
<methodparam><type>int</type><parameter>iseed2</parameter></methodparam>
</methodsynopsis>
<para>
Set <parameter>iseed1</parameter> and <parameter>iseed2</parameter> as seed values to the random generator
used in statistic functions.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>iseed1</parameter></term>
<listitem>
<para>
The value which is used as the random seed
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>iseed2</parameter></term>
<listitem>
<para>
The value which is used as the random seed
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
No values are returned.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_rand_setall</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.stats-skew" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_skew</refname>
<refpurpose>Computes the skewness of the data in the array</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_skew</methodname>
<methodparam><type>array</type><parameter>a</parameter></methodparam>
</methodsynopsis>
<para>
Returns the skewness of the values in <parameter>a</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The input array
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the skewness of the values in <parameter>a</parameter>,
or &false; if <parameter>a</parameter> is empty or is not an array.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_skew</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-standard-deviation" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_standard_deviation</refname>
<refpurpose>Returns the standard deviation</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_standard_deviation</methodname>
<methodparam><type>array</type><parameter>a</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>sample</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
Returns the standard deviation of the values in <parameter>a</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The array of data to find the standard deviation for. Note that all
values of the array will be cast to <type>float</type>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>sample</parameter></term>
<listitem>
<para>
Indicates if <parameter>a</parameter> represents a sample of the
population; defaults to &false;.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the standard deviation on success; &false; on failure.
</para>
</refsect1>
<refsect1 role="errors"><!-- {{{ -->
&reftitle.errors;
<para>
Raises an <constant>E_WARNING</constant> when there are fewer than 2
values in <parameter>a</parameter>.
</para>
</refsect1><!-- }}} -->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_standard_deviation</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-stat-binomial-coef" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_stat_binomial_coef</refname>
<refpurpose>Returns a binomial coefficient</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_stat_binomial_coef</methodname>
<methodparam><type>int</type><parameter>x</parameter></methodparam>
<methodparam><type>int</type><parameter>n</parameter></methodparam>
</methodsynopsis>
<para>
Returns the binomial coefficient of <parameter>n</parameter> choose <parameter>x</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>x</parameter></term>
<listitem>
<para>
The number of chooses from the set
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>n</parameter></term>
<listitem>
<para>
The number of elements in the set
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the binomial coefficient
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_stat_binomial_coef</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-stat-correlation" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_stat_correlation</refname>
<refpurpose>Returns the Pearson correlation coefficient of two data sets</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_stat_correlation</methodname>
<methodparam><type>array</type><parameter>arr1</parameter></methodparam>
<methodparam><type>array</type><parameter>arr2</parameter></methodparam>
</methodsynopsis>
<para>
Returns the Pearson correlation coefficient between <parameter>arr1</parameter> and <parameter>arr2</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>arr1</parameter></term>
<listitem>
<para>
The first array
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>arr2</parameter></term>
<listitem>
<para>
The second array
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the Pearson correlation coefficient between <parameter>arr1</parameter> and <parameter>arr2</parameter>,
or &false; on failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_stat_correlation</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,139 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-stat-factorial" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>stats_stat_factorial</refname>
<refpurpose>Returns the factorial of an integer</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="procedural">
<type>float</type><methodname>stats_stat_factorial</methodname>
<methodparam><type>int</type><parameter>n</parameter></methodparam>
</methodsynopsis>
<para>
Returns the factorial of an integer, <parameter>n</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>n</parameter></term>
<listitem>
<para>
An integer
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The factorial of <parameter>n</parameter>.
</para>
</refsect1>
<!--
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function issue E_* level errors, and/or throw exceptions.
</para>
</refsect1>
-->
<!--
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the version of change here</entry>
<entry>
Describe the change
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
-->
<!--
<refsect1 role="examples">
&reftitle.examples;
<example xml:id="function-name.example.basic">
<title><function>function-name</function> example</title>
<para>
Any text that describes the purpose of the example, or what
goes on in the example should be here. (Inside the <example> tag, not out).
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding standards';
}
if ($thereisoutput === 'and it is multiple lines') {
echo 'Use a screen like we did below';
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Use the PEAR Coding standards
Use a screen like we did below
]]>
</screen>
</example>
</refsect1>
-->
<!--
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member><function>somefunc</function></member>
<member><function>another_func</function></member>
<member>The <link linkend="something">something appendix</link></member>
</simplelist>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.stats-stat-independent-t" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_stat_independent_t</refname>
<refpurpose>Returns the t-value from the independent two-sample t-test</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_stat_independent_t</methodname>
<methodparam><type>array</type><parameter>arr1</parameter></methodparam>
<methodparam><type>array</type><parameter>arr2</parameter></methodparam>
</methodsynopsis>
<para>
Returns the t-value of the independent two-sample t-test between
<parameter>arr1</parameter> and <parameter>arr2</parameter>.
</para>
&warn.undocumented.func;
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>arr1</parameter></term>
<listitem>
<para>
The first set of values
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>arr2</parameter></term>
<listitem>
<para>
The second set of values
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the t-value, or &false; if failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_stat_independent_t</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-stat-innerproduct" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_stat_innerproduct</refname>
<refpurpose>Returns the inner product of two vectors</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_stat_innerproduct</methodname>
<methodparam><type>array</type><parameter>arr1</parameter></methodparam>
<methodparam><type>array</type><parameter>arr2</parameter></methodparam>
</methodsynopsis>
<para>
Returns the inner product of <parameter>arr1</parameter> and <parameter>arr2</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>arr1</parameter></term>
<listitem>
<para>
The first array
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>arr2</parameter></term>
<listitem>
<para>
The second array
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the inner product of <parameter>arr1</parameter> and <parameter>arr2</parameter>,
or &false; on failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_stat_innerproduct</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-stat-paired-t" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_stat_paired_t</refname>
<refpurpose>Returns the t-value of the dependent t-test for paired samples</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_stat_paired_t</methodname>
<methodparam><type>array</type><parameter>arr1</parameter></methodparam>
<methodparam><type>array</type><parameter>arr2</parameter></methodparam>
</methodsynopsis>
<para>
Returns the t-value of the dependent t-test for paired samples
<parameter>arr1</parameter> and <parameter>arr2</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>arr1</parameter></term>
<listitem>
<para>
The first samples
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>arr2</parameter></term>
<listitem>
<para>
The second samples
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the t-value, or &false; if failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_stat_paired_t</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-stat-percentile" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_stat_percentile</refname>
<refpurpose>Returns the percentile value</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_stat_percentile</methodname>
<methodparam><type>array</type><parameter>arr</parameter></methodparam>
<methodparam><type>float</type><parameter>perc</parameter></methodparam>
</methodsynopsis>
<para>
Returns the <parameter>perc</parameter>-th percentile value of the array <parameter>arr</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>arr</parameter></term>
<listitem>
<para>
The input array
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>perc</parameter></term>
<listitem>
<para>
The percentile
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the percentile values of the input array.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_stat_percentile</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-stat-powersum" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_stat_powersum</refname>
<refpurpose>Returns the power sum of a vector</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_stat_powersum</methodname>
<methodparam><type>array</type><parameter>arr</parameter></methodparam>
<methodparam><type>float</type><parameter>power</parameter></methodparam>
</methodsynopsis>
<para>
Returns the sum of the <parameter>power</parameter>-th power of a vector represented as an array <parameter>arr</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>arr</parameter></term>
<listitem>
<para>
The input array
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>power</parameter></term>
<listitem>
<para>
The power
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the power sum of the input array.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_stat_powersum</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.stats-variance" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stats_variance</refname>
<refpurpose>Returns the variance</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>float</type><methodname>stats_variance</methodname>
<methodparam><type>array</type><parameter>a</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>sample</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
Returns the variance of the values in <parameter>a</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>a</parameter></term>
<listitem>
<para>
The array of data to find the standard deviation for. Note that all
values of the array will be cast to <type>float</type>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>sample</parameter></term>
<listitem>
<para>
Indicates if <parameter>a</parameter> represents a sample of the
population; defaults to &false;.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the variance on success; &false; on failure.
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
</refsect1>
-->
<!-- Use when a CHANGELOG exists
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>Enter the PHP version of change here</entry>
<entry>Description of change</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>stats_variance</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></member>
</simplelist>
</para>
</refsect1>
-->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<reference xml:id="ref.stats" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Statistic &Functions;</title>
&reference.stats.entities.functions;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

68
reference/stats/setup.xml Normal file
View File

@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<chapter xml:id="stats.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<!-- {{{ Requirements -->
<section xml:id="stats.requirements">
&reftitle.required;
<para>
No external libraries are needed. The extension comes bundled with the libraries used.
</para>
</section>
<!-- }}} -->
<!-- {{{ Installation -->
<section xml:id="stats.installation">
&reftitle.install;
<para>
&pecl.moved;
</para>
<para>
&pecl.info;
<link xlink:href="&url.pecl.package;stats">&url.pecl.package;stats</link>.
</para>
<para>
&pecl.windows.download;
</para>
</section>
<!-- }}} -->
<!-- {{{ Configuration -->
<section xml:id="stats.configuration">
&reftitle.runtime;
&no.config;
</section>
<!-- }}} -->
<!-- {{{ Resources -->
<section xml:id="stats.resources">
&reftitle.resources;
&no.resource;
</section>
<!-- }}} -->
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View File

@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!--
Do NOT translate this file
-->
<versions>
<function name='stats_absolute_deviation' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_beta' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_binomial' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_cauchy' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_chisquare' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_exponential' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_f' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_gamma' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_laplace' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_logistic' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_negative_binomial' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_noncentral_chisquare' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_noncentral_f' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_noncentral_t' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_normal' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_poisson' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_t' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_uniform' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_cdf_weibull' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_covariance' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_den_uniform' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_beta' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_cauchy' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_chisquare' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_exponential' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_f' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_gamma' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_laplace' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_logistic' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_negative_binomial' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_normal' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_pmf_binomial' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_pmf_hypergeometric' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_pmf_negative_binomial' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_pmf_poisson' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_t' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_uniform' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_dens_weibull' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_harmonic_mean' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_kurtosis' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_beta' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_chisquare' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_exponential' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_f' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_funiform' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_gamma' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_ibinomial' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_ibinomial_negative' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_int' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_ipoisson' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_iuniform' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_noncenral_chisquare' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_noncenral_f' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_noncentral_chisquare' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_noncentral_f' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_noncentral_t' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_normal' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_gen_t' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_get_seeds' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_getsd' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_ibinomial' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_ibinomial_negative' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_ignlgi' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_phrase_to_seeds' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_ranf' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_rand_setall' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_skew' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_standard_deviation' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_stat_binomial_coef' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_stat_correlation' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_stat_factorial' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_stat_gennch' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_stat_independent_t' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_stat_innerproduct' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_stat_noncentral_t' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_stat_paired_t' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_stat_percentile' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_stat_powersum' from='PECL stats &gt;= 1.0.0'/>
<function name='stats_variance' from='PECL stats &gt;= 1.0.0'/>
</versions>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->