Skip to main content

Transform

Creates a new variable that is a transformed version of the parent variable. Select a numeric variable and click one of the transformation buttons to create the new variable. The new variable is added to the dataset with a descriptive name (e.g., log.10.height, height.squared).

Go to Variables > Numeric Variables > Transform.

Available Transformations

TransformationNew variable nameDescription
Log (base 10)log.10.XCommon logarithm
Exponential (e^x)exp.XExponential function
Square (X²)X.squaredSquare of each value
Square rootroot.XSquare root of each value
Reciprocal (1/X)recip.XReciprocal (inverse) of each value
Drag and drop

You can drag a variable name from the data viewer directly onto a transformation button to apply it instantly.

note

Only numeric variables can be transformed. The original variable is kept and a new transformed variable is added to the dataset.