Tutorials › Nonlinear Mixed-Effects Models (NLME) › Exponential Effects of Continuous Covariates

Functional Forms for Covariates · Tutorial 491 of 797

Exponential Effects of Continuous Covariates

Learn how an exponential covariate relationship preserves parameter positivity and how to translate its coefficient into proportional changes and predictions.

Intermediate 10 min read

What You'll Learn

  • Write an exponential covariate model for a positive parameter at a chosen reference covariate value.
  • Derive the model from a constant change in the log parameter per covariate unit.
  • Interpret the coefficient using an exact proportional-change formula.
  • Calculate predicted parameter values and percentage changes for specified covariate differences.
  • Distinguish typical parameter predictions from individual predictions that include random effects.
  • Identify assumptions, diagnostics, and limitations of the exponential form.

Why Use an Exponential Covariate Effect?

In an NLME model, a continuous covariate may be associated with a positive parameter such as clearance, volume, or an absorption rate constant. The model for that relationship should respect the parameter's scale. An additive linear relationship can predict negative values when extrapolated far enough, even when negative values are impossible for the parameter. An exponential relationship avoids that problem while allowing a covariate to change the parameter proportionally.

The key is to distinguish an absolute change from a proportional change. Under an exponential effect, each one-unit increase in the covariate multiplies the typical parameter by the same factor. The percentage change is therefore constant per covariate unit, while the absolute change depends on the parameter's current value.

Definition: Let \(x_i\) be a continuous covariate for individual \(i\), let \(x_{\mathrm{ref}}\) be a chosen reference value, and let \(\theta_{\mathrm{ref}}>0\) be the typical parameter value at that reference. An exponential covariate model is $$ \theta_i^{\mathrm{typ}}=\theta_{\mathrm{ref}}\exp\!\left(\beta(x_i-x_{\mathrm{ref}})\right), $$ where \(\beta\) is the change in the log typical parameter per one covariate unit. The typical value is the prediction with the individual random effect set to zero.

Because an exponential is always positive and \(\theta_{\mathrm{ref}}>0\), this model gives \(\theta_i^{\mathrm{typ}}>0\) for every finite covariate value. At \(x_i=x_{\mathrm{ref}}\), the exponent is zero and the prediction is exactly \(\theta_{\mathrm{ref}}\). Choosing a meaningful reference value makes that parameter interpretation direct.

The coefficient has reciprocal covariate units. For example, if \(x_i\) is measured in kilograms, \(\beta\) is measured per kilogram; the product \(\beta(x_i-x_{\mathrm{ref}})\) is dimensionless, as an exponential's argument must be. Changing the covariate's units changes the numerical value of \(\beta\), but not the model's predictions when the coefficient and covariate differences are converted consistently.

Deriving the Relationship and Interpreting Its Coefficient

An exponential covariate effect follows if the log parameter changes at a constant rate with the covariate. Write this assumption as

$$ \frac{d\log(\theta^{\mathrm{typ}})}{dx}=\beta. $$

Integrating from the reference value \(x_{\mathrm{ref}}\) to \(x\) gives the log change in the parameter:

$$ \log(\theta^{\mathrm{typ}}(x))-\log(\theta^{\mathrm{typ}}(x_{\mathrm{ref}})) =\int_{x_{\mathrm{ref}}}^{x}\beta\,du =\beta(x-x_{\mathrm{ref}}). $$

Since \(\theta^{\mathrm{typ}}(x_{\mathrm{ref}})=\theta_{\mathrm{ref}}\), exponentiating both sides yields \(\theta^{\mathrm{typ}}(x)=\theta_{\mathrm{ref}}\exp(\beta(x-x_{\mathrm{ref}}))\). This derivation states the shape assumption precisely: the log parameter has a straight-line relationship with \(x\), or equivalently, the proportional rate of change is constant over the modeled covariate range.

Interpretation: For a covariate increase of \(\Delta x\), the typical parameter ratio is \(\exp(\beta\Delta x)\), and its exact percentage change is $$ 100\left[\exp(\beta\Delta x)-1\right]\%. $$ For a one-unit increase, use \(\Delta x=1\). A positive \(\beta\) means the typical parameter increases with \(x\); a negative \(\beta\) means it decreases. The approximation \(100\beta\%\) per unit is useful only when \(\beta\) is small, and the exponential formula gives the exact change.

The ratio formulation also makes comparisons between any two covariate values straightforward. If the same model applies at \(x_a\) and \(x_b\), then

$$ \frac{\theta^{\mathrm{typ}}(x_b)}{\theta^{\mathrm{typ}}(x_a)} =\exp\!\left(\beta(x_b-x_a)\right). $$

The reference value cancels from this ratio. Thus, changing the reference can change the numerical interpretation of \(\theta_{\mathrm{ref}}\), but it does not change the predicted ratio between two covariate values or the slope \(\beta\), provided the model is otherwise unchanged.

Worked Example: A Decrease per Covariate Unit

Suppose the typical clearance is modeled as \(CL^{\mathrm{typ}}=5.0\exp[-0.120(x-70)]\) L/h, where \(x\) is weight in kilograms. Calculate the typical clearance at 80 kg and interpret the effect of a 10 kg increase from the reference.

The reference weight is 70 kg, and the specified difference is \(80-70=10\) kg. Substitution gives

$$ CL^{\mathrm{typ}}(80) =5.0\exp[-0.120(10)] =5.0\exp(-1.20) \approx5.0(0.3012) \approx1.506\ \text{L/h}. $$

The ratio relative to 70 kg is \(\exp(-1.20)\approx0.3012\). Thus, at 80 kg the predicted typical clearance is 30.12% of its reference value, a decrease of \(100(\exp(-1.20)-1)\approx-69.88\%\). This large change illustrates why a fitted coefficient and the covariate range should be examined together; a per-kilogram coefficient compounds over a 10 kg difference.

For a one-kilogram increase, the ratio is \(\exp(-0.120)=0.886920\). Therefore the percentage difference is \(100(0.886920-1)=-11.308\%\), or -11.31% (an 11.31% decrease) per kilogram. The exact percentage is not obtained by multiplying \(-0.120\) by 100.

Including Random Effects in an NLME Model

A covariate relationship describes systematic differences associated with \(x_i\); an NLME model can also represent unexplained between-individual variability. A common log-scale specification is

$$ \theta_i=\theta_{\mathrm{ref}}\exp\!\left(\beta(x_i-x_{\mathrm{ref}})+\eta_i\right), $$

where \(\eta_i\) is an individual random effect, often modeled as normally distributed with mean zero and variance \(\omega^2\). Setting \(\eta_i=0\) gives the typical prediction used to interpret \(\beta\). For two individuals with the same random effect, or for a comparison of typical values, a covariate difference \(\Delta x\) multiplies the parameter by \(\exp(\beta\Delta x)\).

When \(\eta_i\sim N(0,\omega^2)\), \(\theta_i\) is lognormally distributed conditional on \(x_i\). The typical prediction at \(\eta_i=0\) is the conditional median, not the conditional arithmetic mean. In fact, the latter is \(\theta_{\mathrm{ref}}\exp(\beta(x_i-x_{\mathrm{ref}})+\omega^2/2)\). This distinction matters when a question asks for a mean across individuals rather than the typical individual prediction.

Worked Example: Predicting a Typical Parameter at a Specified Covariate Value

For a hypothetical model, typical volume is \(V^{\mathrm{typ}}=40\exp[0.025(x-60)]\) L, where \(x\) is age in years. Find the typical volume at age 72 and the percentage difference from age 60.

The covariate difference is \(72-60=12\) years, so the exponent is \(0.025(12)=0.300\). Therefore,

$$ V^{\mathrm{typ}}(72) =40\exp(0.300) =40(1.3499) =53.996\ \text{L} \approx54.00\ \text{L}. $$

The ratio is 1.3499, so the predicted typical volume is \(100(1.3499-1)=34.99\%\) higher at age 72 than at age 60. This is a model-based comparison of typical values, not a claim that every individual aged 72 has a larger volume than every individual aged 60; individual random effects can produce substantial variability.

Checking the Form and Its Predictions

The exponential form is a modeling choice, not a consequence of positivity alone. It assumes a constant slope in log parameter across the covariate range. Before interpreting a fitted coefficient, check that the parameter is positive by definition and that this relationship is plausible over the observed range. The model can be positive everywhere and still describe the data poorly.

Useful checks include plotting individual or population prediction diagnostics against the covariate, examining residual patterns across the covariate range, and checking whether the fitted relationship is driven by a small or sparse region of the data. These checks should be considered alongside the model's overall fit and the available covariate support. A smooth-looking exponential curve does not make predictions outside the observed range reliable.

A systematic residual trend with \(x\), or a visible bend in the relationship between the parameter-related diagnostic and \(x\), may indicate that a constant log-scale slope is inadequate. Apparent patterns can also be hard to assess when covariates are correlated, subgroup data are sparse, or a few influential observations drive the estimated slope. Diagnostics identify concerns; they do not by themselves establish which alternative functional form is correct.

Worked Example: Translating a Coefficient Into a Prediction

Suppose a hypothetical typical rate constant is \(k^{\mathrm{typ}}=0.80\exp[0.060(x-50)]\) h\(^{-1}\), with \(x\) measured in centimeters. Calculate the prediction at 55 cm and the change from the reference.

Here \(\Delta x=55-50=5\) cm. The exponent is \(0.060(5)=0.300\), so

$$ k^{\mathrm{typ}}(55) =0.80\exp(0.300) =0.80(1.3499) =1.0799\ \text{h}^{-1} \approx1.080\ \text{h}^{-1}. $$

The ratio is 1.3499, and the exact percentage increase is \(100(1.3499-1)=34.99\%\) over the 5 cm difference. The per-centimeter percentage increase is \(100[\exp(0.060)-1]=6.1837\%\), approximately 6.184%. Multiplying 6% by five would give 30%, which is only an approximation and is not the exact cumulative change.

Choosing and Using the Exponential Form

Compared with an additive linear effect on the parameter scale, the exponential form has two central properties: it guarantees positive predictions for a positive reference parameter, and it expresses a constant proportional change per covariate unit rather than a constant absolute change. The additive form may be more appropriate when the scientific expectation is a constant absolute difference and predictions remain meaningful. The exponential form is more natural when proportional changes are plausible. Neither form should be selected solely because it is convenient to fit.

The exponential relationship is also limited. It cannot represent a changing log-scale slope, a plateau, or a turning point without additional structure. It can imply rapid increases or decreases over a wide covariate range, so extrapolation can become extreme even though predictions remain positive. Centering at a meaningful reference improves interpretation but does not repair a misspecified shape.

A common mistake is to report \(100\beta\%\) as the exact change per unit. For example, if \(\beta=-0.120\), this shortcut says -12.0%, but the exact change is \(100[\exp(-0.120)-1]=-11.31\%\). The correction is to exponentiate the coefficient, then subtract one. For a difference of more than one unit, exponentiate \(\beta\Delta x\), not just \(\beta\).

Key takeaway: For a positive parameter with an exponential continuous-covariate effect, use \(\theta^{\mathrm{typ}}(x)=\theta_{\mathrm{ref}}\exp(\beta(x-x_{\mathrm{ref}}))\). For a specified covariate difference \(\Delta x\), the predicted ratio is \(\exp(\beta\Delta x)\) and the exact percentage change is \(100[\exp(\beta\Delta x)-1]\%\).

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. A typical positive parameter is \(12\exp[0.040(x-25)]\) in its parameter units. What is the predicted ratio at \(x=30\) relative to \(x=25\), and what is the percentage change?
  2. For \(\beta=-0.080\) per unit, calculate the exact percentage change for a 1-unit increase. Is it exactly -8%?
  3. Explain why an exponential covariate effect guarantees positive typical predictions when the reference parameter is positive.
  4. In a model with a normally distributed random effect on the log scale, is the prediction at \(\eta_i=0\) the conditional mean or median of the parameter?
  5. Give one diagnostic sign that a constant log-scale slope may not adequately describe the covariate relationship.

Solutions. (1) The difference is \(30-25=5\), so the ratio is \(\exp[0.040(5)]=\exp(0.200)=1.2214\). The percentage change is \(100(1.2214-1)=22.14\%\). (2) The exact change is \(100[\exp(-0.080)-1]=100(0.9231-1)=-7.688\%\), not exactly -8%. (3) The exponential factor is positive for every finite covariate value; multiplying it by a positive reference parameter remains positive. (4) It is the conditional median; with log-scale variance \(\omega^2\), the conditional mean is larger by the factor \(\exp(\omega^2/2)\). (5) A systematic residual trend or bend in a covariate diagnostic can indicate that the log-scale relationship is not linear across the studied range.