Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Calculator-style statistical functions

Project Description

stats is a pure-Python module providing basic statistics functions similar to those found on scientific calculators. It has over 40 statistics functions, including:

Univariate statistics:
  • arithmetic, harmonic, geometric and quadratic means
  • median, mode, midrange, trimean
  • mean of angular quantities
  • running and weighted averages
  • quartiles, hinges and quantiles
  • variance and standard deviation (sample and population)
  • average deviation and median average deviation (MAD)
  • skew and kurtosis
  • standard error of the mean
Multivariate statistics:
  • Pearson’s correlation coefficient
  • Q-correlation coefficient
  • covariance (sample and population)
  • linear regression
  • sums Sxx, Syy and Sxy

and others.

Requires Python 3.1 or better.

Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
stats-0.1.2a.tar.gz (127.6 kB) Copy SHA256 Checksum SHA256 Source Dec 31, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting