The one-parameter family of Box-Cox transformations
The one-parameter family of Box-Cox transformations
bctrans(y, lambda)
y |
A numeric, positive values assumed |
lambda |
The Box-Cox parameter |
Internal function. No error checking done. It is assumed the entries of y are positive.
bctrans
gives ((y^lambda)-1)/lambda
for lambda
not 0 or ln(y)
for lambda
equal to 0.
Daniel Reuman, reuman@ku.edu
Box, GEP and Cox, DR (1964) An analysis of transformations (with discussion). Journal of the Royal Statistical Society B, 26, 211–252.
Venables, WN and Ripley, BD (2002) Modern Applied Statistics with S. Fourth edition. Springer.
cleandat
, browseVignettes("wsyn")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.