time-to-botec/js/node_modules/@stdlib/stats/base/dists/beta/README.md
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

6.8 KiB

Beta

Beta distribution.

Usage

var beta = require( '@stdlib/stats/base/dists/beta' );

beta

Beta distribution.

var dist = beta;
// returns {...}

The namespace contains the following distribution functions:

The namespace contains the following functions for calculating distribution properties:

The namespace contains a constructor function for creating a beta distribution object.

var Beta = require( '@stdlib/stats/base/dists/beta' ).Beta;
var dist = new Beta( 2.0, 4.0 );

var mu = dist.mean;
// returns ~0.333

Examples

var objectKeys = require( '@stdlib/utils/keys' );
var beta = require( '@stdlib/stats/base/dists/beta' );

console.log( objectKeys( beta ) );