stats

A well tested and comprehensive Golang statistics library package with no dependencies.

What is stats?

A well tested and comprehensive Golang statistics library package with no dependencies.

Overview of stats

What it is

Stats is a well tested and comprehensive Golang statistics library package with no dependencies. It provides a wide range of statistical functions for data analysis in Go programs. The package is hosted on GitHub and documented on pkg.go.dev.

Key features

  • No external dependencies; the entire library is self-contained.
  • Includes functions for descriptive statistics (mean, median, mode, variance, standard deviation, etc.).
  • Provides correlation and covariance measures (Pearson, Spearman, Kendall Tau, covariance).
  • Supports distance metrics (Euclidean, Manhattan, Chebyshev, Minkowski).
  • Offers moving window calculations (moving average, moving median, moving standard deviation, etc.).
  • Contains normal distribution functions (PDF, CDF, PPF, sampling, fitting, etc.).
  • Includes utility functions for rounding, clipping, rescaling, ranking, and sampling data.

Use cases

  • Data analysis and statistical computing in Go applications.
  • Scientific computing and research projects requiring statistical functions.
  • Educational purposes for learning statistics with Go.
  • Building analytics tools or dashboards that need statistical summaries.

Getting started

go get github.com/montanaflynn/stats See the repository README for example usage and full API documentation.

License and pricing

The license is MIT. The package is open source and free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/montanaflynnstats.svg)](https://yunodb.com/tools/montanaflynnstats?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/montanaflynnstats?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/montanaflynnstats.svg" alt="Featured on YunoDB" height="20"></a>