Standardizing within variable means scaling each column of the raw data so that it has a mean of 0 and a standard deviation of 1. This article describes how to go from the data below:
For each column/variable in the data, centering within variable will subtract the mean for the column from each entry in the column to yield the following:
This creates for each selected containing the transformed data after centering within each variable.
Requirements
- A Displayr document that contains one or more Nominal - Multi, Ordinal - Multi, Numeric - Multi, Numeric - Grid, Nominal, Ordinal or Numeric variable sets.
Method
This creates for each selected containing the transformed data after centering within the variable. To standardize a variable:
- Select the variable or variable sets in the Data Sources tree.
- Click + > Numeric Transformations > Scale > Center Within Variable.
- A new numeric variable is created. Centering data means that the average of a variable is subtracted from the data.