0.0.5 • Published 9 years ago

binomial-sampling v0.0.5

Weekly downloads
18
License
-
Repository
github
Last release
9 years ago

binomial-sampling Build Status

Sampling algorithm from binomial distribution

Getting started

Install

$ npm install binomial-sampling

How to use

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

// binomial(n, p) 
// n is the size of sample
// p is the probability of each test
console.log(binomial(10, 0.1));

// --> return the value according to binomial distribution

LICENSE

MIT License. Please see the LICENSE file for details.

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago