get-normal-distribution

1.0.0 • Public • Published

get-normal-distribution

Build Status

Returns the value of the normal distribution function for a specified value, mean, and standard deviation.

Installation

npm install get-normal-distribution --save

Syntax

getNormalDistribution(x, mean, standardDeviation)

Usage

import getNormalDistribution from 'get-normal-distribution';
getNormalDistribution(2,0,1); // 0.97725
getNormalDistribution(0,0,1); // 0.5

Tests

npm test

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 1.0.0 Initial release

Package Sidebar

Install

npm i get-normal-distribution

Weekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • janjarfalk