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].

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Compute standard scores for data:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Shift to have mean zero without scaling:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Shift by the Median and scale by the InterquartileRange:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)