We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
Variance[data]
gives the variance estimate of the elements in data.
Variance[dist]
gives the variance of the distribution dist.
DetailsVariance of a list of numbers:
Variance of elements in each column:
Variance of a parametric distribution:
Scope (22) Basic Uses (7)Exact input yields exact output:
Approximate input yields approximate output:
Find the variance of WeightedData:
Find the variance of EventData:
Find the variance of TemporalData:
Find the variance of a TimeSeries:
The variance depends only on the values:
Find the variance of data involving quantities:
Array Data (5)Variance for a matrix gives columnwise variances:
Variance for a tensor gives columnwise variances at the first level:
When the input is an Association, Variance works on its values:
SparseArray data can be used just like dense arrays:
Find the variance of a QuantityArray:
Image and Audio Data (2)Channelwise variance of an RGB image:
Variance of a grayscale image:
On audio objects, Variance works channelwise:
Date and Time (5)Compute the weighted variance of dates:
Compute the variance of dates given in different calendars:
Compute the variance of times:
Compute the variance of times with different time zone specifications:
Distributions and Processes (3)Find the variance for univariate distributions:
Variance for derived distributions:
Variance function for a random process:
Applications (5)Variance is a measure of dispersion:
Compute a moving variance for samples of three random processes:
Compare data volatility by smoothing with moving variance:
Find the mean and variance for the number of great inventions and scientific discoveries in each year from 1860 to 1959:
Investigate weak stationarity of the process data by analyzing variance of slices:
Use a larger plot range to see how relatively small the variations are:
Find the variance of the heights for the children in a class:
Properties & Relations (11) Neat Examples (1)The distribution of Variance estimates for 20, 100, and 300 samples:
Wolfram Research (2003), Variance, Wolfram Language function, https://reference.wolfram.com/language/ref/Variance.html (updated 2024). TextWolfram Research (2003), Variance, Wolfram Language function, https://reference.wolfram.com/language/ref/Variance.html (updated 2024).
CMSWolfram Language. 2003. "Variance." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/Variance.html.
APAWolfram Language. (2003). Variance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Variance.html
BibTeX@misc{reference.wolfram_2025_variance, author="Wolfram Research", title="{Variance}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/Variance.html}", note=[Accessed: 12-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_variance, organization={Wolfram Research}, title={Variance}, year={2024}, url={https://reference.wolfram.com/language/ref/Variance.html}, note=[Accessed: 12-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4