BoxTidwell: Box-Tidwell transformations

View source: R/glms.R

BoxTidwellR Documentation

Box-Tidwell transformations

Description

Computes the Box-Tidwell power transformations of the predictors in a regression model.

Usage

BoxTidwell(
  object,
  transf,
  epsilon = 1e-04,
  maxiter = 30,
  trace = FALSE,
  digits = max(3, getOption("digits") - 2),
  ...
)

Arguments

object

a model fit object.

transf

an one-sided formula giving the predictors that are candidates for transformation.

epsilon

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.

maxiter

an (optional) positive integer value indicating the maximum number of iterations. By default, maxiter is set to 30.

trace

an (optional) logical indicating if should the record of iterations be printed. By default, trace is set to FALSE.

digits

an (optional) integer value indicating the number of decimal places to be used.

...

further arguments passed to or from other methods.

Value

Two matrices with the values of marginal and omnibus tests.


glmtoolbox documentation built on Sept. 11, 2024, 7:32 p.m.