Link Functions and Exponential-family Distributions

How GLMs separate a mean relationship from a response distribution

Statistics
Regression
Link Functions
Exponential Family
Exponential-family distributions, cumulants, variance functions, canonical and noncanonical links, interpretation, link selection, and diagnostics.
Author

Jiahong Sun

Published

October 21, 2026

Modified

October 21, 2026

1 Separate the Mean Scale from the Linear Scale

In a generalized linear model, the conditional mean \(\mu_i=E(Y_i\mid\mathbf x_i)\) must respect the outcome’s range, while the linear predictor \(\eta_i=\mathbf x_i^\mathsf T\boldsymbol\beta\) can take any real value. A link function joins them:

\[ \boxed{g(\mu_i)=\eta_i, \qquad \mu_i=g^{-1}(\eta_i).} \]

The response family and link have different jobs. The family specifies support, likelihood, and conditional mean–variance behavior. The link specifies the scale on which predictor effects are additive. Pairing “binary with logit” or “counts with log” is often sensible, but the family does not mechanically force that link. Link choice is a modeling decision tied to interpretation, constraints, and adequacy of the conditional mean.

2 Exponential Families

A one-parameter exponential family has density or probability mass function

\[ f(y;\theta)=h(y)\exp\{y\theta-b(\theta)\}, \]

with respect to a stated base measure. Here \(\theta\) is the natural or canonical parameter, \(b(\theta)\) is the cumulant function, and \(h(y)\) does not depend on \(\theta\). A more general exponential-dispersion form is

\[ f(y;\theta,\phi,w) =\exp\left[ \frac{w\{y\theta-b(\theta)\}}{\phi}+c(y,\phi,w) \right]. \]

Differentiating the normalizing identity reveals why \(b\) is central. Because \(\int f(y;\theta)\,dy=1\) (with a sum for discrete outcomes),

\[ 0=\frac{d}{d\theta}\int f(y;\theta)\,dy =E_\theta\{Y-b'(\theta)\}, \]

so

\[ \boxed{E_\theta(Y)=b'(\theta).} \]

Differentiating once more gives

\[ \boxed{\operatorname{Var}_\theta(Y)=b''(\theta)} \]

in the unit-dispersion form, or \(\operatorname{Var}(Y)=\phi b''(\theta)/w\) in the dispersion form. Convexity of \(b\) follows from nonnegative variance. These identities connect the natural parameter, mean, information, and variance without separately integrating each moment.

3 Familiar Families in Natural Form

Constants not involving \(\theta\) are absorbed into \(h\) or \(c\).

Response family Natural parameter \(\theta\) \(b(\theta)\) Mean \(\mu\) Variance function \(V(\mu)\)
Bernoulli \(\log\{p/(1-p)\}\) \(\log(1+e^\theta)\) \(p\) \(\mu(1-\mu)\)
Poisson \(\log\mu\) \(e^\theta\) \(\mu\) \(\mu\)
Gaussian, variance \(\phi\) \(\mu\) \(\theta^2/2\) \(\mu\) \(1\)
Gamma, dispersion \(\phi\) \(-1/\mu\) \(-\log(-\theta)\) \(\mu\) \(\mu^2\)

For a binomial total with known \(m\), one can use the natural statistic \(y\) and natural parameter \(\log\{p/(1-p)\}\); then \(b(\theta)=m\log(1+e^\theta)\) and the count mean is \(mp\). Software may instead model the proportion \(y/m\) with prior weight \(m\). The two representations agree when the outcome and weights are specified consistently.

The negative-binomial distribution is also an exponential family when its size or dispersion is fixed. If dispersion is estimated, it is handled as an additional parameter rather than as one component of the regression linear predictor. Mixtures and zero-inflated distributions are not reduced to a one-component GLM merely because each component belongs to an exponential family.

6 Worked Comparison: One Binary Coefficient

Suppose a binary-condition model has intercept \(-2\) and coefficient \(0.7\). Under a logit link,

\[ p_0=\operatorname{logit}^{-1}(-2)\approx0.119, \qquad p_1=\operatorname{logit}^{-1}(-1.3)\approx0.214. \]

The odds ratio is constant at \(e^{0.7}\approx2.01\), but the risk difference for this covariate pattern is about \(0.095\) and the risk ratio is about \(1.80\). Neither is generally constant across other baseline risks.

With a complementary log–log link and the same numerical coefficients,

\[ p_0=1-\exp\{-e^{-2}\}\approx0.127, \qquad p_1=1-\exp\{-e^{-1.3}\}\approx0.239. \]

The coefficient still equals \(0.7\) on its link scale but no longer represents a log odds ratio. Comparing coefficient magnitudes across different links without translating to common outcome-scale contrasts is therefore misleading.

9 Bioinformatics Design and Interpretation

Suppose 80 independently sampled patients are assayed for whether a pathogen is detected. A Bernoulli GLM may relate the detection probability to treatment, collection time, and batch. Patients are the experimental units. Duplicate PCR wells are technical replicates that inform measurement error or can be combined by a prespecified calling rule; treating them as independent patients would artificially narrow uncertainty.

A logit link targets conditional odds ratios. A log link would target risk ratios but must keep fitted probabilities below one and can encounter boundary or convergence problems. A complementary log–log link may be motivated if detection records whether at least one event occurred during an underlying time or exposure interval. These alternatives encode different mean structures and interpretations; assay science and the target contrast should guide the choice.

Statistical evidence that a coefficient differs from zero is conditional on the family, link, covariates, independence level, and detection process. Biological importance additionally depends on baseline probability, absolute change, detection limits, clinical relevance, and reproducibility in independent specimens. Technical replication can characterize assay noise, but only biological replication supports population-level condition comparisons.

10 Connections and Take-home Messages

  1. Exponential-family cumulants generate the conditional mean and variance, so distributional choice determines more than outcome support.
  2. The link maps a constrained mean to an unconstrained linear predictor and defines the scale on which coefficients are additive.
  3. Canonical links offer mathematical convenience, not automatic scientific validity.
  4. Link-scale coefficients should be translated into outcome-scale contrasts at relevant covariate patterns.
  5. Family and link diagnostics must respect the true experimental units; deeper technical measurement does not create biological replication.

11 References

Back to top