TBS(resp, pred, lambda)
pred
has a
gradient
attribute,
the returned object will also have a
gradient
attribute.
> Box.Cox
function(y, lambda)
if(lambda == 0) log(y) else (y^lambda - 1)/lambda
and can be used to stabilize the variance in a nonlinear regression
model.
Box, G. E. P. and Cox, D. R. (1964).
The analysis of transformations.
Journal of the Royal Statistical Society, Series
26, 211-252.
Carroll, R. J. and Ruppert, D. (1988).
Transformation and Weighting in Regression.
London: Chapman and Hall.