Introduction
Sometimes it is necessary to transform variable(s) so that the mean of the data is 0 and the standard deviation is 1. Such a variable is normalized or standardized. There are two approaches to standardizing: within each case or respondent and within each variable. Both can be done with QScripts in Q's Online Library.
Method 1: Standardizing Within Case
To create new variables where the values across the selected variables are standardized data within respondent do the following. The new standardized data will have an average of 0 for each respondent, and will optionally have a standard deviation of 1 for each respondent across the selected variables.
- Go to the Variables and Questions tab.
- Select the variables you want to standardize.
- Go to Automate > Browse Online Library > Create New Variables > Scale Variable(s) > Standardize Within Case
Method 2: Standardizing Within Variables
To create new variables where the values are standardized within each variable do the following. The new standardized data will have an average of 0 for each variable, and will optionally have a standard deviation of 1 for each variable.
- Go to the Variables and Questions tab.
- Select the variables you want to standardize.
- Go to Automate > Browse Online Library > Create New Variables > Scale Variable(s) > Standardize Within Variable
Next
How To Standardize/Normalize Variables When Creating Segments