https://github.com/dy/normal-pdf
Get gaussian density at a point
https://github.com/dy/normal-pdf
Last synced: about 1 year ago
JSON representation
Get gaussian density at a point
- Host: GitHub
- URL: https://github.com/dy/normal-pdf
- Owner: dy
- Created: 2016-11-12T20:30:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-02T20:14:55.000Z (over 5 years ago)
- Last Synced: 2025-03-06T18:21:42.478Z (over 1 year ago)
- Language: JavaScript
- Size: 103 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README

# normal-pdf
Get normal distribution density value at a point.
## Usage
[](https://npmjs.org/package/normal-pdf/)
### `normal(x, μ = 0, σ² = 1)`
Returns `density` value for the `x` with gaussian parameters _mean_ `μ` and _variance_ `σ²`.
If parameters are omitted, it will use standard zero mean and unit variance.
## License
MIT.