Computes the Box-Tidwell power transformations of the predictors in a regression model.
BoxTidwell(
object,
transf,
epsilon = 1e-04,
maxiter = 30,
trace = FALSE,
digits = max(3, getOption("digits") - 2),
...
)
Two matrices with the values of marginal and omnibus tests.
a model fit object.
an one-sided formula giving the predictors that are candidates for transformation.
an (optional) numerical value. If the maximum relative change in coefficients is less than epsilon, then convergence is declared. As default, epsilon is set to 0.0001.
an (optional) positive integer value indicating the maximum number of iterations. By default, maxiter is set to 30.
an (optional) logical indicating if should the record of iterations be printed. By default,
trace is set to FALSE
.
an (optional) integer value indicating the number of decimal places to be used.
further arguments passed to or from other methods.