Академический Документы
Профессиональный Документы
Культура Документы
Transforming variables
Transformations for normality
Transformations for linearity
Transforming variables to
satisfy assumptions
• When a metric variable fails to satisfy the
assumption of normality, homogeneity of variance,
or linearity, we may be able to correct the
deficiency by using a transformation.
40
30
20
10
Both the histogram and
Frequency
0
E x pec ted Norm al
-1
-2
-3
-40 -20 0 20 40 60 80 100 120
Observed Value
Determine whether
reflection is required
Descriptives
Third, click on
the up arrow
button to
move the
highlighted
function to the
Numeric
Expression
text box.
Click on the OK
button to
complete the
compute request.
The transformed variable
To compute the
transformation, select the
Compute… command from
the Transform menu.
Specifying the transform
variable name and function First, in the Target
Variable text box, type a
name for the square
root transformation
variable, e.g.
“sqnetime“.
Third, click on
the up arrow
button to move
Second, scroll down the
the highlighted
list of functions to find
function to the
SQRT, which calculates
Numeric
the square root of a
Expression text
variable.
box.
Adding the variable name
to the function
Click on the
OK button to
complete the
compute
request.
The transformed variable
To compute the
transformation,
select the
Compute…
command from
the Transform
menu.
Specifying the transform
variable name and formula
First, in the
Second, there is not a
Target Variable
function for computing the
text box, type a
inverse, so we type the
name for the
formula directly into the
inverse
Numeric Expression text box.
transformation
variable, e.g.
“innetime“.
Third, click on
the OK button
to complete
the compute
request.
The transformed variable
Descriptives
To compute the
transformation, select
the Compute… command
from the Transform
menu.
Specifying the transform
variable name and formula
Second, there is not a function
First, in the Target Variable
for computing the square, so
text box, type a name for
we type the formula directly
the inverse transformation
into the Numeric Expression
variable, e.g. “s2netime“.
text box.
Third, click on
the OK button
to complete
the compute
request.
The transformed variable