ApasScript.

Statistics

median

The median of a list, exact.

mode

The most frequent value(s) of a list, as an array.

variance

Population variance (divide by n), exact.

sampleVariance

Sample variance (divide by n - 1), exact.

stdDev

Population standard deviation, exact (a surd when needed).

sampleStdDev

Sample standard deviation (n - 1), exact.

covariance

Population covariance of two equal-length lists, exact.

correlation

Pearson correlation coefficient of two lists, exact.

percentile

The p-th percentile of a list (p from 0 to 100).

zScore

How many standard deviations x lies from the mean of the list.

dataRange

max - min of a list. (range() makes an array of whole numbers.)

fiveNumberSummary

Minimum, first quartile, median, third quartile and maximum.

iqr

Interquartile range: third quartile minus first quartile.

binCounts

Frequency counts of a list in equal-width bins from lower to upper. (histogram() draws one.)