When a predicted mean response on a transformed scale is converted back to its original scale, the predicted mean becomes the predicted median. A correction is applied to the back-transformed prediction so it correctly predicts the mean, rather than the median. This correction may be toggled on/off by clicking Edit > Preferences > Math Analysis > Correct biased predictions of mean.
Use the predicted mean for making inferences and prediction about your process.
Consider the case where we transform the response data, \(y_i\), using some transformation \(f\) to ensure the normality of the residuals,
We fit this new, transformed data to a model, resulting in transformed scale, least squares estimates for the variance, \(\sigma_z^2\), and response mean function, \(z(A,B,...)\), as a function of the factors in the model, \(A, B,...\),
Because the normal distribution is a symmetric distribution, the response mean function is also the median function – the mean and median are the same on the transformed scale.
Note
It is important to verify that the model assumptions – normality of residuals, constant variance, and independence – have been achieved after transformation, and perhaps even more so when relying on original scale mean bias correction.
To obtain the median on the original scale, apply the inverse transformation \(f^{-1}\) to the mean function on the transformed scale,
On the original scale, the mean and median are not the same. To obtain an estimate of the mean on the original scale, we can use an approximation involving the second derivative (curvature) of the inverse transformation and the mean squared error from the regression. To first order in the mean square error, \(\hat{\sigma}_{z}^2\),
Consider the transformation,
In that case, the inverse transformation and its derivatives are,
Therefore, on the original scale,
Note
Remember that \(\hat{z} = \hat{z}(A,B,...)\), \(\hat{m}_y =\hat{m}_y(A,B,...)\), and \(\hat{y} = \hat{y}(A,B,...)\) are functions of the factor settings and change with the different values for A, B,…
Logarithmic tranformations for log normal data are a special case where the mean function on the original scale can be computed exactly (Finney 1941). For these transformations,
Here, \(a\) controls the base of the logarithm. For the natural log transformation, \(a = \log_e(e) = \ln{e} = 1\). For the log base-10 transformation, \(a = \ln{10}\). This gives two sets of equations, depending on the type of logarithm transformation used,
For natural logarithm transformation the median and mean are,
For log base 10 logarithm transformations,
Suppose that the transformation is the base-10 logarithm, \(z = f(y) = log_{10}(y)\), as in the image displayed at the top of this help entry. We wish to calculate the mean on the original scale at the point (B=1,C=1,D=1) in the design (the factor A was not in the model for this example).The least square estimates for the mean square error and mean function on the transformed scale are,
So the mean (and median) on the transformed scale at the desired point is,
The original transformation is the base-10 logarithm so we use,
The mean bias correction is approximately \(13.32-13.25 = 0.07\) in this case.
References
D. J. Finney. On the distribution of a variate whose logarithm is normally distributed. Journal of the Royal Statistical Society Supplement, 7:155–161, 1941.
D. Miller. Reducing transformation bias in curve fitting. The American Statistician, 38(2):124–126, 1984.
G.W. Oehlert. A note on the delta method. American Statistician, 46:27–29, 1992.