@stdlib/stats

Standard library statistical functions.

Usage no npm install needed!

<script type="module">
  import stdlibStats from 'https://cdn.skypack.dev/@stdlib/stats';
</script>

README

Stats

NPM version Build Status Coverage Status dependencies

Standard library statistical functions.

Installation

npm install @stdlib/stats

Usage

var statistics = require( '@stdlib/stats' );

statistics

Standard library statistical functions.

var stats = statistics;
// returns {...}

The namespace exposes the following statistical tests:

In addition, it contains an assortment of functions for computing statistics incrementally as part of the incr sub-namespace and functions for computing statistics over iterators in the iterators namespace.

  • incr: standard library functions for computing statistics incrementally.
  • iterators: standard library functions for computing statistics over iterators.

The base sub-namespace contains functions to calculate statistics alongside a dists namespace containing functions related to a wide assortment of probability distributions.

Other statistical functions included are:

Examples

var objectKeys = require( '@stdlib/utils/keys' );
var statistics = require( '@stdlib/stats' );

console.log( objectKeys( statistics ) );

Notice

This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.

For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.

Community

Chat


License

See LICENSE.

Copyright

Copyright © 2016-2021. The Stdlib Authors.