PRODUCTS
Mathematica
Mathematica Home Edition
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
Wolfram Lightweight Grid Manager
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
SOLUTIONS
Industry
Chemical Engineering
Image Processing
Mechanical Engineering
Petroleum Engineering
Environmental Sciences
Bioinformatics
Data Analysis and Mining
Financial Risk Management
Statistics
Software Engineering
More...
Education
Higher Education
Precollege Education
Students
Technology
Interactive Deployment
High-Performance and Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Learning Center
Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Wolfram|Alpha
Demonstrations Project
Wolfram Blog
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Data Manipulation
>
Statistics
>
Descriptive Statistics
>
Mathematica
>
Mathematics and Algorithms
>
Statistics
>
Descriptive Statistics
>
Built-in
Mathematica
Symbol
Basic Statistics
Descriptive Statistics
Discrete Distributions
Continuous Distributions
Tutorials »
|
StandardDeviation
Covariance
Correlation
Mean
Quantile
MeanDeviation
MedianDeviation
Kurtosis
CentralMoment
ExpectedValue
See Also »
|
Descriptive Statistics
Math & Counting Operations on Lists
Numerical Data
Precollege Education
Statistical Distributions
Statistics
New in 6.0: Mathematics & Algorithms
New in 6.0: Statistics
More About »
Variance
Variance
[
list
]
gives the sample variance of the elements in
list
.
Variance
[
dist
]
gives the variance of the symbolic distribution
dist
.
MORE INFORMATION
Variance
[
list
]
gives the unbiased estimate of variance.
Variance
[
list
]
is equivalent to
Total
[(
list
-
Mean
[
list
])^2]/(
Length
[
list
]-1)
for real-valued data.
For complex data,
Variance
[
list
]
is equivalent to
(
list
-
Mean
[
list
]).
Conjugate
[
list
-
Mean
[
list
]]/(
Length
[
list
]-1)
.
Variance
handles both numerical and symbolic data.
Variance
[{{
x
1
,
y
1
,
...
}, {
x
2
,
y
2
,
...
},
...
}]
gives
{Variance[{
x
1
,
x
2
,
...
}], Variance[{
y
1
,
y
2
,
...
}]}
.
Variance
works with
SparseArray
objects.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Variance of a list of numbers:
In[1]:=
Out[1]=
Variance of elements in each column:
In[1]:=
Out[1]=
Variance of a symbolic lognormal distribution:
In[1]:=
Out[1]=
Scope
(6)
Generalizations & Extensions
(1)
Properties & Relations
(9)
SEE ALSO
StandardDeviation
Covariance
Correlation
Mean
Quantile
MeanDeviation
MedianDeviation
Kurtosis
CentralMoment
ExpectedValue
TUTORIALS
Basic Statistics
Descriptive Statistics
Discrete Distributions
Continuous Distributions
MORE ABOUT
Descriptive Statistics
Math & Counting Operations on Lists
Numerical Data
Precollege Education
Statistical Distributions
Statistics
New in 6.0: Mathematics & Algorithms
New in 6.0: Statistics
New in 5 | Last modified in 6