4.0.0 • Published 3 years ago

binomial-pmf v4.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

binomial-pmf

Binomial probability mass function.

Example

const pmf = require('binomial-pmf');

pmf(2, 3, 0.7);
// => 0.441

Installation

$ npm install binomial-pmf

API

const pmf = require('binomial-pmf');

pmf(k, n, p)

Returns the probability of getting exactly Number k successes in Number n trials given that the probability of a success is Number p.

4.0.0

3 years ago

3.0.1

3 years ago

2.0.0

7 years ago

1.0.5

10 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago