Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stdlib-js/stats-base-dists
Standard library probability distribution modules.
https://github.com/stdlib-js/stats-base-dists
dist distribution javascript lib library math mathematics node node-js nodejs probability standard statistics stats stdlib
Last synced: 2 months ago
JSON representation
Standard library probability distribution modules.
- Host: GitHub
- URL: https://github.com/stdlib-js/stats-base-dists
- Owner: stdlib-js
- License: apache-2.0
- Created: 2021-06-15T17:44:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T12:09:35.000Z (3 months ago)
- Last Synced: 2024-11-11T06:12:38.619Z (2 months ago)
- Topics: dist, distribution, javascript, lib, library, math, mathematics, node, node-js, nodejs, probability, standard, statistics, stats, stdlib
- Language: JavaScript
- Homepage: https://github.com/stdlib-js/stdlib
- Size: 18 MB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Security: SECURITY.md
Awesome Lists containing this project
README
About stdlib...
We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.
The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.
When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.
To join us in bringing numerical computing to the web, get started by checking us out on GitHub, and please consider financially supporting stdlib. We greatly appreciate your continued support!
# Probability Distributions
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url]
> Base (i.e., lower-level) probability distribution modules.
## Installation
```bash
npm install @stdlib/stats-base-dists
```Alternatively,
- To load the package in a website via a `script` tag without installation and bundlers, use the [ES Module][es-module] available on the [`esm`][esm-url] branch (see [README][esm-readme]).
- If you are using Deno, visit the [`deno`][deno-url] branch (see [README][deno-readme] for usage intructions).
- For use in Observable, or in browser/node environments, use the [Universal Module Definition (UMD)][umd] build available on the [`umd`][umd-url] branch (see [README][umd-readme]).The [branches.md][branches-url] file summarizes the available branches and displays a diagram illustrating their relationships.
To view installation and usage instructions specific to each branch build, be sure to explicitly navigate to the respective README files on each branch, as linked to above.
## Usage
```javascript
var dists = require( '@stdlib/stats-base-dists' );
```#### dists
Namespace containing "base" (i.e., lower-level) probability distribution modules.
```javascript
var distributions = dists;
// returns {...}
```### Continuous Distributions
- [`arcsine`][@stdlib/stats/base/dists/arcsine]: arcsine distribution.
- [`beta`][@stdlib/stats/base/dists/beta]: beta distribution.
- [`betaprime`][@stdlib/stats/base/dists/betaprime]: beta prime distribution.
- [`cauchy`][@stdlib/stats/base/dists/cauchy]: Cauchy distribution.
- [`chi`][@stdlib/stats/base/dists/chi]: Chi distribution.
- [`chisquare`][@stdlib/stats/base/dists/chisquare]: Chi-squared distribution.
- [`cosine`][@stdlib/stats/base/dists/cosine]: raised cosine distribution.
- [`erlang`][@stdlib/stats/base/dists/erlang]: Erlang distribution.
- [`exponential`][@stdlib/stats/base/dists/exponential]: exponential distribution.
- [`f`][@stdlib/stats/base/dists/f]: fisher's F distribution.
- [`frechet`][@stdlib/stats/base/dists/frechet]: Fréchet distribution.
- [`gamma`][@stdlib/stats/base/dists/gamma]: gamma distribution.
- [`gumbel`][@stdlib/stats/base/dists/gumbel]: Gumbel distribution.
- [`invgamma`][@stdlib/stats/base/dists/invgamma]: inverse gamma distribution.
- [`kumaraswamy`][@stdlib/stats/base/dists/kumaraswamy]: Kumaraswamy's double bounded distribution.
- [`laplace`][@stdlib/stats/base/dists/laplace]: Laplace distribution.
- [`levy`][@stdlib/stats/base/dists/levy]: Lévy distribution.
- [`logistic`][@stdlib/stats/base/dists/logistic]: logistic distribution.
- [`lognormal`][@stdlib/stats/base/dists/lognormal]: lognormal distribution.
- [`normal`][@stdlib/stats/base/dists/normal]: normal distribution.
- [`pareto1`][@stdlib/stats/base/dists/pareto-type1]: Pareto (Type I) distribution.
- [`rayleigh`][@stdlib/stats/base/dists/rayleigh]: Rayleigh distribution.
- [`signrank`][@stdlib/stats/base/dists/signrank]: distribution of the Wilcoxon signed rank test statistic.
- [`tukey`][@stdlib/stats/base/dists/studentized-range]: Studentized range distribution.
- [`t`][@stdlib/stats/base/dists/t]: Student's t distribution.
- [`triangular`][@stdlib/stats/base/dists/triangular]: triangular distribution.
- [`truncatedNormal`][@stdlib/stats/base/dists/truncated-normal]: truncated normal distribution.
- [`uniform`][@stdlib/stats/base/dists/uniform]: continuous uniform distribution.### Discrete Distributions
- [`bernoulli`][@stdlib/stats/base/dists/bernoulli]: Bernoulli distribution.
- [`binomial`][@stdlib/stats/base/dists/binomial]: binomial distribution.
- [`discreteUniform`][@stdlib/stats/base/dists/discrete-uniform]: discrete uniform distribution.
- [`geometric`][@stdlib/stats/base/dists/geometric]: geometric distribution.
- [`hypergeometric`][@stdlib/stats/base/dists/hypergeometric]: hypergeometric distribution.
- [`negativeBinomial`][@stdlib/stats/base/dists/negative-binomial]: negative binomial distribution.
- [`poisson`][@stdlib/stats/base/dists/poisson]: Poisson distribution.### Other
- [`degenerate`][@stdlib/stats/base/dists/degenerate]: degenerate distribution.
## Examples
```javascript
var objectKeys = require( '@stdlib/utils-keys' );
var dists = require( '@stdlib/stats-base-dists' );console.log( objectKeys( dists ) );
```* * *
## Notice
This package is part of [stdlib][stdlib], a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].
#### Community
[![Chat][chat-image]][chat-url]
---
## License
See [LICENSE][stdlib-license].
## Copyright
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
[npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-dists.svg
[npm-url]: https://npmjs.org/package/@stdlib/stats-base-dists[test-image]: https://github.com/stdlib-js/stats-base-dists/actions/workflows/test.yml/badge.svg?branch=main
[test-url]: https://github.com/stdlib-js/stats-base-dists/actions/workflows/test.yml?query=branch:main[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dists/main.svg
[coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dists?branch=main[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im[stdlib]: https://github.com/stdlib-js/stdlib
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
[umd]: https://github.com/umdjs/umd
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules[deno-url]: https://github.com/stdlib-js/stats-base-dists/tree/deno
[deno-readme]: https://github.com/stdlib-js/stats-base-dists/blob/deno/README.md
[umd-url]: https://github.com/stdlib-js/stats-base-dists/tree/umd
[umd-readme]: https://github.com/stdlib-js/stats-base-dists/blob/umd/README.md
[esm-url]: https://github.com/stdlib-js/stats-base-dists/tree/esm
[esm-readme]: https://github.com/stdlib-js/stats-base-dists/blob/esm/README.md
[branches-url]: https://github.com/stdlib-js/stats-base-dists/blob/main/branches.md[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/stats-base-dists/main/LICENSE
[@stdlib/stats/base/dists/degenerate]: https://github.com/stdlib-js/stats-base-dists-degenerate
[@stdlib/stats/base/dists/bernoulli]: https://github.com/stdlib-js/stats-base-dists-bernoulli
[@stdlib/stats/base/dists/binomial]: https://github.com/stdlib-js/stats-base-dists-binomial
[@stdlib/stats/base/dists/discrete-uniform]: https://github.com/stdlib-js/stats-base-dists-discrete-uniform
[@stdlib/stats/base/dists/geometric]: https://github.com/stdlib-js/stats-base-dists-geometric
[@stdlib/stats/base/dists/hypergeometric]: https://github.com/stdlib-js/stats-base-dists-hypergeometric
[@stdlib/stats/base/dists/negative-binomial]: https://github.com/stdlib-js/stats-base-dists-negative-binomial
[@stdlib/stats/base/dists/poisson]: https://github.com/stdlib-js/stats-base-dists-poisson
[@stdlib/stats/base/dists/arcsine]: https://github.com/stdlib-js/stats-base-dists-arcsine
[@stdlib/stats/base/dists/beta]: https://github.com/stdlib-js/stats-base-dists-beta
[@stdlib/stats/base/dists/betaprime]: https://github.com/stdlib-js/stats-base-dists-betaprime
[@stdlib/stats/base/dists/cauchy]: https://github.com/stdlib-js/stats-base-dists-cauchy
[@stdlib/stats/base/dists/chi]: https://github.com/stdlib-js/stats-base-dists-chi
[@stdlib/stats/base/dists/chisquare]: https://github.com/stdlib-js/stats-base-dists-chisquare
[@stdlib/stats/base/dists/cosine]: https://github.com/stdlib-js/stats-base-dists-cosine
[@stdlib/stats/base/dists/erlang]: https://github.com/stdlib-js/stats-base-dists-erlang
[@stdlib/stats/base/dists/exponential]: https://github.com/stdlib-js/stats-base-dists-exponential
[@stdlib/stats/base/dists/f]: https://github.com/stdlib-js/stats-base-dists-f
[@stdlib/stats/base/dists/frechet]: https://github.com/stdlib-js/stats-base-dists-frechet
[@stdlib/stats/base/dists/gamma]: https://github.com/stdlib-js/stats-base-dists-gamma
[@stdlib/stats/base/dists/gumbel]: https://github.com/stdlib-js/stats-base-dists-gumbel
[@stdlib/stats/base/dists/invgamma]: https://github.com/stdlib-js/stats-base-dists-invgamma
[@stdlib/stats/base/dists/kumaraswamy]: https://github.com/stdlib-js/stats-base-dists-kumaraswamy
[@stdlib/stats/base/dists/laplace]: https://github.com/stdlib-js/stats-base-dists-laplace
[@stdlib/stats/base/dists/levy]: https://github.com/stdlib-js/stats-base-dists-levy
[@stdlib/stats/base/dists/logistic]: https://github.com/stdlib-js/stats-base-dists-logistic
[@stdlib/stats/base/dists/lognormal]: https://github.com/stdlib-js/stats-base-dists-lognormal
[@stdlib/stats/base/dists/normal]: https://github.com/stdlib-js/stats-base-dists-normal
[@stdlib/stats/base/dists/pareto-type1]: https://github.com/stdlib-js/stats-base-dists-pareto-type1
[@stdlib/stats/base/dists/rayleigh]: https://github.com/stdlib-js/stats-base-dists-rayleigh
[@stdlib/stats/base/dists/signrank]: https://github.com/stdlib-js/stats-base-dists-signrank
[@stdlib/stats/base/dists/studentized-range]: https://github.com/stdlib-js/stats-base-dists-studentized-range
[@stdlib/stats/base/dists/t]: https://github.com/stdlib-js/stats-base-dists-t
[@stdlib/stats/base/dists/triangular]: https://github.com/stdlib-js/stats-base-dists-triangular
[@stdlib/stats/base/dists/truncated-normal]: https://github.com/stdlib-js/stats-base-dists-truncated-normal
[@stdlib/stats/base/dists/uniform]: https://github.com/stdlib-js/stats-base-dists-uniform