Two-Variable Transformations

Figure 32.20 shows the transformations that are available when you select Two Variable from the Family list. The two-variable transformations are used to compute a new variable from standard arithmetic operations on two variables. The arithmetic is performed for each observation. Equations for these transformations are given in Table 32.8.

Figure 32.20: Two-Variable Transformations


Table 32.8: Description of Two-Variable Transformations

 

Default

Name of

 

Transformation

Parameter

New Variable

Equation

Y*X

 

Mult_Y_X

$Y X$

Y/X

 

Div_Y_X

$Y / X$

a*X+b*Y

$a=1, b=1$

Linear_Y_X

$a X+b Y$