note 84680 added to ref.stats
| From: | oliver at realtsp dot com | Date: | Fri, 25 Jul 2008 08:17:54 +0000 |
| Subject: | note 84680 added to ref.stats | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-142689@lists.php.net to get a copy of this message | ||
There are some undocumented functions in this extension, eg I found the following by reading the
DCDFLIB docs and some trial and error:
<?php
/**
* stats_cdf_normal($x, $mean, $sd, 1)
* @return float cumulative probablity
*/
echo stats_cdf_normal(1.96, 0, 1, 1) . "\n";
/**
* stats_cdf_normal($p, $mean, $sd, 1)
* @return float x which bounds cumulative probalility $p
*/
echo stats_cdf_normal(0.975, 0, 1, 2) . "\n";
// less useful
// echo stats_cdf_normal(0.4,0.5,0.6,3) . "\n";
// echo stats_cdf_normal(0.4,0.5,0.6,4) . "\n";
?>
----
Server IP: 92.48.74.199
Probable Submitter: 87.86.250.33
----
Manual Page -- http://www.php.net/manual/en/ref.stats.php
Edit -- https://master.php.net/note/edit/84680
Del: integrated -- https://master.php.net/note/delete/84680/integrated
Del: useless -- https://master.php.net/note/delete/84680/useless
Del: bad code -- https://master.php.net/note/delete/84680/bad+code
Del: spam -- https://master.php.net/note/delete/84680/spam
Del: non-english -- https://master.php.net/note/delete/84680/non-english
Del: in docs -- https://master.php.net/note/delete/84680/in+docs
Del: other reasons-- https://master.php.net/note/delete/84680
Reject -- https://master.php.net/note/reject/84680
Search -- https://master.php.net/manage/user-notes.php