Socket
Socket
Sign inDemoInstall

binomial-sampling

Package Overview
Dependencies
1
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    binomial-sampling

Sampling algorithm from binomial distribution


Version published
Weekly downloads
6
decreased by-25%
Maintainers
1
Install size
38.8 kB
Created
Weekly downloads
 

Readme

Source

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.

FAQs

Last updated on 10 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc