RFC: add the Boltzmann distribution
Checklist
Please ensure the following tasks are completed before filing an issue.
- [x] Read and understood the Code of Conduct.
- [x] Searched for existing issues and pull requests.
- [x] If this is a general question, searched the FAQ for an existing answer.
- [x] If this is a feature request, the issue name begins with
RFC:.
Description
Description of the issue (or feature request).
This RFC proposes adding the Boltzmann distribution. Similar to other distribution namespaces, adding support for the Boltzmann distribution would entail a family of packages for evaluating the PMF, CDF, mean, median, etc.
Namespace: @stdlib/stats/base/dists/boltzmann
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:
@kgryte I would like to work on this issue.
@AgPriyanshu18 Thanks for volunteering to work on this. Feel free to submit one or more PRs implementing this functionality. In fact, it may be good to split it over multiple PRs just to simplify review.
@kgryte @Planeshifter, I have stuck on linkting issues with Readme file.
The code block on readme file giving issue is
PMF Factory method code block is
There is no variable named fact in Readme. I would request your help in this issue.
But there is a variable named fact in your pmf function, and you haven't declared it. You need to add var fact; to the pmf function you show in your last screenshot.
@kgryte @Planeshifter Thanks for your help. I have added the PMF function for Boltzmann distribution.