Why express a binary covariate as a ratio?
A binary covariate divides individuals into two groups, such as treatment versus control or impaired versus unimpaired renal function. In a nonlinear mixed-effects model, the covariate can alter a positive structural parameter by multiplying its reference value. This is useful when a proportional change is more plausible than an equal absolute change: an increase of 1 L/h in clearance, for example, has a different relative meaning at 2 L/h than at 20 L/h.
The key distinction is between a change in a model parameter and a change in the response predicted by the model. A parameter multiplier is an exact ratio for that parameter. The corresponding response ratio depends on how the parameter enters the structural model and can vary with time, dose, and other parameter values.
The parameter must be positive for this exponential form, which is natural for quantities such as clearance, volume, and rate constants. With \(\eta_i=0\), the typical parameter is \(P_{\mathrm{ref}}\) when \(z_i=0\), and \(P_{\mathrm{ref}}\exp(\beta)\) when \(z_i=1\). Thus, \(\beta\) itself is a log ratio, not a difference in the original parameter units.
Deriving the log-scale coefficient
First consider the typical parameter, setting the individual random effect to zero. Denote the typical parameters in the two groups by \(P_0\) and \(P_1\). Substitution of the two binary values gives
Dividing the comparison-group parameter by the reference-group parameter cancels the reference value. Taking logarithms then isolates the coefficient:
This is the central interpretation: exponentiating the coefficient gives a ratio, while the coefficient is the natural logarithm of that ratio. A ratio above 1 means the typical parameter is larger in the comparison group; a ratio below 1 means it is smaller. The percentage change relative to the reference group is \(100\{\exp(\beta)-1\}\%\). A negative coefficient therefore corresponds to a decrease, not a negative parameter.
When \(\eta_i\sim N(0,\omega^2)\), the parameter is lognormally distributed. The typical parameter \(P_{\mathrm{ref}}\exp(\beta z_i)\) is its median, not its arithmetic mean. The arithmetic mean is \(P_{\mathrm{ref}}\exp(\beta z_i+\omega^2/2)\); if the same \(\omega^2\) applies to both groups, its comparison-to-reference ratio is still \(\exp(\beta)\). These statements concern the parameter distribution. They do not imply that the mean of a nonlinear response is obtained by simply substituting the mean parameter into the structural model.
Worked Example: Turning a Clearance Ratio Into a Coefficient
Suppose a hypothetical NLME model uses \(z=0\) for the reference group and \(z=1\) for a comparison group. The typical reference clearance is 5.00 L/h, and the comparison-group clearance is modeled as 25.0% higher. Find the multiplier, the coefficient, and both typical clearances.
A 25.0% increase means the comparison-to-reference ratio is \(1+0.250=1.250\). Therefore,
The typical clearances are \(CL_0=5.00\) L/h and \(CL_1=5.00\exp(0.2231)\) L/h. Using the unrounded multiplier, \(CL_1=5.00(1.250)=6.25\) L/h. The comparison group’s typical clearance is 1.25 times the reference value, or 25.0% higher. The coefficient is dimensionless because it is a logarithm of a ratio of clearances with the same units.
Worked interpretations and prediction consequences
A fitted coefficient is often reported with uncertainty. Because the coefficient is on the log-ratio scale, an interval for \(\beta\) should be exponentiated at both endpoints to obtain an interval for the parameter ratio. The resulting ratio interval is generally asymmetric, even when the coefficient interval is symmetric.
Worked Example: Interpreting an Estimated Ratio and Its Interval
In a hypothetical model, the estimated log-scale coefficient for a binary covariate is \(\hat{\beta}=0.2231\), with estimated standard error \(SE=0.0800\). Use a large-sample 95% Wald interval to interpret the parameter ratio. Assume the coefficient estimate is approximately normal with the stated standard error.
The estimated ratio is \(\exp(0.2231)=1.250\), so the estimated typical parameter is 25.0% higher in the comparison group. The coefficient-scale interval is
Exponentiating the endpoints gives a 95% interval for the comparison-to-reference parameter ratio:
Under the stated Wald approximation, the data are compatible with a typical parameter about 1.069 to 1.462 times as large in the comparison group, corresponding to increases of about 6.9% to 46.2%. The interval excludes 1, the ratio representing no group difference. This interval describes the uncertainty of the estimation procedure; it is not a 95% probability that the fixed parameter lies within this particular computed interval.
A parameter ratio is not automatically the ratio of predicted concentrations, effects, or other responses. The response function may depend nonlinearly on the parameter. The following calculation checks this distinction using a simple one-compartment intravenous bolus model with elimination.
Worked Example: A Clearance Ratio Does Not Equal a Concentration Ratio
Consider a hypothetical one-compartment model after a 100 mg intravenous bolus, with volume \(V=20.0\) L. Let the typical reference clearance be 5.00 L/h, and let the comparison-group clearance be 25.0% higher. Calculate the predicted concentration at 4.00 h in each group, assuming all other parameters are the same and ignoring residual error and individual random effects.
For this model, \(C(t)=(\mathrm{Dose}/V)\exp(-CL\,t/V)\). The initial concentration factor is \(100/20.0=5.00\) mg/L. In the reference group,
The comparison clearance is \(CL_1=5.00(1.250)=6.25\) L/h, so
The predicted difference is \(1.432-1.839=-0.407\) mg/L, using the displayed rounded predictions. The concentration ratio, calculated from the unrounded model values, is
Thus, at 4.00 h the comparison-group prediction is about 0.7788 times the reference prediction, a decrease of about 22.12%. This is not the clearance ratio of 1.250: increased clearance reduces concentration in this model, and the size of the concentration difference depends on time. At time zero the concentrations are equal; at later times the ratio changes according to the model.
Model checks, alternatives, and limitations
A multiplicative binary effect is a modeling choice, not a consequence of having two groups. It is appropriate when a constant parameter ratio is scientifically plausible and the parameter is positive. The fitted model should still be checked against the data and the model assumptions. Useful checks include:
- Compare observed and model-predicted profiles separately by covariate group. Systematic overprediction in one group and underprediction in the other can indicate a misspecified group effect.
- Inspect residual patterns across time, dose, and the binary groups. A group-specific pattern may point to an effect on another parameter or to a structural-model problem rather than the assumed multiplicative effect.
- Check whether the parameter and coefficient are estimated with reasonable precision. Sparse data in one group, little overlap in dosing or covariates, or strong parameter correlations can make the ratio unstable.
- Assess whether the random-effect distribution is plausibly comparable between groups. A fixed-effect ratio alone does not describe differing variability or group-specific random-effect distributions.
- Check the coding and units. The reference group must actually be coded 0, and both group parameter values must refer to the same parameter and units.
There are alternatives. An additive effect \(P_i=P_{\mathrm{ref}}+\delta z_i\) represents a constant difference \(\delta\) in parameter units; it may be reasonable when absolute differences are the scientific target, but it can predict nonpositive values for a positive parameter. Separate group-specific parameter estimates allow the group values to be unrelated, but use more parameters and may be imprecise with limited data. A multiplicative model is parsimonious because it uses one coefficient to express a relative shift. The earlier material on exponential effects of continuous covariates uses the same log-scale logic, but here the binary indicator gives exactly two group values rather than a continuously varying trend.
The binary model also has limits. It assumes the same ratio for every individual, conditional on the modeled random effects, and does not by itself explain why groups differ. An estimated covariate effect is an adjusted model comparison, not proof that group membership causes a parameter change. If the binary covariate was created by dividing a continuous measurement into categories, the resulting two-group effect also discards information within each category. Finally, a good parameter-level fit does not guarantee that every prediction or clinical consequence has the same proportional change; calculate predictions from the complete structural model for the conditions of interest.
Check Your Understanding
Answer each question, then compare with the short solutions below.
- A positive parameter has a comparison-to-reference ratio of 0.80. What is the log-scale coefficient, and what percentage change does it represent?
- If the binary coding is reversed so that the former comparison group is coded 0, what happens to the coefficient and ratio?
- For \(P_i=P_{\mathrm{ref}}\exp(\beta z_i+\eta_i)\), identify the typical parameter in each group when \(\eta_i=0\).
- Why can a parameter ratio of 1.25 not be interpreted as a 25% increase in every predicted response?
- In the one-compartment bolus model from the worked prediction example, what is the comparison-to-reference concentration ratio at time zero?
Solutions. (1) \(\beta=\log(0.80)=-0.2231\). The parameter change is \(100(0.80-1)=-20.0\%\), a 20.0% decrease. (2) The ratio becomes the reciprocal, \(1/0.80=1.25\), and the coefficient changes sign to \(-\log(0.80)=0.2231\); the group comparison is the same with its direction reversed. (3) The reference typical parameter is \(P_{\mathrm{ref}}\); the comparison typical parameter is \(P_{\mathrm{ref}}\exp(\beta)\). (4) A nonlinear structural model transforms parameters into responses, so the response ratio can depend on time, dose, and other parameters. (5) At time zero both group concentrations equal \(\mathrm{Dose}/V\), so the ratio is 1.