How to | Calculate Basic Descriptive Statistics

The Wolfram Language has many powerful features to handle a wide range of statistical needs. Some of the most elementary are outlined below.

Here is some data (20 random real numbers between 0 and 50):

Use Mean to find the mean of data:

Use Median to find the median:

Use Max to find the maximum element:

You can also find the Variance and the StandardDeviation:

If you want to figure out quantiles, you can use Quantile. The first argument is a set of data; the second is a number q between 0 and 1:

If you want to find out quartiles or percentiles, you can use Quantile with an argument of n/4 or n/100, respectively:

If you would like a list of the quartiles, use the Quartiles function:

  • Basic Statistics
  • Descriptive Statistics
  • How to: Do Statistical Analysis
  • Median  Mean  Max  Variance  StandardDeviation

  • Statistics
  • Descriptive Statistics
  • Math & Counting Operations on Lists
  • Numerical Data
  • "How to" Topics