4.0.0 • Published 2 years ago

binomial-pmf v4.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
2 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

2 years ago

3.0.1

2 years ago

2.0.0

6 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago