Description Usage Arguments Value Author(s) References See Also Examples
Box-Cox or power transformation or its inverse. For lambda!=0, the Box-Cox transformation of x is (x^lambda-1)/lambda, whereas the regular power transformation is simply x^lambda. When lambda=0, it is log in both cases. The inverse of the Box-Cox and the power transform can also be obtained.
1 |
x |
a vector or time series |
lambda |
power transformation parameter |
InverseQ |
if TRUE, the inverse transformation is done |
type |
either "BoxCox" or "power" |
A vector or time series of the transformed data
A.I. McLeod
Box, G. E. P. and Cox, D. R. (1964) An analysis of transformations. Journal of Royal Statistical Society, Series B, vol. 26, pp. 211-246.
1 2 3 4 5 6 7 8 9 10 |
Loading required package: lattice
Loading required package: leaps
Loading required package: ltsa
Loading required package: bestglm
[1] 2.82796e-12
[1] 8.753887e-12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.