JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2749
  • Score
    100M100P100Q149951F
  • License MIT

Generate random variables from a variety of distributions with a syntax similar to R

Package Exports

  • probability-distributions

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (probability-distributions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Probability Distributions Library for JavaScript

Installation

npm install --save probability-distributions

var PD = require("probability-distributions");

For documentation and examples, visit http://statisticsblog.com/probability-distributions/

Currently supported

  • Uniform distribution (with entropy option for standard uniform)

  • Normal (Gaussian) distribution

  • Exponential distribution

  • Poisson distribution (not recommended for lambda > 100)

  • Chi-Squared distribution

  • Cauchy distribution

Warning

This package contains addition distributions marked as "experimental". Use these with extreme caution.

License

MIT