Transforms standard Gauss-Laguerre quadrature for integration against
a Gamma(a, b) distribution with shape a and rate b.
Value
A list with components:
aShape parameter.
bRate parameter.
alpha_nodesNumeric vector of transformed nodes \(\alpha_m = x_m / b\) on the \(\alpha\) scale.
weights_normalizedNumeric vector of normalized weights that sum to 1.
Details
For \(\alpha \sim \text{Gamma}(a, b)\): $$E[g(\alpha)] = \frac{1}{\Gamma(a)} \int_0^\infty g(x/b) x^{a-1} e^{-x} dx$$
Using generalized Laguerre quadrature with parameter \(\alpha_{\text{param}} = a - 1\): $$E[g(\alpha)] \approx \sum_{m=1}^M \tilde{w}_m g(\alpha_m)$$
where \(\alpha_m = x_m / b\) and \(\tilde{w}_m\) are normalized weights summing to 1.
The weights are normalized in log-space for numerical stability, which ensures monotone convergence as M increases.
See also
gauss_laguerre_nodes for raw quadrature computation,
integrate_gamma for high-level expectation computation