|
Chapter Contents |
Previous |
Next |
| The TRANSREG Procedure |

This family of transformations of the positive dependent variable y is
controlled by the parameter
. Transformations linearly related
to square root, inverse, quadratic, cubic, and so on are all special
cases. The limit as
approaches 0 is the log transformation.
More generally, Box-Cox transformations of the following form can be fit:

By default, c = 0. The parameter c can be used to rescale y
so that it is strictly positive. By default, g = 1. Alternatively,
g can be
where
is the geometric mean
of y.
The new BOXCOX transformation in the TRANSREG procedure can be used to perform a
Box-Cox transformation of the dependent variable. You can specify a
list of power parameters using the LAMBDA= transformation option. By
default, LAMBDA=-3 TO 3 BY 0.25. The procedure chooses the optimal power
parameter using a maximum likelihood criterion (Draper and Smith 1981,
pp. 225-226). You can specify the PARAMETER=c transformation
option when you want to shift the values of y, usually to avoid
negatives. To divide by
, specify the
GEOMETRICMEAN transformation option. For example,
proc transreg;
model BoxCox(y / lambda=-2 to 2 by 0.1
parameter=2 geometricmean) =
identity(x1-x5);
output out=results;
run;
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.