Back to Graphing Features and Tricks

Statistical functions/operators

NameOperatorDefinitionhow to use (later put in desmos graph examples
Totaltotaladds all numbers in a list
Lengthlengthtells how many objects are in that list
Meanmeantakes the mean of a list
Medianmediantakes the median of the list
Minimumminoutputs the smallest number of a list
Maximummaxoutputs the biggest number of a list
Quartilequartilesorts and interpolates the elements of a list
Standard DeviationstdevOutput the sample standard deviation of a list of numbers. This function will also return the standard deviation of a distribution, if it exists. See the section on distributions below.
Some other Standard DeviationstdevpOutput the population standard deviation of a list of numbers.
Mean Average DeviationmadOutput the mean absolute deviation of a list of numbers.
VariancevarOutput the sample variance of a list of numbers. This function will also return the variance for a distribution, if it exists. See the section on distributions below. Note that, while not on the keypad, a varp function is also available to compute the population variance.
CovariancecovOutput the covariance between two lists of numbers.
CorrolationcorrOutput the Pearson correlation coefficient between two lists of numbers.
Spearman correlationspearmanSpearman Correlation between two lists. Effectively spearman(x_1,x_2)=corr(sort([1...n],x_1), sort([1...n],x_2)) if the length of the list is n.
Combinatorial BinomialnCrOutput the number of r-sized combinations (unordered arrangements) that can be selected from a set of size n.
Number of PermutationsnPrOutput the number of r-sized permutations (ordered arrangements) that can be selected from a set of size n.
Statistics?statsShows the five-number summary (min, Q1, median, Q3, max) as the expression evaluation result. Result cannot be used
ttestShows the value of the one-tailed (> and <) and two-tailed (≠) boundary values for the rejection regions for the Student's T-Test on the list Shows the three values in the expression evaluation result. Result cannot be used.
tscoreoutput the raw test statistic used in the one-sample ttest function.
ittestPerform an independent (unpaired) two-sample t-test of whether the mean of the population from which list1 is sampled differs from the mean of the population from which list2 is sampled. The output includes p-values for both the one-tailed versions (labeled "less than" and "greater than") and the two-tailed version (labeled "not equal") of the test. Note that, while the sample sizes may differ (list1 and list2 need not have equal length), this test does assume that the underlying populations have equal variance.