boxcox

mpsci.stats.boxcox(x, lmbda)

Box-Cox transformation of x.

The Box-Cox transformation is

\[\begin{split}f(x; \lambda) = \begin{cases} \log(x) & \textrm{if} \; \lambda = 0 \\ \frac{x^{\lambda} - 1}{\lambda} & \textrm{if} \; \lambda \ne 0 \end{cases}\end{split}\]

See also: inv_boxcox(), boxcox1p()