[RFC]: adding new statistical distributions ( tracking issue )
Description
This RFC proposes adding new distributions in stdlib which expands the collection of continuous , discrete, and multivariate distributions. This will be a tracking issue for new distributions which can be added
Distribution Checklist
Continuous Distributions
- [ ] Anglit
- [ ] Burr
- [ ] Burr12
- [ ] Crystalball
- [ ] Dgamma
- [ ] Exponorm
- [ ] Exponweib
- [ ] Loglaplace
- [ ] Foldnorm
- [ ] Genlogistic
- [ ] Gennorm
- [ ] Genpareto
- [ ] GaussHyper
- [ ] Gengamma
- [ ] Gibrat
- [ ] Lomax
- [ ] Rdist
- [ ] Halfcauchy
- [ ] Half-logistic
- [ ] Half-normal
- [ ] Hypsecant
- [ ] Inweibull
- [ ] JohnsonSB
- [ ] JohnsonSU
- [ ] Powerlaw
- [ ] Wrapcauchy
- [ ] Moyal
- [ ] Maxwell
- [ ] Mielke
- [ ] Nakagami
- [ ] Laplace asymmetric
- [ ] Powernorm
- [ ] Truncexpo
- [ ] Skewcauchy
- [ ] Argus
- [ ] Dweibull
- [ ] Exponpow
- [ ] Fatiguelife
- [ ] Fisk
- [ ] Foldcauchy
- [ ] Powerlognorm
- [ ] Pearson3
- [ ] Rice
- [ ] Vonmises
- [ ] Tukeylambda
- [ ] Recipinvgauss
- [ ] Skewnorm
- [ ] Genexpon
- [ ] Gompertz
- [ ] Halfgenorm
- [ ] Invgauss
- [ ] Loggamma
- [ ] Wald
- [ ] Trapezoid
- [ ] Truncnorm
- [ ] Semicircular
- [ ] Dpareto
- [ ] Genextreme
- [ ] Genhyperbolic
- [ ] Geninvgauss
- [ ] Irwinhall
- [ ] JF_skew_t
- [ ] Kappa4
- [ ] Kappa3
- [ ] Ksone
- [ ] Kstwo
- [ ] Landau
- [ ] NCX2
- [ ] NCF
- [ ] NCT
- [ ] Relbretwinger
Discrete Distributions
- [ ] Betabinom
- [ ] Boltzman
- [ ] Dlaplace
- [ ] Geom
- [ ] Loyser
- [ ] Nbinom
- [ ] Yulesimon
- [ ] Zipf
- [ ] Randint
- [ ] Zipfian
- [ ] Nchypergeomfisher
- [ ] Nchypergeomwallnus
- [ ] Nhypergeom
- [ ] Poissonbinom
- [ ] Skellam
Multivariate Distributions
- [ ] Multivariate Hypergeometric
- [ ] Normal Inverse Gamma
- [ ] Random Table
- [ ] Multivariate Normal
- [ ] Matrix Normal
- [ ] Dirichlet
- [ ] Dirichlet Multinomial
- [ ] Wishart
- [ ] Inverse Wishart
- [ ] Multinomial
- [ ] Special Orthogroup
- [ ] Orthogroup
- [ ] Random Correlation
Related Issues
Related issues # , # , and # .
Questions
No.
Other
No.
Checklist
- [x] I have read and understood the Code of Conduct.
- [x] Searched for existing issues and pull requests.
- [x] The issue name begins with
RFC:.
@kgryte Your thought on this ? Do we have to include or exclude any distributions ?
Hey everyone! I'm Riya — a 2nd-year CS student from India and a hopeful GSoC 2026 contributor.
I’ve been exploring the stdlib repo recently and came across this incredible RFC. It’s super exciting to see such a rich list of distributions being proposed. I'd love to get started by contributing to one — maybe something like Lomax, Foldnorm, or even Poissonbinom to begin with.
Would it be okay if I open a sub-issue or start a draft PR? I’d really appreciate any pointers on where to start.
Thanks for keeping this project so open and beginner-friendly 💙
— Riya (@riyap03)
Hi 👋, I’m Anuj Mishra, and I’d like to contribute to this issue by implementing the Half-Normal distribution (@stdlib/stats/base/dists/halfnormal).
I plan to start with the PDF (Probability Density Function) implementation following the existing structure used for other distributions (e.g. normal, lognormal):
-
lib/index.jsfor the main implementation -
test/test.pdf.jsfor test cases -
fixtures/r/data.jsonfor reference data -
README.mdwith short documentation
Once the PDF implementation is complete, I’ll extend it with CDF, mean, and variance in follow-up PRs.
Could you please assign this issue to me so I can start working on it?
Thank you! 😊