# Statistics

### Overview

Statistics functions like mean, median, min, max, and stdev take a list as an argument and return a number.

Supported Functions:

total(x_1) sum of all elements in a list

length(x_1) number of elements in a list

mean(x_1)

median(x_1)

min(x_1)

max(x_1)

quantile(x_1, p)

quartile(x_1,p)

mad(x_1) mean absolute deviation

stdev(x_1) sample standard deviation

stdevp(x_1) population standard deviation

var(x_1) variance

varp(x_1) population variance

cov(x_1, x_2) covariance

corr(x_1, x_2) Pearson correlation coefficient of two lists

nCr(n, r) Number of combinations

nPr(n, r) Number of permutations

n! Factorial

6 out of 6 found this helpful
Have more questions? Submit a request

• Per H. Christiansen

I miss a more detailed explanation,

for instance you could supply the example

mean (1, 2, 3, 4, 5) = 3 with

= (1 + 2 + 3 + 4 + 5) / 5 etc.

• Mkdudley

It seems as though the MAD function isn't working. Is there an updated function for this?

• Michael McArthur

for MAD you can use

mean(|x1-mean(x1)|)

and put your list in a table under x1.