binomial-cdf

4.0.0 • Public • Published

binomial-cdf

Binomial cumulative distribution function.

Example

var cdf = require('binomial-cdf');

cdf(52, 100, 0.5);
// => 0.69

Installation

$ npm install binomial-cdf

API

var cdf = require('binomial-cdf');

cdf(k, n, p)

Returns the probability of having at most Number k successes in Number n trials, given that the probability of a success is Number p.

Readme

Keywords

Package Sidebar

Install

npm i binomial-cdf

Weekly Downloads

25

Version

4.0.0

License

MIT

Unpacked Size

2.99 kB

Total Files

4

Last publish

Collaborators

  • kenan