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: add the Zipf distribution #183

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 Zipf distribution. Similar to other distribution namespaces, adding support for the Zipf distribution would entail a family of packages for evaluating the PMF, CDF, mean, median, etc.

Namespace: @stdlib/stats/base/dists/zipf 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.

Reference implementations:

justin1dennison commented 5 years ago

I would like to work on this. Are there any tips or pointers for issues to keep an eye out for when working on the statistical distributions?

kgryte commented 5 years ago

@justin1dennison That would be awesome! I think as a first foray into contributing distributions, it would be better to start off with the Rademacher distribution (RFC 182).