``boost::math::gamma_distribution<> my_gamma(1, 1);``
]
-For shape parameter /k/ and scale parameter [theta][space] it is defined by the
+For shape parameter /k/ and scale parameter [theta] it is defined by the
probability density function:
[equation gamma_dist_ref1]
Sometimes an alternative formulation is used: given parameters
-[alpha][space]= k and [beta][space]= 1 / [theta], then the
+[alpha] = k and [beta] = 1 / [theta], then the
distribution can be defined by the PDF:
[equation gamma_dist_ref2]
[h4 Implementation]
In the following table /k/ is the shape parameter of the distribution,
-[theta][space] is its scale parameter, /x/ is the random variate, /p/ is the probability
+[theta] is its scale parameter, /x/ is the random variate, /p/ is the probability
and /q = 1-p/.
[table
[[pdf][Using the relation: pdf = __gamma_p_derivative(k, x / [theta]) / [theta] ]]
[[cdf][Using the relation: p = __gamma_p(k, x / [theta]) ]]
[[cdf complement][Using the relation: q = __gamma_q(k, x / [theta]) ]]
-[[quantile][Using the relation: x = [theta][space]* __gamma_p_inv(k, p) ]]
-[[quantile from the complement][Using the relation: x = [theta][space]* __gamma_q_inv(k, p) ]]
+[[quantile][Using the relation: x = [theta] * __gamma_p_inv(k, p) ]]
+[[quantile from the complement][Using the relation: x = [theta]* __gamma_q_inv(k, p) ]]
[[mean][k[theta] ]]
[[variance][k[theta][super 2] ]]
-[[mode][(k-1)[theta][space] for ['k>1] otherwise a __domain_error ]]
+[[mode][(k-1)[theta] for ['k>1] otherwise a __domain_error ]]
[[skewness][2 / sqrt(k) ]]
[[kurtosis][3 + 6 / k]]
[[kurtosis excess][6 / k ]]
]
-[endsect][/section:gamma_dist Gamma (and Erlang) Distribution]
+[endsect] [/section:gamma_dist Gamma (and Erlang) Distribution]
[/