Stats

Standard library statistical functions.

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 ) );