optimBoxCox | R Documentation |
Computes Box-Cox transformations that maximimize the log likelihood of the transformations.
optimBoxCox(X, start = NULL)
X |
a data frame or matrix of the data to find the optimized Box-Cox transforms to produce multivariate normality. Can also be a numeric vector for a simple Box-Cox transform to normality. |
start |
a numeric vector of length matching the number of columns in |
An object of class "optimBoxCox" having these components:
start |
the starting values for the Box-Cox transformations. |
criterion |
the log-likelihood of the Box-Cox transformations. |
names |
the names of the columns. |
lambda |
the values of the Box-Cox transformations. |
stderr |
the standard errors of the Box-Cox transformations. |
return.code |
the convergence value returned by |
gm |
the geometric means of the data in |
data |
the data in |
The maximum likelihood estimate of the Box-Cox transformations corresponds to the
minimum determinant of the variance-covariance matrix of the transformed X
. The
methodology is described in Andrews and others (1971).
Andrews, D.F., Gnanadesikan, R., and Warner, J.L., 1971, Transformations of multivariate data: Biometrics, v. 27, p. 825–840.
boxCox
, optim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.