Mathematica 9 is now available
Previous section-----Next section

1.6.7 Statistics

Mean[data] mean (average value)
Median[data] median (central value)
Variance[data] variance
StandardDeviation[data] standard deviation
Quantile[data, q] q quantile
Total[data] total of values

Basic descriptive statistics.
Here is some "data".

In[1]:=  data = {4.3, 7.2, 8.4, 5.8, 9.2, 3.9}

Out[1]=

This gives the mean of your data.

In[2]:=  Mean[data]

Out[2]=

Here is the variance.

In[3]:=  Variance[data]

Out[3]=

The standard set of packages distributed with Mathematica includes several for doing more sophisticated statistical analyses of data.

Statistics`DescriptiveStatistics`
descriptive statistics functions
Statistics`MultivariateDescriptiveStatistics`
multivariate descriptive statistics functions
Statistics`ContinuousDistributions`
properties of continuous statistical distributions
Statistics`DiscreteDistributions`
properties of discrete statistical distributions
Statistics`HypothesisTests` hypothesis tests based on the normal distribution
Statistics`ConfidenceIntervals` confidence intervals derived from the normal distribution
Statistics`MultinormalDistribution`
properties of distributions based on the multivariate normal distribution
Statistics`LinearRegression` linear regression analysis
Statistics`NonlinearFit` nonlinear fitting of data
Statistics`DataSmoothing` smoothing of data
Statistics`DataManipulation` utilities for data manipulation

Some standard statistical analysis packages.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.