stdlib-js / stdlib

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

RFC: add the Rademacher distribution #182

Open kgryte opened 6 years ago

kgryte commented 6 years ago

Checklist

Please ensure the following tasks are completed before filing an issue.

Description

Description of the issue (or feature request).

This RFC proposes adding the Rademacher distribution. Similar to other distribution namespaces, adding support for the Rademacher distribution would entail a family of packages for evaluating the PMF, CDF, mean, median, etc.

Namespace: @stdlib/stats/base/dists/rademacher Reference: @stdlib/stats/base/dists/*

Related Issues

Does this issue (or feature request) have any related issues?

No.

Questions

Any questions for reviewers?

No.

Other

Any other information relevant to this issue (or feature request)? This may include screenshots, references, stack traces, sample output, and/or implementation notes.

No.

kgryte commented 5 years ago

@justin1dennison A good reference distribution namespace is the Bernoulli distribution namespace. You can start by contributing the @stdlib/stats/base/dists/rademacher/pmf package. That sound okay?