Tutorials › Generalized Linear Models › The Inverse-Gaussian Cubic Variance Function

Mean Variance and Dispersion · Tutorial 53 of 981

The Inverse-Gaussian Cubic Variance Function

Use the inverse-Gaussian exponential dispersion form to derive its cubic variance function and calculate the effect of multiplying the mean by a constant.

Beginner 9 min read

What You'll Learn

  • Write the inverse-Gaussian density in exponential dispersion form.
  • Identify its natural parameter, mean parameter, and log-partition function.
  • Derive the mean and variance from derivatives of the log-partition function.
  • Calculate the variance at specified mean and dispersion values.
  • Determine how variance changes when the mean is multiplied by a constant.

Why the Inverse-Gaussian Variance Is Cubic

For some response distributions, variability changes substantially as the mean changes. The inverse-Gaussian family gives a particularly clear example: with dispersion held fixed, multiplying the mean by a factor multiplies the variance by the cube of that factor. A mean increase of 50%, for instance, does not produce a 50% variance increase.

The relationship follows directly from the inverse-Gaussian exponential dispersion form. We will identify that form, differentiate its log-partition function to obtain the variance, and then use the resulting variance function for explicit scaling calculations.

The Inverse-Gaussian Exponential Dispersion Form

Let \(Y\) have an inverse-Gaussian distribution with mean parameter \(\mu>0\) and dispersion parameter \(\phi>0\). Its density, with respect to Lebesgue measure on \(y>0\), is

$$ f(y;\mu,\phi) = \frac{1}{\sqrt{2\pi\phi y^3}} \exp\left\{ -\frac{(y-\mu)^2}{2\phi\mu^2y} \right\}, \qquad y>0. $$

To see the exponential dispersion structure, expand the quadratic expression in the exponent:

$$ -\frac{(y-\mu)^2}{2\phi\mu^2y} = -\frac{y}{2\phi\mu^2} +\frac{1}{\phi\mu} -\frac{1}{2\phi y}. $$

Set \(\theta=-1/(2\mu^2)\). Since \(\mu>0\), this natural parameter satisfies \(\theta<0\), and the mapping between \(\mu\) and \(\theta\) is one-to-one. In particular, \(1/\mu=\sqrt{-2\theta}\). Define the log-partition function by \(\kappa(\theta)=-\sqrt{-2\theta}\). Then the density can be written as

$$ f(y;\theta,\phi) = \frac{1}{\sqrt{2\pi\phi y^3}} \exp\left(-\frac{1}{2\phi y}\right) \exp\left\{ \frac{y\theta-\kappa(\theta)}{\phi} \right\}, \qquad y>0,\ \theta<0,\ \phi>0. $$

The first two factors that depend on \(y\) but not on \(\theta\) make up the carrier term. The parameter-dependent part has the standard exponential dispersion form. For a regular exponential dispersion model with open natural-parameter space and twice differentiable \(\kappa\), the mean is \(\kappa'(\theta)\) and the variance is \(\phi\kappa''(\theta)\). Here the natural-parameter space is the open interval \((-\infty,0)\).

Definition: The inverse-Gaussian variance function is the function \(V(\mu)\) in the mean-variance relationship \(\operatorname{Var}(Y)=\phi V(\mu)\). For this family, the mean parameter has domain \(\mu>0\), and the variance function will be \(V(\mu)=\mu^3\).

Deriving the Cubic Variance Function

Differentiate the log-partition function on its domain \(\theta<0\). Its first derivative is

$$ \kappa'(\theta) = \frac{d}{d\theta}\left[-(-2\theta)^{1/2}\right] = (-2\theta)^{-1/2}. $$

Because \(\theta=-1/(2\mu^2)\), we have \(-2\theta=1/\mu^2\), so \(\kappa'(\theta)=\mu\). Differentiating once more gives

$$ \kappa''(\theta) = \frac{d}{d\theta}(-2\theta)^{-1/2} = (-2\theta)^{-3/2}. $$

For \(\mu>0\), \((-2\theta)^{-3/2}=(1/\mu^2)^{-3/2}=\mu^3\). Applying the exponential dispersion mean-variance relationship therefore gives the following result.

Result: If \(Y\) has the inverse-Gaussian exponential dispersion distribution with mean parameter \(\mu>0\) and dispersion \(\phi>0\), then
$$ E[Y]=\mu, \qquad \operatorname{Var}(Y)=\phi\mu^3. $$
Derivation: The natural parameter is \(\theta=-1/(2\mu^2)\), and \(\kappa(\theta)=-\sqrt{-2\theta}\). The derivatives above give \(\kappa'(\theta)=\mu\) and \(\kappa''(\theta)=\mu^3\). Substitution into \(E[Y]=\kappa'(\theta)\) and \(\operatorname{Var}(Y)=\phi\kappa''(\theta)\) proves both identities. \(\square\)

Worked Example: Recovering the Variance From the Density Parameters

Suppose \(Y\) has the inverse-Gaussian distribution above with \(\mu=4\) and \(\phi=0.25\). Find its mean and variance.

The mean parameter is \(\mu=4\), so \(E[Y]=4\). For the variance, cube the mean parameter and then multiply by the dispersion:

$$ \operatorname{Var}(Y) = \phi\mu^3 = 0.25(4^3) = 0.25(64) = 16. $$

Thus the distribution has mean \(4\) and variance \(16\). The variance is not \(\mu^2\), nor is it just \(\mu^3\): the dispersion factor \(0.25\) is part of the variance.

What Happens When the Mean Is Rescaled?

Suppose the dispersion stays fixed and the mean changes from \(\mu\) to \(c\mu\), where \(c>0\). The new mean remains in the inverse-Gaussian parameter domain because \(c\mu>0\). Applying the variance function at the new mean gives

$$ \operatorname{Var}_{\text{new}}(Y) = \phi(c\mu)^3 = c^3\phi\mu^3 = c^3\operatorname{Var}_{\text{old}}(Y). $$

This yields an exact scaling rule, not an approximation.

Theorem: For an inverse-Gaussian response with fixed \(\phi>0\), multiplying the mean parameter by \(c>0\) multiplies its variance by \(c^3\). In particular, the ratio of the new variance to the old variance is \(c^3\), and their difference is \((c^3-1)\phi\mu^3\).

Proof. At the original mean \(\mu\), the variance is \(\phi\mu^3\). At the rescaled mean \(c\mu\), the variance is \(\phi(c\mu)^3\). Since \(c>0\), \((c\mu)^3=c^3\mu^3\). Therefore the new variance is \(c^3\phi\mu^3\), which is \(c^3\) times the original variance. Subtracting the original variance gives \((c^3-1)\phi\mu^3\). \(\square\)

Worked Example: A 50% Increase in the Mean

An inverse-Gaussian response has mean \(\mu=2\) and dispersion \(\phi=0.1\). If the mean increases by 50% while dispersion remains unchanged, calculate the new variance and compare it with the original variance.

A 50% increase multiplies the mean by \(c=1.5\), so the new mean is \(1.5(2)=3\). The original variance is

$$ \operatorname{Var}_{\text{old}}(Y) = 0.1(2^3) = 0.1(8) = 0.8. $$

The new variance can be calculated directly or using the scaling rule. Directly,

$$ \operatorname{Var}_{\text{new}}(Y) = 0.1(3^3) = 0.1(27) = 2.7. $$

The ratio is \(2.7/0.8=3.375\), which agrees with \(c^3=1.5^3=3.375\). The variance increase is \(2.7-0.8=1.9\), or \(1.9/0.8=2.375\), which is a 237.5% increase. The variance is therefore 3.375 times its original value, not 1.5 times its original value.

Worked Example: A Decrease in the Mean

Suppose an inverse-Gaussian response has \(\mu=5\) and \(\phi=0.04\). Find the variance if its mean falls by 20%, with dispersion unchanged, and state the percentage change in variance.

A 20% decrease multiplies the mean by \(c=0.8\). Thus the new mean is \(0.8(5)=4\). The original variance is

$$ \operatorname{Var}_{\text{old}}(Y) = 0.04(5^3) = 0.04(125) = 5. $$

The new variance is

$$ \operatorname{Var}_{\text{new}}(Y) = 0.04(4^3) = 0.04(64) = 2.56. $$

The ratio is \(2.56/5=0.512\), also obtained from \(0.8^3=0.512\). The percentage change is \((2.56-5)/5=-0.488\), or a 48.8% decrease. A 20% decrease in the mean produces a larger percentage decrease in the variance because the variance depends on the cube of the mean.

Interpreting the Cubic Relationship

The variance function \(V(\mu)=\mu^3\) describes how variance depends on the mean before the dispersion multiplier is applied. The actual variance is \(\phi V(\mu)\). Consequently, comparisons based on the cubic scaling rule hold when \(\phi\) is the same in both cases. If dispersion also changes, the variance ratio must include that change:

$$ \frac{\operatorname{Var}_{\text{new}}(Y)} {\operatorname{Var}_{\text{old}}(Y)} = \frac{\phi_{\text{new}}}{\phi_{\text{old}}} \left(\frac{\mu_{\text{new}}}{\mu_{\text{old}}}\right)^3. $$

This equation follows by dividing \(\phi_{\text{new}}\mu_{\text{new}}^3\) by \(\phi_{\text{old}}\mu_{\text{old}}^3\), assuming both dispersions and means are positive. It makes the fixed-dispersion condition explicit: only when \(\phi_{\text{new}}=\phi_{\text{old}}\) does the ratio reduce to the cube of the mean ratio.

The relationship also distinguishes a change in the variance function from a change in the dispersion. The cubic power comes from the inverse-Gaussian family’s mean-variance structure; \(\phi\) scales the variance at any given mean. For example, doubling \(\phi\) doubles the variance if the mean is held fixed, while doubling \(\mu\) multiplies the variance by eight if \(\phi\) is held fixed.

Common Mistake

  • Wrong reasoning: “The mean increases by 50%, so the variance increases by 50%.” This treats the variance as directly proportional to \(\mu\).
  • Correction: Use \(\operatorname{Var}(Y)=\phi\mu^3\). With dispersion fixed, a 50% mean increase has \(c=1.5\), so the variance ratio is \(1.5^3=3.375\). The variance becomes 3.375 times its original value, a 237.5% increase.
  • Another check: Keep the dispersion in the calculation. Writing the variance as just \(\mu^3\) omits \(\phi\) and gives the wrong numerical variance unless \(\phi=1\).
Key takeaway: The inverse-Gaussian exponential dispersion form has \(\kappa(\theta)=-\sqrt{-2\theta}\), with \(\theta=-1/(2\mu^2)\). Its log-partition derivatives give \(E[Y]=\mu\) and \(\operatorname{Var}(Y)=\phi\mu^3\). At fixed dispersion, multiplying the mean by \(c\) multiplies the variance by \(c^3\).

Check Your Understanding

Use the inverse-Gaussian variance relationship to answer each question. Assume dispersion is positive and unchanged unless stated otherwise.

  1. For \(\mu=3\) and \(\phi=0.2\), calculate the variance.
  2. If the mean is multiplied by 2, by what factor does the variance change?
  3. A mean falls from 6 to 3. What is the ratio of the new variance to the original variance?
  4. Why is \(\phi\) required when calculating the variance from \(\mu\)?
  5. If both mean and dispersion change, write the ratio of the new variance to the original variance in terms of those changes.
Clinical Biostats