Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / math / doc / distributions / inverse_gamma.qbk
index 0f8afea..8fccbc1 100644 (file)
@@ -33,7 +33,6 @@ See [@http://en.wikipedia.org/wiki/Inverse-gamma_distribution inverse gamma dist
 
 See also __gamma_distrib.
 
-
 [note
 In spite of potential confusion with the inverse gamma function, this
 distribution *does* provide the typedef:
@@ -49,11 +48,11 @@ or you can write `inverse_gamma my_ig(2, 3);`]
 For shape parameter [alpha] and scale parameter [beta], it is defined 
 by the probability density function (PDF):
 
-__spaces f(x;[alpha], [beta]) = [beta][super [alpha]] * (1/x) [super [alpha]+1] exp(-[beta]/x) / [Gamma]([alpha])
+[expression f(x;[alpha], [beta]) = [beta][super [alpha]] * (1/x) [super [alpha]+1] exp(-[beta]/x) / [Gamma]([alpha])]
 
 and cumulative density function (CDF)
 
-__spaces F(x;[alpha], [beta]) = [Gamma]([alpha], [beta]/x) / [Gamma]([alpha])
+[expression F(x;[alpha], [beta]) = [Gamma]([alpha], [beta]/x) / [Gamma]([alpha])]
 
 The following graphs illustrate how the PDF and CDF of the inverse gamma distribution
 varies as the parameters vary:
@@ -100,7 +99,7 @@ But in general, inverse_gamma results are accurate to a few epsilon,
 [h4 Implementation]
 
 In the following table [alpha] is the shape parameter of the distribution, 
-[alpha][space] is its scale parameter, /x/ is the random variate, /p/ is the probability
+[alpha] is its scale parameter, /x/ is the random variate, /p/ is the probability
 and /q = 1-p/.
 
 [table
@@ -108,8 +107,8 @@ and /q = 1-p/.
 [[pdf][Using the relation: pdf = __gamma_p_derivative([alpha], [beta]/ x, [beta]) / x * x ]]
 [[cdf][Using the relation: p = __gamma_q([alpha], [beta] / x) ]]
 [[cdf complement][Using the relation: q = __gamma_p([alpha], [beta] / x) ]]
-[[quantile][Using the relation: x = [beta][space]/ __gamma_q_inv([alpha], p) ]]
-[[quantile from the complement][Using the relation: x = [alpha][space]/ __gamma_p_inv([alpha], q) ]]
+[[quantile][Using the relation: x = [beta]/ __gamma_q_inv([alpha], p) ]]
+[[quantile from the complement][Using the relation: x = [alpha]/ __gamma_p_inv([alpha], q) ]]
 [[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]]
@@ -118,7 +117,7 @@ and /q = 1-p/.
 [[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]
+[endsect] [/section:inverse_gamma_dist Inverse Gamma Distribution]
 
 [/ 
   Copyright 2010 John Maddock and Paul A. Bristow.