Chapter 5 Standardizing
Standardizing a variable means subtracting its mean from every data point in the data series, and dividing the resulting numbers by the variable’s standard deviation. The result is a variable with a mean of 0 and a standard deviation of 1.
5.1.1 Example dataset
From this dataset, this example uses variable
5.2 Input: jamovi
5.3 Input: R
This stores the standardized values in a variable called
In R is also easy to center a variable around its mean (i.e. omit the division by the standard deviation from the standardization procedure). The following command stores the centered values in a variable called
5.4 Input: SPSS
This command orders descriptives, but the
/SAVE subcommand also saves the standardized values. These are then given the original variable name prepended by
Z, so in this case,
DESCRIPTIVES VARIABLES = xtcUsePillHigh /SAVE.