Statistics

With Desmos, you can explore data visually, create distributions, perform inference tests, and run simulations. This article highlights the major statistics features available across Desmos calculators and points you to detailed guides for each topic.

 

Explore & Summarize Data

Desmos includes a suite of statistical tools for exploring the shape, center, and spread of various data sets. You can enter values directly into any statistical function or store your data in a list or table to reuse across multiple expressions.

Learn More: Check out our Lists and Tables articles.

Statistics

The Statistics section of the functions keypad groups together the descriptive statistics available in Desmos, though you can also type any of these functions directly into the expression list.

Standard deviation, variance, and covariance have both sample (stdev, var, cov) and population (stdevp, varp, covp) versions. Use the sample versions when your data represents part of a larger population and the population versions when your values represent the entire population.

Learn More: Find the complete list of statistical functions with examples in our Supported Functions article.

Visualizations

Use histogram, dotplot, and boxplot to visualize the shape, center, and spread of your data. These plots update automatically as your data changes.

Learn More: See examples of each visualization in the Data Visualizations article.

Regressions

Run a regression to find the line or curve of best fit for your data. You can create a regression directly from a table using built-in regression tools or define a custom regression model.

Learn More: Learn how to create a regression in our Regressions article, and explore additional models in our Nonlinear Regressions article.

 

Inference Menu

From the Add Item menu, select Inference, or enter inference directly in the expression list to open the Inference Menu. This menu shows all supported probability distributions and inference tests, which you can add from the menu or type directly into the expression list.

Probability Distributions

Desmos can graph probability density functions (PDFs), plot probability mass functions (PMFs), graph cumulative distribution functions (CDFs), and compute cumulative probabilities for both continuous and discrete distributions.

Continuous Distributions:

Discrete Distributions:

Learn more: Read about these distributions and associated functions in the Probability Distributions article.

Inference Tests

Desmos can run inferential tests on quantitative data (which is measured numerically) and categorical data (which is separated into distinct categories and then counted).

Inference for Quantitative Data:

Inference for Categorical data:

Learn more: Read about all of these tests and their inputs in the Inference article.

 

Simulate & Randomize Data

The random\(( )\) function allows you to generate random values in Desmos. By default, it samples uniformly from \(0\) to \(1\), but if you provide a list or distribution, it samples from that instead.

You can rerandomize values manually or use actions to automate repeated sampling or more complex simulations.

Learn more: See examples of randomization in the Random article, and find a simulation example in the Actions article.