Tutorials › Pharmacokinetic-Pharmacodynamic (PK/PD) Modeling › Additive and Proportional Residual Error for Emax Fits

Direct-Effect Models: Linear, Emax and Sigmoid Emax · Tutorial 30 of 598

Additive and Proportional Residual Error for Emax Fits

Learn to specify residual variance for continuous Emax responses, diagnose its pattern, and compare error models without confusing variance assumptions with the mean response model.

Intermediate 12 min read

What You'll Learn

  • Write additive, proportional, and combined residual-error models for a continuous Emax response.
  • Distinguish residuals from model errors and identify the units of each error parameter.
  • Use residual spread against fitted response to assess variance assumptions.
  • Explain how variance weighting can change estimated Emax parameters.
  • Compare error models using the Gaussian likelihood and AIC on the same observations.
  • Recognize why weighted squared residuals alone do not define a likelihood comparison.

Why the Residual-Error Model Matters

An Emax curve specifies how the mean response changes with concentration. It does not, by itself, say how individual observations vary around that curve. That second part is the residual-error model. It matters because observations with different expected variability should not necessarily have equal influence on parameter estimates. A variance model that does not match the data can distort both the apparent precision of observations and the fitted curve.

Let \(Y_i\) be the continuous response observed at concentration \(C_i\), and let \(\mu_i=f(C_i;\theta)\) be the model-predicted mean, where \(\theta\) contains the Emax mean-model parameters. For example, a baseline-relative direct Emax mean model can be written as \(\mu_i=E_0+E_{\max}C_i/(EC_{50}+C_i)\). The residual is \(e_i=Y_i-\mu_i\). It is an observed difference after fitting; the error is the unobserved random deviation assumed by the model.

Definition: A residual-error model specifies the distribution of \(Y_i\) around its mean \(\mu_i\), including how its variance depends on the response level. In the models below, observations are conditionally independent given their concentrations and model parameters, and the errors are normally distributed with mean zero. Thus \(Y_i\mid C_i\sim N(\mu_i,V_i)\), where \(V_i\) is specified by the chosen error model.

Three Common Variance Structures

In an additive error model, variability is constant on the response scale. In a proportional error model, the standard deviation increases in proportion to the predicted response magnitude. A combined model allows both a constant variance component and a response-dependent component.

$$ \begin{aligned} \text{Additive:}\quad &Y_i=\mu_i+\epsilon_i,\qquad \epsilon_i\sim N(0,\sigma_{\text{add}}^2),\qquad V_i=\sigma_{\text{add}}^2,\\ \text{Proportional:}\quad &Y_i=\mu_i(1+\eta_i),\qquad \eta_i\sim N(0,\sigma_{\text{prop}}^2),\qquad V_i=\sigma_{\text{prop}}^2\mu_i^2,\\ \text{Combined:}\quad &Y_i=\mu_i+\epsilon_i+\mu_i\eta_i,\qquad V_i=\sigma_{\text{add}}^2+\sigma_{\text{prop}}^2\mu_i^2. \end{aligned} $$

The combined formula assumes that \(\epsilon_i\) and \(\eta_i\) are independent, mean-zero normal terms. The additive standard deviation \(\sigma_{\text{add}}\) has the same units as the response; \(\sigma_{\text{prop}}\) is dimensionless. A proportional model is most naturally interpreted when predicted means are positive and the response scale has a meaningful zero. If predictions can be negative or a zero is arbitrary, proportional error on the raw response scale may not be scientifically appropriate.

These are assumptions about variation around the mean curve, not alternative Emax mean models. For instance, changing from additive to combined error does not add an Emax term or change the definition of \(EC_{50}\). It can, however, change the estimated mean-model parameters because the fitting procedure gives observations different relative weights.

Worked Example: Calculating Variance Under Each Model

Suppose a hypothetical Emax fit predicts responses of 2 and 10 response units at two concentrations. Consider an additive standard deviation of 1.5 response units and a proportional standard deviation of 0.20.

Under the additive model, both observations have variance \(1.5^2=2.25\), in squared response units. The standard deviation is 1.5 at both predicted means.

Under the proportional model, the standard deviations are \(0.20(2)=0.40\) and \(0.20(10)=2.0\) response units. The corresponding variances are \(0.40^2=0.16\) and \(2.0^2=4.00\).

Under the combined model, the variances are \(2.25+0.16=2.41\) at predicted mean 2 and \(2.25+4.00=6.25\) at predicted mean 10. The standard deviations are \(\sqrt{2.41}=1.552\) and \(\sqrt{6.25}=2.50\) response units. The combined model therefore retains a nonzero variability floor at low response while allowing additional spread as the response increases.

Likelihood, Weighting, and the Mean-Parameter Estimates

For independent normal observations, the log likelihood is obtained by multiplying the observation densities and taking the logarithm. Apart from no omitted terms, it is

$$ \ell(\theta,\psi) =-\frac{1}{2}\sum_{i=1}^{n} \left[ \log(2\pi V_i)+\frac{(Y_i-\mu_i)^2}{V_i} \right], $$

where \(\psi\) denotes the error-model parameter or parameters. This expression has two parts for each observation: a squared residual divided by its variance, and a log-variance penalty. When the variances are fixed, maximizing the likelihood is equivalent to minimizing a weighted sum of squared residuals, with weight \(1/V_i\). When variance parameters are estimated, the log-variance term is essential: making every variance very large reduces the residual penalty but is penalized by \(\log(V_i)\).

Because \(V_i\) can depend on \(\mu_i\), and \(\mu_i\) depends on \(\theta\), the mean parameters and error parameters are generally estimated jointly. Under proportional error, a large predicted mean implies a larger variance and therefore a smaller weight for the same squared residual. Under additive error, observations have equal variance and equal weight. Neither weighting rule is universally preferable: the relevant question is which variance assumption is credible for the response and supported by the observed residual pattern.

Justification: For a fixed set of predictions and variances, the contribution of observation \(i\) to the negative log likelihood is \(\tfrac{1}{2}\{ \log(2\pi V_i)+e_i^2/V_i\}\). The squared residual is therefore scaled by \(1/V_i\), but the likelihood also accounts for the size of \(V_i\) itself. Consequently, comparing models using only their weighted residual sums can favor a model that inflates its variances; the full likelihood avoids that omission.

Worked Example: Reading a Residual Pattern

In a hypothetical study, an Emax mean model is fitted to continuous responses. At predicted means of 2, 5, and 10 response units, the observed residuals are respectively \(-0.3, 0.4, -0.2\); \(-1.4, 1.1, 0.8\); and \(-2.8, 3.2, -2.5\) response units.

At predicted mean 2, the residual magnitudes are around 0.2–0.4 units; at 10 they are around 2.5–3.2 units. The spread visibly increases with fitted response. That pattern is inconsistent with a simple constant-standard-deviation description as a first approximation, and is compatible with proportional variation or a combined model. The residuals have both signs at each level, so this small illustration does not show an obvious directional mean bias.

For a proportional model with \(\sigma_{\text{prop}}=0.25\), the model-predicted standard deviations at means 2, 5, and 10 are \(0.25(2)=0.50\), \(0.25(5)=1.25\), and \(0.25(10)=2.50\) response units. Dividing residuals by these standard deviations gives standardized residuals. For example, the residual 3.2 at mean 10 becomes \(3.2/2.50=1.28\). The raw residual looks large relative to the residual 0.4 at mean 2, but it is not large relative to the proportional model's predicted spread.

This is a diagnostic illustration, not a formal selection by itself. A few observations cannot establish the correct variance structure; the pattern should be assessed across the full data and alongside the fitted likelihood.

Comparing Error Models

A likelihood comparison is meaningful only when models use the same response observations and the same likelihood convention. A common summary is the Akaike information criterion, \(AIC=-2\ell_{\max}+2k\), where \(\ell_{\max}\) is the maximized log likelihood and \(k\) is the number of estimated parameters, including variance parameters. Lower AIC indicates a better trade-off between fit and parameter count among the candidates compared; it is not a probability that a model is true.

The additive and proportional models each have one variance parameter, while the combined model has two. The mean-model parameters are counted in all three. Using maximum likelihood is important for AIC comparisons: restricted maximum likelihood values are not directly comparable in the usual way when the fixed-effect mean structure differs. A likelihood-ratio test can sometimes compare nested models, but inference requires its regularity conditions. Here, setting one variance component to zero places the parameter on a boundary, so the usual reference chi-square distribution may not apply directly. AIC provides a practical comparison without claiming that an ordinary likelihood-ratio test is automatically valid.

Worked Example: Comparing Candidate Error Models by AIC

Suppose three Gaussian likelihood fits to the same hypothetical set of 12 concentration-response observations use the same Emax mean form. The maximized log likelihoods are \(-22.1\) for additive error, \(-20.8\) for proportional error, and \(-18.2\) for combined error. The mean model has three parameters. Thus the total parameter counts are 4, 4, and 5, respectively.

For additive error, \(AIC=-2(-22.1)+2(4)=44.2+8=52.2\).

For proportional error, \(AIC=-2(-20.8)+2(4)=41.6+8=49.6\).

For combined error, \(AIC=-2(-18.2)+2(5)=36.4+10=46.4\). Among these candidates, combined error has the lowest AIC, even after its extra variance parameter is penalized. This supports it as the preferred description among the three fitted alternatives for these data, not as proof that the variance mechanism is literally combined in the population.

How Error Assumptions Can Move an Emax Fit

When an error model changes observation weights, it can move the fitted mean curve, not merely its estimated standard error. This is especially relevant when low- and high-concentration observations have different response magnitudes. Under additive error, a residual of 2 response units has the same squared-residual contribution at either level if the variance is constant. Under proportional error, the same raw residual can be much more influential at a low predicted mean, where the model expects less variability.

Worked Example: The Same Residual Has Different Weight

Consider a hypothetical response with an additive standard deviation of 1 response unit, or, alternatively, a proportional standard deviation of 20%. Compare two observations with the same residual, \(e_i=2\) response units, one at a predicted mean of 2 and one at a predicted mean of 10.

Under additive error, each has variance 1, so each squared-residual contribution \(e_i^2/V_i\) is \(2^2/1=4\).

Under proportional error, the variances are \((0.20\times2)^2=0.16\) and \((0.20\times10)^2=4\). The contributions are \(2^2/0.16=25\) at mean 2 and \(2^2/4=1\) at mean 10. Thus the low-mean observation has 25 times the weighted squared-residual contribution of the high-mean observation under this proportional model. This calculation explains why fitting the same Emax mean form under different error assumptions can produce different parameter estimates: the procedure is optimizing a different likelihood.

Diagnostics, Limitations, and Common Pitfalls

A useful first check is a plot of residuals against fitted response, with concentration also considered because the Emax mean changes systematically with concentration. Roughly constant vertical spread supports additive error. A widening fan as fitted response increases is compatible with proportional error. Spread that widens at higher response but remains substantial near low response can support combined error. These patterns are clues rather than proofs; mean-model misspecification can also produce structured residuals.

Residuals that are mostly positive in one concentration region and mostly negative in another suggest the mean curve may be inadequate, rather than merely indicating the wrong variance model. A variance model cannot repair a systematically wrong Emax mean. Conversely, a fan-shaped spread does not by itself establish proportional error: a few influential observations, response transformations, or unmodeled subgroups may produce similar appearances. Check whether estimated standard deviations are plausible on the response scale, and whether standardized residuals have a more stable spread under the proposed model.

The normality and conditional-independence assumptions also matter to the likelihood above. Strong skewness, outliers, repeated measurements with within-subject correlation, or censoring may require a different observation model. The three structures described here address heteroscedasticity; they do not solve dependence, response-scale problems, or an unsuitable mean curve. A combined model is more flexible, but its additional variance parameter can be weakly estimated when the data do not cover a broad response range.

  • Pitfall: “The high-concentration residuals are larger, so the Emax mean model must be wrong.” Correction: larger raw residuals may be expected if variance increases with response. Assess spread relative to the variance predicted by the candidate error model, while separately checking for directional residual patterns.
  • Pitfall: “The smallest weighted sum of squares identifies the best error model.” Correction: a likelihood for estimated variances includes both the scaled squared residuals and the log-variance terms. Compare maximized likelihoods or an appropriate information criterion, not weighted sums alone.
  • Pitfall: “A proportional error model is suitable for any response because it is relative.” Correction: proportional error depends on the response zero and usually assumes positive predicted means. Check that this scale-based interpretation is scientifically meaningful.
Key takeaway: The Emax mean model describes the expected concentration-response curve; the residual-error model describes how variability changes around it. Specify both, inspect residual spread in context, and compare candidate variance structures using the full likelihood on the same observations.

Check Your Understanding

Answer each question, then compare with the brief solutions below.

  1. A predicted response is 8 units and the proportional standard deviation is 0.15. What are the predicted standard deviation and variance?
  2. What pattern in residuals against fitted response is compatible with additive error? What pattern suggests proportional variability?
  3. Why can changing from additive to proportional error change Emax parameter estimates?
  4. Two models use the same observations and have maximized log likelihoods \(-30\) and \(-27\). Their parameter counts are 4 and 6, respectively. Calculate both AIC values and identify the lower-AIC model.

Solutions. 1. The standard deviation is \(0.15(8)=1.20\) response units; the variance is \(1.20^2=1.44\) squared response units. 2. Additive error is compatible with roughly constant residual spread; proportional variability is compatible with spread increasing as fitted response increases. 3. The variance model changes the likelihood weights \(1/V_i\), so observations can exert different influence on the estimated mean curve. 4. The first AIC is \(-2(-30)+2(4)=68\); the second is \(-2(-27)+2(6)=66\). The second has lower AIC among the two, despite using two additional parameters.

Clinical Biostats