Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65679 - trunk/libs/math/doc/sf_and_dist/distributions
From: john_at_[hidden]
Date: 2010-09-29 12:59:07


Author: johnmaddock
Date: 2010-09-29 12:59:03 EDT (Wed, 29 Sep 2010)
New Revision: 65679
URL: http://svn.boost.org/trac/boost/changeset/65679

Log:
Fix a few typos.
Text files modified:
   trunk/libs/math/doc/sf_and_dist/distributions/inverse_chi_squared.qbk | 10 +++++-----
   trunk/libs/math/doc/sf_and_dist/distributions/inverse_gamma.qbk | 4 ++--
   2 files changed, 7 insertions(+), 7 deletions(-)

Modified: trunk/libs/math/doc/sf_and_dist/distributions/inverse_chi_squared.qbk
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/distributions/inverse_chi_squared.qbk (original)
+++ trunk/libs/math/doc/sf_and_dist/distributions/inverse_chi_squared.qbk 2010-09-29 12:59:03 EDT (Wed, 29 Sep 2010)
@@ -58,7 +58,7 @@
 See also __inverse_gamma_distrib and __chi_squared_distrib.
 
 The inverse_chi_squared distribution is a psecial case of a inverse_gamma distribution
-with nu (degrees_of_freedom) shape ([alpha]) and scale ([beta]) where
+with [nu] (degrees_of_freedom) shape ([alpha]) and scale ([beta]) where
 
 __spaces [alpha]= [nu] /2 and [beta] = [frac12].
 
@@ -94,7 +94,7 @@
    inverse_chi_squared_distribution(RealType df = 1, RealType scale); // Explicitly scaled.
 
 Constructs an inverse chi_squared distribution with [nu] degrees of freedom ['df],
-and scale ['scale] with default value 1/df (1/[nu].
+and scale ['scale] with default value 1\/df.
 
 Requires that the degrees of freedom [nu] parameter is greater than zero, otherwise calls
 __domain_error.
@@ -143,11 +143,11 @@
 [[quantile from the complement][Using the relation: x = [alpha][space]/ __gamma_p_inv([alpha], q) ]]
 [[mode][[nu] * [xi] / ([nu] + 2) ]]
 [[median][no closed form analytic equation is known, but is evaluated as quantile(0.5)]]
-[[mean][1 / ([nu] - 1) for [nu] > 2, else a __domain_error]]
+[[mean][[nu][xi] / ([nu] - 2) for [nu] > 2, else a __domain_error]]
 [[variance][2 [nu][pow2] [xi][pow2] / (([nu] -2)[pow2] ([nu] -4)) for [nu] >4, else a __domain_error]]
 [[skewness][4 [sqrt]2 [sqrt]([nu]-4) /([nu]-6) for [nu] >6, else a __domain_error ]]
-[[kurtosis_excess][12 * (5[nu] - 22) / ([nu] - 6) * ([nu] - 8) for [nu] >8, else a __domain_error]]
-[[kurtosis][3 + 12 * (5[nu] - 22) / ([nu] - 6) * ([nu]-8) for [nu] >8, else a __domain_error]]
+[[kurtosis_excess][12 * (5[nu] - 22) / (([nu] - 6) * ([nu] - 8)) for [nu] >8, else a __domain_error]]
+[[kurtosis][3 + 12 * (5[nu] - 22) / (([nu] - 6) * ([nu]-8)) for [nu] >8, else a __domain_error]]
 ] [/table]
 
 [h4 References]

Modified: trunk/libs/math/doc/sf_and_dist/distributions/inverse_gamma.qbk
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/distributions/inverse_gamma.qbk (original)
+++ trunk/libs/math/doc/sf_and_dist/distributions/inverse_gamma.qbk 2010-09-29 12:59:03 EDT (Wed, 29 Sep 2010)
@@ -113,9 +113,9 @@
 [[mode][[beta] / ([alpha] + 1) ]]
 [[median][no analytic equation is known, but is evaluated as quantile(0.5)]]
 [[mean][[beta] / ([alpha] - 1) for [alpha] > 1, else a __domain_error]]
-[[variance][([beta] * [beta]) / ([alpha] - 1) * ([alpha] - 1) * ([alpha] - 2) for [alpha] >2, else a __domain_error]]
+[[variance][([beta] * [beta]) / (([alpha] - 1) * ([alpha] - 1) * ([alpha] - 2)) for [alpha] >2, else a __domain_error]]
 [[skewness][4 * sqrt ([alpha] -2) / ([alpha] -3) for [alpha] >3, else a __domain_error]]
-[[kurtosis_excess][(30 * [alpha] - 66) / ([alpha]-3)*([alpha] - 4)) for [alpha] >4, else a __domain_error]]
+[[kurtosis_excess][(30 * [alpha] - 66) / (([alpha]-3)*([alpha] - 4)) for [alpha] >4, else a __domain_error]]
 ] [/table]
 
 [endsect][/section:inverse_gamma_dist Inverse Gamma Distribution]


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