Why Link Choice Is a Practical Decision
For a Gamma regression, the response is positive, but that fact alone does not determine the link. A log link, an identity link, and a reciprocal-mean link can each describe a positive conditional mean while imposing different shapes and interpretations. The practical question is not simply which link is familiar; it is which mean pattern is scientifically plausible, valid over the intended prediction range, and adequately supported by the data.
Let \(Y_i\) be a positive response for observation \(i\), with conditional mean \(\mu_i=E[Y_i\mid x_i]\) and linear predictor \(\eta_i=x_i^\mathsf{T}\beta\). In the usual Gamma mean-variance specification, \(\operatorname{Var}(Y_i\mid x_i)=\phi\mu_i^2\), where \(\phi>0\) is the dispersion parameter. The link specifies how \(\eta_i\) determines \(\mu_i\); it does not change the positive support of the response.
These links are not interchangeable descriptions of the same coefficient. They specify different ways for the conditional mean to change with predictors. A meaningful comparison therefore considers both the implied curve and the range over which that curve is valid.
What the Coefficients Say
For a single quantitative predictor \(x\), write \(\eta(x)=\beta_0+\beta_1x\). The coefficient \(\beta_1\) has a distinct interpretation under each link. A practical comparison should keep that distinction explicit.
For the log link, \(\mu(x)=\exp(\beta_0+\beta_1x)\). Thus $$ \frac{\mu(x+d)}{\mu(x)} =\frac{\exp(\beta_0+\beta_1(x+d))}{\exp(\beta_0+\beta_1x)} =\exp(\beta_1d). $$ For the identity link, \(\mu(x)=\beta_0+\beta_1x\), so \(\mu(x+d)-\mu(x)=\beta_1d\). For the reciprocal-mean link, set \(a=\beta_0+\beta_1x\) and \(c=\beta_1d\). Provided \(a>0\) and \(a+c>0\), $$ \mu(x+d)-\mu(x) =\frac{1}{a+c}-\frac{1}{a} =-\frac{c}{a(a+c)}. $$ So a positive \(\beta_1\) decreases the mean as \(x\) increases, as long as the reciprocal predictor remains positive. The absolute change is not constant: it depends on both the starting reciprocal mean and the change in it.
Worked Example: Matching Effect Interpretation to the Link
Suppose \(x\) is a one-unit measure of disease severity and the fitted log-link model is \(\log(\mu)=\log(2)+\log(1.5)x\). At \(x=0\), the fitted mean is \(\exp(\log 2)=2\). At \(x=1\), it is \(\exp(\log 2+\log 1.5)=3\). The ratio is \(3/2=1.5\): each one-unit increase multiplies the mean by 1.5, or increases it by 50%. At \(x=2\), the mean is \(2(1.5)^2=4.5\).
Now suppose a separately fitted identity-link model is \(\mu=2+1.5x\). Its fitted means at \(x=0,1,2\) are \(2,3.5,5\). The increase is 1.5 response units per unit of \(x\), not a 50% increase. The same numerical slope does not give the same interpretation across links.
Finally, consider a reciprocal-mean model \(1/\mu=0.5-0.05x\). Its predictor is positive at these three values, and the fitted means are \(1/0.5=2\), \(1/0.45\approx2.222\), and \(1/0.4=2.5\). Here the reciprocal mean decreases by 0.05 per unit, while the mean increases by different amounts. These are separate fitted models; their coefficient values should not be compared as though they measured the same effect.
Check Validity Before Comparing Fit
A Gamma conditional mean must be positive. This requirement is automatic with a log link, but not with the other two links. For an identity-link model, every fitted predictor value must satisfy \(\eta_i>0\). For a reciprocal-mean model, every fitted value must also satisfy \(\eta_i>0\), because \(1/\eta_i\) must be positive and finite. A zero reciprocal predictor does not give a finite mean, and a negative one gives an inadmissible negative mean.
To prove this, first suppose \(\eta(L)>0\) and \(\eta(U)>0\). Every \(x\in[L,U]\) can be written as \(x=(1-t)L+tU\) for some \(t\in[0,1]\). Affinity gives $$ \eta(x)=(1-t)\eta(L)+t\eta(U). $$ This is a weighted average of two positive numbers, with nonnegative weights summing to one, so \(\eta(x)>0\). Conversely, if \(\eta(x)>0\) throughout the interval, it is positive at \(L\) and \(U\) because they belong to the interval. This proves the claim. \(\square\)
The endpoint check is useful for a continuous predictor over a stated interval, but it does not certify predictions outside that interval. With several predictors, check every observed design point and each proposed prediction profile; a convenient one-dimensional endpoint rule need not apply to an arbitrary prediction region.
Worked Example: Identity-Link Validity Over a Prediction Range
Suppose an identity-link fit for a positive biomarker outcome is \(\widehat{\mu}(x)=1.2+0.3x\), where \(x\) is a centered exposure measured from 0 to 4 in the observed study. At the endpoints, \(\widehat{\mu}(0)=1.2>0\) and \(\widehat{\mu}(4)=2.4>0\). Since the predictor is affine, the endpoint result shows that fitted means are positive throughout \(0\leq x\leq4\). For example, at \(x=2\), the fitted mean is \(1.2+0.3(2)=1.8\).
But extrapolating this equation to \(x=-5\) gives \(\widehat{\mu}(-5)=1.2-1.5=-0.3\), which is not a valid Gamma mean. The model may be usable over the study range but unsuitable for that extrapolation. A log-link model, by contrast, has positive fitted means at every finite \(x\), although its extrapolated values still require scientific scrutiny.
Compare Mean Curves and Residual Patterns
For a given data set, fit candidates on the same response observations and inspect their fitted means over the observed predictor range. Look for systematic structure in residuals against the predictor and fitted values: curvature, a trend, or changing spread can indicate that the mean curve or the assumed mean-variance relationship is inadequate. A residual pattern is evidence to investigate, not an automatic verdict that one link is correct.
For Gamma data, the variance grows with the square of the mean under the usual variance specification. Raw residuals \(y_i-\widehat{\mu}_i\) can therefore have larger spread at larger fitted means even when the model is appropriate. Compare residual plots with suitable scaling, such as Pearson residuals \((y_i-\widehat{\mu}_i)/(\sqrt{\widehat{\phi}}\widehat{\mu}_i)\), and assess whether any pattern remains. Mean-variance fit and link choice are related diagnostic questions, but they are not the same question.
Worked Example: Residuals Can Distinguish Candidate Curves
Consider four positive observations at \(x=0,1,2,3\): \(y=(2,2.5,3,3.8)\). Compare three illustrative curves that pass through the first and last observations. These calculations show how their fitted patterns differ; four observations alone are not enough to establish which link is generally appropriate.
A log-link curve through the endpoints is \(\widehat{\mu}(x)=2(1.9)^{x/3}\), because \(3.8/2=1.9\). Its predictions are approximately \(2.000,\ 2.477,\ 3.068,\ 3.800\). Subtracting predictions from observations gives residuals \(0,\ 0.023,\ -0.068,\ 0\), to three decimal places.
The identity-link line through the same endpoints is \(\widehat{\mu}(x)=2+0.6x\). Its predictions are \(2.0,\ 2.6,\ 3.2,\ 3.8\), and its observed-minus-predicted residuals are \(0,\ -0.1,\ -0.2,\ 0\). This pattern has two negative interior residuals, suggesting that this particular straight-line mean curve sits above both interior observations.
For a reciprocal-mean line through the endpoints, the reciprocal predictor must move from \(1/2\) to \(1/3.8=5/19\) over three units. Its slope is \(((5/19)-(1/2))/3=-3/38\), so \(\eta(x)=1/2-3x/38\). The fitted means are \(2,\ 19/8=2.375,\ 38/13\approx2.923,\ 3.8\), all positive. The residuals are \(0,\ 0.125,\ 3-38/13=1/13\approx0.077,\ 0\). The log curve leaves smaller absolute interior residuals for these values, but that is a descriptive comparison on a tiny data set, not a general selection rule.
A Practical Comparison Strategy
A link should be selected by combining the scientific meaning of the effect, fitted-mean validity, diagnostic evidence, and the prediction task. The following sequence keeps those considerations separate enough to make the comparison interpretable.
Decide whether the scientific question concerns proportional changes, absolute changes in the mean, or changes in reciprocal mean. This identifies which coefficient interpretation is natural, without yet proving that its model fits well.
For identity and reciprocal-mean links, verify that every relevant linear predictor is positive. Include prediction settings that matter to the analysis, not only the observed rows.
Compare residual patterns and mean-variance behavior across fits using the same observations. Investigate persistent structure rather than choosing a link from one isolated residual.
Consider whether predictions are needed only within the observed range or also under extrapolation, and whether the resulting curve is plausible there. A link that ensures positive means does not ensure scientifically sensible extrapolation.
When candidate models use the same response data and Gamma likelihood, likelihood-based criteria can help compare relative fit, provided the models are fitted and compared under compatible likelihood conventions. Such a criterion does not replace the validity checks or explain whether a coefficient has the interpretation the study needs. Likewise, a small improvement in fit should not justify implausible predictions or a mean curve that conflicts with the design and subject matter.
Common Mistake
A common mistake is to choose the identity link because its fitted means are positive for all observed cases, then assume that it is safe for any future prediction. Positivity at observed design points establishes validity only at those points. A linear predictor can become zero or negative outside the range, as the worked example showed. The correction is to check the full range of intended predictions and state clearly where the fitted mean remains admissible. The reverse shortcut is also unsafe: the log link guarantees positive means, but positivity alone does not establish a good fit or sensible extrapolation.
Check Your Understanding
Use the link definitions and comparison principles to answer these questions.
- For a log-link model with slope \(\beta_1\), what factor multiplies the fitted mean when \(x\) increases by two units?
- Why must the linear predictor be positive for both the identity and reciprocal-mean links?
- An identity-link model has \(\eta(x)=0.8+0.2x\). On what interval from \(x=0\) upward is its fitted mean positive, and what happens at \(x=-5\)?
- Under a reciprocal-mean link, does a positive slope imply an increasing or decreasing mean, provided the reciprocal predictor stays positive? Explain.
- Why should residuals be interpreted with the Gamma mean-variance relationship in mind when comparing candidate links?