stdlib-js / stdlib

✨ Standard library for JavaScript and Node.js. ✨
https://stdlib.io
Apache License 2.0
4.27k stars 436 forks source link

[RFC]: implement a broader range of statistical distributions (tracking issue) #2188

Open Rejoan-Sardar opened 4 months ago

Rejoan-Sardar commented 4 months ago

Description

This RFC proposes implement large number of probability distributions. The purpose of this issue is to serve as a tracking issue for implement large number of probability distributions.

Probability distributions

Continuous distributions

supported on a bounded interval

supported on a semi-infinite interval

supported on the whole real line

with support whose type varies

Discrete distributions

with finite support

with infinite support

Mixed distributions

Multivariate(joint) distributions

Discrete:

Continuous:

Related Issues

None.

Questions

No.

Other

No.

Checklist

kgryte commented 4 months ago

@Rejoan-Sardar Thanks for opening this issue. One question I have is which of the above distributions are included in SciPy? For each of the distributions, it would be good to point to a reference implementation. Julia stats is another possibility.

Another question I have concerns which of the above distributions are feasible given the current functionality available in stdlib. In short, which distributions should we prioritize first? And which have prerequisite functionality which we have not yet added to stdlib?