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