Tutorials › Generalized Linear Models › Information for Exponential-Family Dispersion

Sufficiency and Information · Tutorial 75 of 981

Information for Exponential-Family Dispersion

Learn how the mean–dispersion information matrix is derived for normal and gamma observations, and why its entries depend on how dispersion is parameterized.

Intermediate 10 min read

What You'll Learn

  • Derive normal-model information for the mean and variance.
  • Calculate gamma-model information when variance equals dispersion times squared mean.
  • Show why the expected mean–dispersion cross-information is zero in both models.
  • Distinguish gamma dispersion from its reciprocal shape parameter.
  • Check numerical information values using exact expressions before rounding.

Why Parameterization Matters

In a model with both a mean and a dispersion parameter, Fisher information describes how sensitive the distribution is to changes in each parameter. It also records whether the information for one parameter is coupled to the other. The calculations are specific to the distribution: in particular, gamma dispersion does not have the same information formula as normal variance.

This tutorial calculates information for a single observation in two models. For a parameter vector \(\theta\), the expected information matrix is \(I(\theta)=E[(\nabla_\theta\ell)(\nabla_\theta\ell)^\mathsf{T}]\), when the score has mean zero and the expectation exists. Under the usual regularity conditions, it also equals the negative expected Hessian. We will display both diagonal contributions and the mean–dispersion cross-information.

Definition: For a scalar parameter vector \(\theta=(\theta_1,\theta_2)\), the expected Fisher information matrix for one observation is \(I(\theta)=E_\theta[U(\theta)U(\theta)^\mathsf{T}]\), where \(U(\theta)=\nabla_\theta\ell(\theta)\) is the score. Its entry \(I_{jk}\) is the expected product of score components \(U_j\) and \(U_k\). The diagonal entries measure information for individual parameters; an off-diagonal entry measures score association.

The score-variance and expected-information identities used here require a differentiable density on a parameter-independent support, integrable first and second derivatives that permit differentiation under the integral, and finite score second moments. For the normal and gamma densities below, these conditions hold when the mean and dispersion parameters are strictly positive (and, for the normal mean, the mean may be any real number). Gamma expectations involving logarithms are finite for every positive shape. We compute each information matrix directly rather than relying on a general rule for transforming information.

Normal Mean and Dispersion

Let \(Y\sim N(\mu,\phi)\), where the second argument is the variance, \(\mu\in\mathbb R\), and \(\phi>0\). The log-density, up to the displayed normalizing terms, is

$$ \ell(\mu,\phi)=-\frac12\log(2\pi\phi)-\frac{(Y-\mu)^2}{2\phi}. $$

Differentiating with respect to the stated parameters gives

$$ U_\mu=\frac{Y-\mu}{\phi}, \qquad U_\phi=-\frac{1}{2\phi}+\frac{(Y-\mu)^2}{2\phi^2} =\frac{(Y-\mu)^2-\phi}{2\phi^2}. $$

The centered normal moments are \(E[Y-\mu]=0\), \(E[(Y-\mu)^2]=\phi\), \(E[(Y-\mu)^3]=0\), and \(E[(Y-\mu)^4]=3\phi^2\). Thus both score components have mean zero. Their variances and covariance give the information matrix:

$$ I_{\mu\mu}=\frac{1}{\phi},\qquad I_{\phi\phi}=\frac{2\phi^2}{4\phi^4}=\frac{1}{2\phi^2},\qquad I_{\mu\phi}= \frac{E[(Y-\mu)\{(Y-\mu)^2-\phi\}]}{2\phi^3}=0. $$
Result: For one normal observation parameterized by its mean \(\mu\) and variance \(\phi\), \(I(\mu,\phi)\) is diagonal, with entries \(I_{\mu\mu}=1/\phi\) and \(I_{\phi\phi}=1/(2\phi^2)\). The zero cross-entry follows from the zero third centered moment of a normal random variable.

Worked Example: Normal Information at a Given Variance

Suppose one observation has distribution \(N(10,4)\). Here \(\mu=10\) and \(\phi=4\), so the information for the mean is

\(I_{\mu\mu}=1/\phi=1/4=0.25.\)

The information for the variance is

\(I_{\phi\phi}=1/(2\phi^2)=1/(2\cdot 4^2)=1/32=0.03125.\)

The cross-information is zero, so the matrix, in the parameter order \((\mu,\phi)\), is \(\begin{pmatrix}0.25&0\\0&0.03125\end{pmatrix}\). These entries refer to the variance parameter \(\phi\), not to the standard deviation.

Gamma Mean and Dispersion

For the gamma model, use the convention \(E[Y]=\mu\) and \(\operatorname{Var}(Y)=\phi\mu^2\), with \(\mu>0\) and \(\phi>0\). Equivalently, \(Y\) has shape \(t=1/\phi\) and scale \(\phi\mu\). Its density is

$$ f(y;\mu,\phi)= \frac{y^{1/\phi-1}\exp\{-y/(\phi\mu)\}} {\Gamma(1/\phi)(\phi\mu)^{1/\phi}}, \qquad y>0. $$

Writing \(Z=Y/\mu\), the variable \(Z\) has a gamma distribution with shape \(t=1/\phi\) and scale \(\phi\); in particular, \(E[Z]=1\) and \(\operatorname{Var}(Z)=\phi\). Let \(\psi(t)=\frac{d}{dt}\log\Gamma(t)\) be the digamma function and \(\psi_1(t)=\frac{d}{dt}\psi(t)\) the trigamma function. Differentiating the log-density yields

$$ U_\mu=\frac{Y-\mu}{\phi\mu^2} =\frac{Z-1}{\phi\mu}, \qquad U_\phi=\frac{\psi(t)+\log\phi-\log Z+Z-1}{\phi^2}, \qquad t=\frac1\phi. $$

To calculate their variances, the gamma integral gives \(E[\log Z]=\psi(t)+\log\phi\) and \(\operatorname{Var}(\log Z)=\psi_1(t)\). These identities follow by differentiating the gamma normalizing integral with respect to its shape; differentiation is valid here because the integrals of the density times \(|\log z|\) and \((\log z)^2\) are finite for \(t>0\). Also,

$$ \operatorname{Cov}(Z,\log Z) =\phi t\{\psi(t+1)-\psi(t)\} =\phi. $$

For the last equality, the gamma-function identity \(\psi(t+1)-\psi(t)=1/t\) applies for \(t>0\). The score \(U_\mu\) has variance \(\operatorname{Var}(Z)/(\phi^2\mu^2)=1/(\phi\mu^2)\). The bracket in \(U_\phi\) has mean zero, and its variance is

$$ \operatorname{Var}\{\psi(t)+\log\phi-\log Z+Z-1\} =\psi_1(t)+\operatorname{Var}(Z)-2\operatorname{Cov}(Z,\log Z) =\psi_1(t)-\phi. $$

Finally, the cross-information is proportional to \(\operatorname{Cov}(Z-1,-\log Z+Z)\). This covariance is \(-\phi+\phi=0\), using the two moment identities above. These calculations prove the gamma result:

Result: For one gamma observation with mean \(\mu\) and variance \(\phi\mu^2\), the expected information matrix in the parameter order \((\mu,\phi)\) is diagonal, with \(I_{\mu\mu}=1/(\phi\mu^2)\) and \(I_{\phi\phi}=\{\psi_1(1/\phi)-\phi\}/\phi^4\). The mean–dispersion cross-information is zero.

Worked Example: Gamma Information at Dispersion One-Half

Take \(\mu=4\) and \(\phi=1/2\), so the gamma shape is \(1/\phi=2\). The mean information is

\(I_{\mu\mu}=1/(\phi\mu^2)=1/\{(1/2)\cdot16\}=1/8=0.125.\)

For the dispersion information, \(\psi_1(2)=\pi^2/6-1\). Therefore

\(I_{\phi\phi}=\{\psi_1(2)-1/2\}/(1/2)^4 =16\{\pi^2/6-3/2\}.\)

Since \(\pi^2/6-3/2\approx0.1449340668\), this gives \(I_{\phi\phi}\approx2.318945\) to six decimal places. The cross-information is zero. Keeping the exact expression until the final rounding avoids a discrepancy that can arise from multiplying a prematurely rounded intermediate value.

What Changes Under a Different Dispersion Parameter?

The gamma model is also commonly written using its shape parameter \(\kappa=1/\phi\). In this parameterization its density is

$$ f(y;\mu,\kappa)= \frac{\kappa^\kappa}{\Gamma(\kappa)\mu^\kappa} y^{\kappa-1}\exp\{-\kappa y/\mu\}, \qquad y>0, $$

so that \(\operatorname{Var}(Y)=\mu^2/\kappa\). Direct differentiation gives

$$ U_\mu=\frac{\kappa(Y-\mu)}{\mu^2}, \qquad U_\kappa=\log\kappa+1-\psi(\kappa)+\log(Y/\mu)-Y/\mu. $$

The variance of the first score is \(\kappa/\mu^2\). For the second, differentiating \(U_\kappa\) with respect to \(\kappa\) gives \(1/\kappa-\psi_1(\kappa)\); its expectation is already constant in \(Y\). Thus the negative expected second derivative is \(\psi_1(\kappa)-1/\kappa\). As in the dispersion parameterization, the cross-information is zero. The different formula for the shape entry is not a different distribution: it reflects a different parameter and is obtained directly here from the shape-parameter score.

Worked Example: Gamma Information in Shape Parameterization

Let \(\mu=3\) and \(\kappa=4\). The mean information is

\(I_{\mu\mu}=\kappa/\mu^2=4/9\approx0.444444.\)

Using \(\psi_1(4)=\pi^2/6-(1+1/4+1/9)=\pi^2/6-49/36\), the shape information is

\(I_{\kappa\kappa}=\psi_1(4)-1/4=\pi^2/6-29/18\approx0.033823.\)

The cross-entry is zero. This value is information for \(\kappa\), the shape, not for \(\phi\), the dispersion. The distinction matters even though \(\kappa\) and \(\phi\) describe the same family of distributions.

Parameterization of Normal Dispersion

A related distinction occurs for a normal observation if the model is parameterized by standard deviation \(\sigma>0\), rather than variance \(\phi=\sigma^2\). From \(Y\sim N(\mu,\sigma^2)\), direct differentiation gives \(U_\sigma=-1/\sigma+(Y-\mu)^2/\sigma^3\). Since \(\operatorname{Var}((Y-\mu)^2)=2\sigma^4\), the information for \(\sigma\) is \(I_{\sigma\sigma}=2/\sigma^2\), not \(1/(2\sigma^4)\), which is the information for the variance parameter. The mean information is \(1/\sigma^2\) in either description of the spread, and the cross-entry is zero. Always identify the parameter before interpreting an information entry.

Common Mistake: Reusing the Normal Dispersion Formula

A tempting but incorrect shortcut is to assign \(1/(2\phi^2)\) as the dispersion information in every model. That formula was derived from the squared centered residual of a normal observation; it is not a general formula for a dispersion parameter. For the gamma model with \(\operatorname{Var}(Y)=\phi\mu^2\), the dispersion information involves the trigamma function and is \(\{\psi_1(1/\phi)-\phi\}/\phi^4\). For example, at \(\phi=1/2\), the normal formula would give \(2\), whereas the gamma calculation gives approximately \(2.318945\). The distributions and their score functions differ, so the expected squared scores differ too.

A second error is to label information for a reciprocal parameter as though it belonged to the original parameter. The gamma shape \(\kappa\) and dispersion \(\phi\) are reciprocals, and the entries \(I_{\kappa\kappa}\) and \(I_{\phi\phi}\) are not numerically interchangeable. State the parameterization alongside every information matrix and use the score for that parameter.

Key takeaway: For normal and gamma models, mean and dispersion scores are uncorrelated under the parameterizations derived here. Their diagonal information contributions depend on the distribution and on which spread parameter is used. Check the density, parameter definition, and score before applying an information formula.

Check Your Understanding

Use the parameterizations stated in each question.

  1. For one observation from \(N(\mu,\phi)\), what are the mean and variance information entries, and why is the cross-entry zero?
  2. For a gamma observation with mean \(\mu\) and variance \(\phi\mu^2\), state the shape and scale in terms of \(\mu\) and \(\phi\).
  3. Explain why the gamma dispersion information involves a trigamma function rather than the normal variance formula.
  4. At \(\mu=4\) and \(\phi=1/2\), calculate the gamma mean information and give the exact expression for dispersion information.
  5. In the gamma shape parameterization, what is the shape-information formula, and what parameter does it describe?
Clinical Biostats