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 = 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. By default, epsilon is set to be 0.0001.

maxiter

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

trace

an (optional) logical indicating if should the record of iterations be printed. By default, trace is set to be 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 Oct. 10, 2023, 9:06 a.m.