• Stars
    star
    1,057
  • Rank 42,009 (Top 0.9 %)
  • Language
    Julia
  • License
    Other
  • Created over 11 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Julia package for probability distributions and associated functions.

Distributions.jl

Build Status Coverage Status Aqua QA

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 a 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, summarize the bug, and provide: 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 corresponding modifications to the docs folder, build the documentation locally and verify that your modifications display correctly and did not yield warnings. To build the documentation locally, you first need to instantiate the docs/ project:

    julia --project=docs/
    pkg> instantiate
    pkg> dev .
    

    Then use julia --project=docs/ docs/make.jl to build the documentation.

Citing

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

More Repositories

1

GLM.jl

Generalized linear models in Julia
Julia
564
star
2

StatsBase.jl

Basic statistics for Julia
Julia
558
star
3

Distances.jl

A Julia package for evaluating distances (metrics) between vectors.
Julia
408
star
4

MixedModels.jl

A Julia package for fitting (statistical) mixed-effects models
Julia
393
star
5

MultivariateStats.jl

A Julia package for multivariate statistics and data analysis (e.g. dimension reduction)
Julia
361
star
6

Clustering.jl

A Julia package for data clustering
Julia
339
star
7

TimeSeries.jl

Time series toolkit for Julia
Julia
333
star
8

HypothesisTests.jl

Hypothesis tests for Julia
Julia
285
star
9

StatsModels.jl

Specifying, fitting, and evaluating statistical models in Julia
Julia
247
star
10

StatsFuns.jl

Mathematical functions related to statistics.
Julia
223
star
11

MLBase.jl

A set of functions to support the development of machine learning algorithms
Julia
186
star
12

Klara.jl

MCMC inference in Julia
Julia
168
star
13

KernelDensity.jl

Kernel density estimators for Julia
Julia
162
star
14

RDatasets.jl

Julia package for loading many of the data sets available in R
R
156
star
15

Lasso.jl

Lasso/Elastic Net linear and generalized linear models
Julia
139
star
16

StatsKit.jl

Convenience meta-package to load essential packages for statistics
Julia
137
star
17

PDMats.jl

Uniform Interface for positive definite matrices of various structures
Julia
103
star
18

Loess.jl

Local regression, so smooooth!
Julia
95
star
19

GLMNet.jl

Julia wrapper for fitting Lasso/ElasticNet GLM models using glmnet
Julia
95
star
20

NMF.jl

A Julia package for non-negative matrix factorization
Julia
89
star
21

Survival.jl

Survival analysis in Julia
Julia
69
star
22

LogExpFunctions.jl

Julia package for various special functions based on `log` and `exp`.
Julia
68
star
23

Statistics.jl

The Statistics stdlib that ships with Julia.
Julia
63
star
24

TimeModels.jl

Modeling time series in Julia
Julia
57
star
25

DataArrays.jl

DEPRECATED: Data structures that allow missing values
Julia
53
star
26

PGM.jl

A Julia framework for probabilistic graphical models.
Julia
52
star
27

ConjugatePriors.jl

A Julia package to support conjugate prior distributions.
Julia
45
star
28

SVM.jl

SVM's for Julia
Julia
41
star
29

Roadmap.jl

A centralized location for planning the direction of JuliaStats
35
star
30

NullableArrays.jl

DEPRECATED Prototype of the new JuliaStats NullableArrays package
Julia
35
star
31

Distance.jl

Julia module for Distance evaluation
Julia
27
star
32

DimensionalityReduction.jl

Deprecated in favor of MultivariateStats.jl
Julia
27
star
33

Rmath-julia

The Rmath library from R
C
25
star
34

RegERMs.jl

DEPRECATED: Regularised Empirical Risk Minimisation Framework (SVMs, LogReg, Linear Regression) in Julia
Julia
17
star
35

StatsAPI.jl

A statistics-focused namespace for packages to share functions
Julia
17
star
36

Rmath.jl

Archive of functions that emulate R's d-p-q-r functions for probability distributions
Julia
16
star
37

JuliaStats.github.io

The home page of JuliaStats
CSS
11
star
38

NullableStats.jl

DEPRECATED: Statistical functionality for NullableArrays
Julia
4
star
39

RmathBuilder

Builder repository for rmath-julia
Julia
3
star
40

RmathDist.jl

Julia interface to Rmath distribution functions
Julia
3
star