Let be record time and let contain standardized climb and distance. Model 1 is the normal linear model
Model 2 applies the same model after a logarithmic transformation:
so is conditionally log-normal. Model 3 is a Gamma regression with logarithmic link:
Model 1's residuals have a systematic curved pattern and a spread that grows strongly with fitted time. This indicates an incorrect linear mean on the original scale and heteroscedasticity; several observations are also influential or outlying. The constant-variance assumption is therefore implausible.
Logging time greatly stabilizes the spread and removes most of the mean pattern, so model 2 is much more compatible with constant conditional variance and linearity. A few conspicuous residuals remain. A residual-versus-fitted plot alone does not check independence or fully establish normality.
For a likelihood with estimated parameters, the Akaike information criterion is
where is the maximum-likelihood estimator. Among likelihoods for the same observed response and reference measure, smaller AIC estimates smaller expected out-of-sample Kullback-Leibler divergence up to a model-independent constant.
The printed values appear to favor model 2 because . They are not directly comparable: model 2 reports the Gaussian likelihood of , whereas model 3 reports a density for . The change-of-variables formula for a probability density gives
so the transformed model's AIC on the original response scale is
Because the standardized predictors have zero sample means and the ordinary-least-squares residuals sum to zero,
Therefore
which is slightly worse than model 3's .
The ordinary least squares equations for model 2 are
For the Gamma generalized linear model, and , so its score equation under the logarithmic link is
When is close to ,
by the first-order Taylor expansion of the exponential function. The Gamma score equations then become the model-2 normal equations, so their coefficient estimates are close.
Model 3 directly specifies the conditional mean and variance of the positive response on its observed scale. Its coefficients give multiplicative effects on mean record time, its prediction intervals concern time itself, and its likelihood can be compared directly with other original-scale models.
Model 2 instead models the mean of . Back-transformation does not give the mean time without a retransformation bias correction; for a log-normal model, . The Gamma model also represents the increasing original-scale variance seen in the diagnostic plot, so it is preferable here.

Articles by others on the same topic (0)

There are currently no matching articles.