R/powFit.R
powFit.Rd
Maximum likelihood estimation for the Generalized Box-Cox transformation.
powFit(x, alpha = NA, interval = c(-5, 5), ...)
x | Vector of random samples from target density. |
---|---|
alpha | Optional value of the offset parameter. |
interval | Range of |
... | Additional arguments to pass to |
Vector of length two containing the fitted and/or known values of (lambda, alpha)
.
The likelihood for optimization is
L(lambda, alpha | x) = prod(dnorm(z(x | lambda, alpha)) * |dz(x | lambda, alpha) / dx|)
,
where z(x | lambda, alpha)
is the Box-Cox transformation.