Standardize

Standardize[list]

shifts and rescales the elements of list to have zero mean and unit sample variance.

Standardize[list,f1]

shifts the elements in list by f1[list] and rescales them to have unit sample variance.

Standardize[list,f1,f2]

shifts by f1[list] and scales by f2[list].

Details

Examples

open allclose all

Basic Examples  (3)

Compute standard scores for data:

Shift to have mean zero without scaling:

Shift by the Median and scale by the InterquartileRange:

Scope  (5)

Standardize exact numeric data:

Symbolic values:

Standardize arbitraryprecision data:

Standardize matrix data by column:

Standardize a TimeSeries:

Generalizations & Extensions  (1)

Standardize a SparseArray:

Applications  (3)

Shift normally distributed values to a standard normal:

The theoretical curves:

Center a data matrix by subtracting column means:

The mean of the centered data is 0:

The covariance structure is unchanged:

Use Standardize to centralize a TimeSeries:

Centralize:

The variance is unchanged:

Properties & Relations  (1)

Introduced in 2008
 (7.0)