Distributions.jl

A Julia package for probability distributions and associated functions.

Github星跟蹤圖

Distributions.jl

Travis status
Appveyor status

Coverage Status

A Julia package for probability distributions and associated functions. Particularly, Distributions implements:

  • Moments (e.g mean, variance, skewness, and kurtosis), entropy, and other properties
  • Probability density/mass functions (pdf) and their logarithm (logpdf)
  • Moment generating functions and characteristic functions
  • Sampling from population or from a distribution
  • Maximum likelihood estimation

Note: The functionalities related to conjugate priors have been moved to the ConjugatePriors package.

Resources

Contributing

Reporting issues

If you have a bug linked with Distributions, check that it has
not been reported yet on the issues of the repository.
If not, you can file a new issue, add your version of the package
which you can get with this command in the Julia REPL:

julia> ]status Distributions

Be exhaustive in your report, give the summary of the bug,
a Minimal Working Example (MWE), what happens and what you
expected to happen.

Workflow with Git and GitHub

To contribute to the package, fork the repository on GitHub,
clone it and make modifications on a new branch,
do not commit modifications on master.
Once your changes are made, push them on your fork and create the
Pull Request on the main repository.

Requirements

Distributions is a central package which many rely on,
the following are required for contributions to be accepted:

  1. Docstrings must be added to all interface and non-trivial functions.
  2. Tests validating the modified behavior in the test folder. If new test files are added, do not forget to add them in test/runtests.jl. Cover possible edge cases. Run the tests locally before submitting the PR.
  3. At the end of the tests, Test.detect_ambiguities(Distributions) is run to check method ambiguities. Verify that your modified code did not yield method ambiguities.
  4. Make according modifications to the docs folder, build the documentation locally with $ julia docs/make.jl, verify that your modifications display correctly and did not yield warnings.

Citing

See CITATION.bib, or use the DOI badge above.

主要指標

概覽
名稱與所有者JuliaStats/Distributions.jl
主編程語言Julia
編程語言Julia (語言數: 1)
平台
許可證Other
所有者活动
創建於2012-11-09 20:01:33
推送於2025-06-18 14:34:38
最后一次提交2025-06-18 16:31:51
發布數263
最新版本名稱v0.25.120 (發布於 2025-05-11 07:25:12)
第一版名稱0.2.2 (發布於 )
用户参与
星數1.2k
關注者數39
派生數428
提交數1.9k
已啟用問題?
問題數958
打開的問題數341
拉請求數746
打開的拉請求數109
關閉的拉請求數165
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?