|
Boost-Commit : |
From: john_at_[hidden]
Date: 2007-09-20 08:29:58
Author: johnmaddock
Date: 2007-09-20 08:29:58 EDT (Thu, 20 Sep 2007)
New Revision: 39406
URL: http://svn.boost.org/trac/boost/changeset/39406
Log:
Fix definition of mode.
Text files modified:
sandbox/math_toolkit/libs/math/doc/distributions/beta.qbk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox/math_toolkit/libs/math/doc/distributions/beta.qbk
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/distributions/beta.qbk (original)
+++ sandbox/math_toolkit/libs/math/doc/distributions/beta.qbk 2007-09-20 08:29:58 EDT (Thu, 20 Sep 2007)
@@ -239,7 +239,7 @@
[[quantile from the complement][__ibetac_inv(a, b, q)]]
[[mean][`a/(a+b)`]]
[[variance][`a * b / (a+b)^2 * (a + b + 1)`]]
-[[mode][`(a-1) / (a + b + 2)`]]
+[[mode][`(a-1) / (a + b - 2)`]]
[[skewness][`2 (b-a) sqrt(a+b+1)/(a+b+2) * sqrt(a * b)`]]
[[kurtosis excess][ [$../equations/beta_dist_kurtosis.png] ]]
[[kurtosis][`kurtosis + 3`]]
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk