Tutorials › Generalized Linear Models › Reciprocal-Link Gaussian Regression and Domain Constraints

Gaussian GLMs and Weights · Tutorial 343 of 981

Reciprocal-Link Gaussian Regression and Domain Constraints

Learn how reciprocal-link coefficients change the reciprocal mean and how to check the predictor domain before interpreting fitted means.

Beginner 10 min read

What You'll Learn

  • Write the reciprocal-link Gaussian mean model using a linear predictor
  • Distinguish the mathematical domain of the inverse link from scientific constraints on the mean
  • Derive the exact change in the mean when a predictor changes
  • Interpret coefficient signs and magnitudes on the reciprocal-mean scale
  • Check predictor ranges and covariate profiles for invalid fitted means

Introduction

A reciprocal link makes the reciprocal of the mean, rather than the mean itself, a linear function of the predictors. This can be useful when a scientific relationship is naturally additive on a reciprocal scale, but it also imposes a domain constraint: a linear predictor equal to zero makes the fitted mean undefined.

The main interpretive discipline is to keep the two scales separate. Coefficients describe additive changes in reciprocal means. Changes in the means themselves are generally nonlinear, and a predictor value can take a fitted mean outside the scientifically meaningful range even when the arithmetic is otherwise straightforward.

The Reciprocal-Link Gaussian Model

Let \(Y_i\) be an independent Gaussian response with mean \(\mu_i\) and variance \(\sigma^2\), and let \(\mathbf{x}_i\) be a vector of predictors, including an intercept if the model has one. Write the linear predictor as \(\eta_i=\mathbf{x}_i^\mathsf{T}\boldsymbol{\beta}\). The reciprocal link is \(g(\mu)=1/\mu\), so the mean model is defined by \(g(\mu_i)=\eta_i\).

Definition: A Gaussian regression model with reciprocal link has \(Y_i\sim N(\mu_i,\sigma^2)\), with independent responses, and \[ \eta_i=\mathbf{x}_i^\mathsf{T}\boldsymbol{\beta}, \qquad \mu_i=\frac{1}{\eta_i} =\frac{1}{\mathbf{x}_i^\mathsf{T}\boldsymbol{\beta}}. \] The inverse link is defined only when \(\eta_i\ne 0\). If the scientific setting requires a positive mean, the additional requirement is \(\eta_i>0\).

The Gaussian distribution itself allows any real mean, so mathematical validity of this link only requires a nonzero linear predictor. A scientific model may require more. For example, when the response is a duration or concentration, a negative mean may be meaningless. Under the reciprocal link, requiring \(\mu_i>0\) is equivalent to requiring \(\eta_i>0\).

This constraint is about the mean, not the support of the Gaussian response. Even when \(\mu_i>0\), a Gaussian distribution assigns some probability to negative response values. Whether that feature is acceptable is a separate question about the suitability of the Gaussian response model.

Worked Example: Calculating a Fitted Mean

Suppose the fitted linear predictor for a patient is \(\eta=2+0.5x-0.25z\), where \(x\) and \(z\) are two covariates. Find the fitted mean for \(x=2\) and \(z=2\).

First calculate the linear predictor: \[ \eta=2+0.5(2)-0.25(2)=2+1-0.5=2.5. \] Since \(2.5\ne0\), the reciprocal is defined. The fitted mean is \[ \hat{\mu}=\frac{1}{2.5}=0.4. \]

If a positive mean is scientifically required, this profile also passes that check because \(\eta=2.5>0\). The calculation does not say that every possible covariate profile will pass: the predictor must be checked at the profiles where the model will be used.

What a Coefficient Changes

For a predictor \(x_j\), hold the other predictors fixed and increase \(x_j\) by \(\Delta\). If its coefficient is \(\beta_j\), the linear predictor changes from \(\eta\) to \(\eta+\beta_j\Delta\). Both values must be nonzero for the corresponding means to exist; if positive means are required, both must be positive.

Result: For a predictor change \(\Delta\), the change in the reciprocal mean is exactly \[ \frac{1}{\mu_{\mathrm{new}}}-\frac{1}{\mu_{\mathrm{old}}} =\beta_j\Delta. \] Provided \(\eta\ne0\) and \(\eta+\beta_j\Delta\ne0\), the corresponding change in the mean is \[ \mu_{\mathrm{new}}-\mu_{\mathrm{old}} =-\frac{\beta_j\Delta}{\eta(\eta+\beta_j\Delta)}. \]

To verify the result, the model gives \(1/\mu_{\mathrm{old}}=\eta\) and \(1/\mu_{\mathrm{new}}=\eta+\beta_j\Delta\). Subtracting the first equality from the second gives the reciprocal-mean contrast. For the mean contrast, subtract the two reciprocals: \[ \mu_{\mathrm{new}}-\mu_{\mathrm{old}} =\frac{1}{\eta+\beta_j\Delta}-\frac{1}{\eta} =\frac{\eta-(\eta+\beta_j\Delta)}{\eta(\eta+\beta_j\Delta)} =-\frac{\beta_j\Delta}{\eta(\eta+\beta_j\Delta)}. \] Thus the coefficient is not a fixed change in the mean. The mean difference depends on the starting predictor \(\eta\) as well as on the coefficient and the size of the predictor change.

Worked Example: Interpreting a Predictor Coefficient

Suppose \(\eta=1.5+0.3x\), with positive means required. Compare \(x=0\) with \(x=2\), holding all other predictors fixed.

At \(x=0\), \(\eta_{\mathrm{old}}=1.5\), so \(\mu_{\mathrm{old}}=1/1.5=2/3\). At \(x=2\), \(\eta_{\mathrm{new}}=1.5+0.3(2)=2.1\), so \(\mu_{\mathrm{new}}=1/2.1=10/21\). Both predictors are positive, so both means are defined and positive.

The predictor increased by \(\Delta=2\), so the reciprocal mean increased by \[ \beta\Delta=0.3(2)=0.6. \] Checking directly, \(1/\mu_{\mathrm{old}}=1.5\) and \(1/\mu_{\mathrm{new}}=2.1\), whose difference is \(2.1-1.5=0.6\). The mean itself changed by \[ \frac{10}{21}-\frac{2}{3} =\frac{10}{21}-\frac{14}{21} =-\frac{4}{21}\approx -0.1905. \] So a positive coefficient increased the reciprocal mean and, in this example, decreased the mean. The coefficient \(0.3\) is not a decrease of \(0.3\) units in the mean per unit of \(x\).

More locally, for a continuous predictor, differentiating \(\mu=1/\eta\) with respect to \(x_j\) gives \[ \frac{\partial\mu}{\partial x_j} =-\frac{\beta_j}{\eta^2}. \] Where the mean is positive, \(\eta^2>0\), so a positive coefficient corresponds to a decreasing mean as that predictor increases, and a negative coefficient corresponds to an increasing mean. The size of the local change also depends on \(\eta\); it is not constant across profiles.

Checking the Predictor Domain

A fitted reciprocal mean must be checked before it is reported. For an individual profile, calculate \(\eta=\mathbf{x}^\mathsf{T}\boldsymbol{\beta}\), then check whether it is nonzero. If the scientific setting requires positive means, check that it is positive. A zero predictor gives no finite fitted mean; a negative predictor gives a negative mean.

Domain result: For a fixed set of covariate rows \(\mathbf{x}_1,\ldots,\mathbf{x}_n\), all fitted means are mathematically defined exactly when \(\mathbf{x}_i^\mathsf{T}\boldsymbol{\beta}\ne0\) for every \(i\). All fitted means are positive exactly when \(\mathbf{x}_i^\mathsf{T}\boldsymbol{\beta}>0\) for every \(i\). The coefficient vectors satisfying the positive-mean conditions form an intersection of open half-spaces, and hence a convex set.

For the final claim, each condition \(\mathbf{x}_i^\mathsf{T}\boldsymbol{\beta}>0\) defines an open half-space in the space of coefficient vectors. If \(\boldsymbol{\beta}_1\) and \(\boldsymbol{\beta}_2\) satisfy every condition, then for \(0<t<1\), \[ \mathbf{x}_i^\mathsf{T}\{t\boldsymbol{\beta}_1+(1-t)\boldsymbol{\beta}_2\} =t\mathbf{x}_i^\mathsf{T}\boldsymbol{\beta}_1 +(1-t)\mathbf{x}_i^\mathsf{T}\boldsymbol{\beta}_2>0 \] for each \(i\). Their convex combination therefore satisfies every condition, proving convexity. This describes the coefficient vectors that give positive fitted means at the specified rows; it does not guarantee positive means at every possible covariate value.

Worked Example: Finding a Valid Predictor Range

A model for a positive outcome has \(\eta=1.2-0.4x\), where \(x\) is a nonnegative exposure measured in hours. Find the values of \(x\) that give a defined mean, and those that give a positive mean.

The predictor is zero when \[ 1.2-0.4x=0 \quad\Longrightarrow\quad x=\frac{1.2}{0.4}=3. \] At \(x=3\), the fitted mean \(1/\eta\) is undefined. Thus the mathematically defined range, given \(x\ge0\), is \(0\le x<3\) together with \(x>3\).

For a positive mean, require \[ 1.2-0.4x>0 \quad\Longrightarrow\quad -0.4x>-1.2 \quad\Longrightarrow\quad x<3, \] where the inequality reverses when dividing by \(-0.4\). With \(x\ge0\), the positive-mean range is \(0\le x<3\). For instance, at \(x=2\), \(\eta=0.4\) and \(\mu=2.5\); at \(x=4\), \(\eta=-0.4\) and \(\mu=-2.5\). The latter is mathematically defined but scientifically implausible for a positive outcome.

The restriction can apply to a whole range of predictor values, not just the observed sample. If a model is to be used for predictions across a specified range, check the sign of the linear predictor over that range. A valid fitted mean at every observed profile does not by itself establish validity for extrapolated profiles.

Why the Domain Check Matters

As \(\eta\) approaches zero through positive values, \(1/\eta\) grows without bound. This creates an asymptote: small changes in the predictor near zero can correspond to very large changes in the fitted mean. On the other side of zero, the fitted mean is negative. Consequently, a model can produce predictions that are technically defined but unsuitable for the scientific question, or predictions that are not defined at all.

A practical check is to calculate the linear predictor, rather than judging only from a coefficient table or from fitted values at a few convenient profiles. For continuous predictors, inspect the predictor over the intended range. For categorical predictors, check each relevant category and covariate combination. If the model is used for positive means, verify \(\eta>0\) throughout the range of intended use.

Worked Example: Checking Several Covariate Profiles

Consider \(\eta=0.8+0.2A-0.5B\), where \(A\) and \(B\) are nonnegative covariates. Check the fitted means at profiles \((A,B)=(1,1)\), \((2,1)\), and \((1,2)\), assuming positive means are required.

At \((1,1)\), \[ \eta=0.8+0.2(1)-0.5(1)=0.5, \qquad \mu=1/0.5=2. \] This profile gives a defined, positive mean.

At \((2,1)\), \[ \eta=0.8+0.2(2)-0.5(1)=0.7, \qquad \mu=1/0.7=\frac{10}{7}\approx1.429. \] This profile also gives a defined, positive mean.

At \((1,2)\), \[ \eta=0.8+0.2(1)-0.5(2)=0, \] so the fitted mean is undefined. The coefficients alone do not reveal which combinations are problematic; evaluating the linear predictor at the intended profiles does.

Common Mistake

Wrong reasoning: “The coefficient is \(0.3\), so increasing the predictor by one unit increases the mean by \(0.3\).”

Correction: The coefficient increases the reciprocal mean by \(0.3\) per unit. If the old predictor is \(\eta\), the mean changes to \(1/(\eta+0.3)\), provided the new predictor is nonzero. For example, if \(\eta=1.5\), the old mean is \(2/3\); after a one-unit increase the new mean is \(1/1.8=5/9\), a change of \(5/9-2/3=-1/9\), not \(0.3\). Always interpret the coefficient on the reciprocal-mean scale and check that the new predictor remains in the required domain.

Key takeaway: In reciprocal-link Gaussian regression, \(\mathbf{x}_i^\mathsf{T}\boldsymbol{\beta}=1/\mu_i\). Coefficients give additive changes in reciprocal means, while mean changes are nonlinear. A zero predictor makes the mean undefined, and a positive-mean application requires a positive predictor at every profile where the model is used.

Check Your Understanding

Use the model and domain rules above to answer the following.

  1. For \(\eta=2-0.5x\), at what value of \(x\) is the fitted mean undefined? For which values of \(x\) is the mean positive?
  2. A predictor increases by \(\Delta=3\) and has coefficient \(\beta_j=-0.2\). What is the change in reciprocal mean?
  3. Why does a positive fitted mean not imply that a Gaussian response can never be negative?
  4. For \(\eta=a+bx\), explain why the mean change for a fixed increase in \(x\) depends on the starting value of \(\eta\).
  5. A model is valid at every observed profile. Does that guarantee a defined mean at an extrapolated profile? Explain.
Clinical Biostats