21.19 Back-transformation for log-DV models
When a model is fitted to ln(DV) or log10(DV), diagnostic plots on the fitted scale can be mathematically appropriate but unfamiliar clinically. --gof-back-transform exp or exp10 transforms DV, PRED, and IPRED for GOF figures to the original scale. It does not refit the model, change predictions.csv, or transform CWRES and IWRES.
nlmx fit run101.ctl --plots --gof-back-transform exp
Filtering occurs before back-transformation, so a filter expression refers to stored fit-scale DV/PRED/IPRED values. The figure caption records the transformation. Preserve that caption or reproduce its content in a manuscript.
Back-transforming a log-scale mean has statistical consequences. exp(E[log Y]) is generally a geometric-scale quantity and not automatically E[Y]; residual variance creates a Jensen-effect distinction. Therefore, identity alignment on a back-transformed plot should be interpreted according to the model’s estimand and error structure. Do not apply an undocumented bias correction.
Residuals remain on the fit scale because their standardization and reference distribution were defined there. A custom original-scale residual can answer another question, but it must be defined explicitly and should not be labeled CWRES or IWRES.
Use exp only for natural logs and exp10 only for base-10 logs. A wrong inverse can produce visually dramatic but meaningless plots.
Common mistakes
- Describing back-transformation as refitting on concentration scale.
- Transforming residuals as if they were predictions.
- Ignoring geometric-versus-arithmetic mean interpretation.
- Filtering with original-scale cutoffs when values are stored on log scale.
- Using
expfor a log10 model.
Checklist
- Confirm the fitted log base and inverse.
- State which quantities are transformed.
- Interpret the prediction estimand correctly.
- Keep residual diagnostics on their defined scale.
- Preserve transformation details in captions and reports.
Further reading
Continue with log axes, filtering, and Chapter 20’s GOF option reference.