# box.tidwell

From car v0.8-3
by John Fox

##### Box-Tidwell Transformations

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

##### Usage

```
box.tidwell(y, ...)
box.tidwell.formula(formula, other.x=NULL, data=NULL, subset,
na.action=options()$na.action, verbose=F, tol=0.001,
max.iter=25, ...)
box.tidwell.default(y, x1, x2=NULL, max.iter=25, tol=0.001,
verbose=F, ...)
```

##### Arguments

- formula
- two-sided formula, the right-hand-side of which gives the predictors to be transformed.
- other.x
- one-sided formula giving the predictors that are
*not*candidates for transformation, including (e.g.) factors. - data
- an optional data frame containing the variables in the model.
By default the variables are taken from the environment from which
`box.tidwell`

is called. - subset
- an optional vector specifying a subset of observations to be used.
- na.action
- a function that indicates what should happen when the data contain
`NA`

s. The default is set by the`na.action`

setting of`options`

. - verbose
- if
`TRUE`

a record of iterations is printed. - tol
- if maximum relative change in coefficients is less than
`tol`

then convergence is declared. - max.iter
- maximum number of iterations.
- y
- response variable.
- x1
- matrix of predictors to transform.
- x2
- matrix of predictors that are
*not*candidates for transformation. - ...
- not for the user.

##### Details

The maximum-likelihood estimates of the transformation parameters are computed by Box and Tidwell's (1962) method, which is usually more efficient than using a general nonlinear least-squares routine for this problem. Score tests for the transformations are also reported.

##### Value

- an object of class
`box.tidwell`

, which is normally just printed.

##### References

Box, G. E. P. and Tidwell, P. W. (1962)
Transformation of the independent variables.
*Technometrics* **4**, 531-550.
Fox, J. (1997)
*Applied Regression, Linear Models, and Related Methods.* Sage.

*Documentation reproduced from package car, version 0.8-3, License: GPL version 2 or newer*

### Community examples

Looks like there are no examples yet.