Standardize
✖
Standardize
shifts and rescales the elements of list to have zero mean and unit sample variance.
shifts the elements in list by f1[list] and rescales them to have unit sample variance.
Details

- Standardize shifts by a location and rescales by a scale estimated from the elements of list.
- Standardize[list] is effectively (list-Mean[list])/StandardDeviation[list] for nonzero StandardDeviation[list].
- Standardize[list,f1] is effectively (list-f1[list])/StandardDeviation[list].
- Standardize[list,f1,f2] is effectively (list-f1[list])/f2[list].
- Common choices for f1 and f2 include:
-
Mean StandardDeviation zero mean and unit variance Mean 1& shift to mean 0 Median 1& shift by the median 0& StandardDeviation scale to have unit variance - Standardize handles both numerical and symbolic data.
- Standardize[{{x1,y1,…},{x2,y2,…},…}] effectively gives Transpose[{Standardize[{x1,x2,…}],Standardize[{y1,y2,…}],…}]. »
- Standardize works with SparseArray objects. »
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Compute standard scores for data:

https://wolfram.com/xid/09a7l22hq-c635x8


https://wolfram.com/xid/09a7l22hq-fq919n

Shift to have mean zero without scaling:

https://wolfram.com/xid/09a7l22hq-cleo4q


https://wolfram.com/xid/09a7l22hq-dw2pfd


https://wolfram.com/xid/09a7l22hq-srglo

Shift by the Median and scale by the InterquartileRange:

https://wolfram.com/xid/09a7l22hq-dhwfit

Scope (5)Survey of the scope of standard use cases
Standardize exact numeric data:

https://wolfram.com/xid/09a7l22hq-fy2q9z


https://wolfram.com/xid/09a7l22hq-h4hpx

Standardize arbitrary‐precision data:

https://wolfram.com/xid/09a7l22hq-bhvmrb

Standardize matrix data by column:

https://wolfram.com/xid/09a7l22hq-f0108z


https://wolfram.com/xid/09a7l22hq-28ret


https://wolfram.com/xid/09a7l22hq-h8vgv

Standardize a TimeSeries:

https://wolfram.com/xid/09a7l22hq-hqe0i1

https://wolfram.com/xid/09a7l22hq-lnnu41


https://wolfram.com/xid/09a7l22hq-cnj275


https://wolfram.com/xid/09a7l22hq-v2egnq

Generalizations & Extensions (1)Generalized and extended use cases
Standardize a SparseArray:

https://wolfram.com/xid/09a7l22hq-bczqaw


https://wolfram.com/xid/09a7l22hq-dgo8p9

Applications (3)Sample problems that can be solved with this function
Shift normally distributed values to a standard normal:

https://wolfram.com/xid/09a7l22hq-kgi8pj

https://wolfram.com/xid/09a7l22hq-oai6vw

https://wolfram.com/xid/09a7l22hq-o9fsj8


https://wolfram.com/xid/09a7l22hq-lawgvq

Center a data matrix by subtracting column means:

https://wolfram.com/xid/09a7l22hq-firuc1


https://wolfram.com/xid/09a7l22hq-efgbgv

The mean of the centered data is 0:

https://wolfram.com/xid/09a7l22hq-jni4sg

The covariance structure is unchanged:

https://wolfram.com/xid/09a7l22hq-brbckh

Use Standardize to centralize a TimeSeries:

https://wolfram.com/xid/09a7l22hq-w3egqr

https://wolfram.com/xid/09a7l22hq-25463m


https://wolfram.com/xid/09a7l22hq-9fd2o6


https://wolfram.com/xid/09a7l22hq-3t3v2a


https://wolfram.com/xid/09a7l22hq-sngw9f

Properties & Relations (1)Properties of the function, and connections to other functions
Compute MeanDeviation using Standardize:

https://wolfram.com/xid/09a7l22hq-k4ybqn


https://wolfram.com/xid/09a7l22hq-heeb5k


https://wolfram.com/xid/09a7l22hq-hkl9md


https://wolfram.com/xid/09a7l22hq-fuwtup


https://wolfram.com/xid/09a7l22hq-wd9

Wolfram Research (2008), Standardize, Wolfram Language function, https://reference.wolfram.com/language/ref/Standardize.html.
Text
Wolfram Research (2008), Standardize, Wolfram Language function, https://reference.wolfram.com/language/ref/Standardize.html.
Wolfram Research (2008), Standardize, Wolfram Language function, https://reference.wolfram.com/language/ref/Standardize.html.
CMS
Wolfram Language. 2008. "Standardize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Standardize.html.
Wolfram Language. 2008. "Standardize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Standardize.html.
APA
Wolfram Language. (2008). Standardize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Standardize.html
Wolfram Language. (2008). Standardize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Standardize.html
BibTeX
@misc{reference.wolfram_2025_standardize, author="Wolfram Research", title="{Standardize}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Standardize.html}", note=[Accessed: 22-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_standardize, organization={Wolfram Research}, title={Standardize}, year={2008}, url={https://reference.wolfram.com/language/ref/Standardize.html}, note=[Accessed: 22-April-2025
]}