Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bctrans

The one-parameter family of Box-Cox transformations


Description

The one-parameter family of Box-Cox transformations

Usage

bctrans(y, lambda)

Arguments

y

A numeric, positive values assumed

lambda

The Box-Cox parameter

Details

Internal function. No error checking done. It is assumed the entries of y are positive.

Value

bctrans gives ((y^lambda)-1)/lambda for lambda not 0 or ln(y) for lambda equal to 0.

Author(s)

Daniel Reuman, reuman@ku.edu

References

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.

See Also

cleandat, browseVignettes("wsyn")


wsyn

Wavelet Approaches to Studies of Synchrony in Ecology and Other Fields

v1.0.3
GPL-3
Authors
Daniel C. Reuman [aut, cre], Thomas L. Anderson [aut], Jonathan A. Walter [aut], Lei Zhao [aut], Lawrence W. Sheppard [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.