Distributions.jl implements probability distributions and related functions for Julia. It provides PDFs, moments, entropy, sampling, and maximum likelihood estimation.
Overview
Distributions.jl is a Julia package centered on probability distributions and the functions that accompany them. It is positioned as a core dependency for statistical work in the Julia ecosystem.
Implemented capabilities include moments such as mean, variance, skewness, and kurtosis, plus entropy and other distributional properties. Users can evaluate probability density or mass functions and their logarithms, work with moment-generating and characteristic functions, draw random samples, and perform maximum likelihood estimation.
Functionality that formerly lived here for conjugate priors has moved to the separate ConjugatePriors package. Documentation is published online, and the maintainers direct support questions to the Julia Discourse forum and official Julia chat channels rather than using the GitHub issue tracker for general help.
Key features
- Probability density and log-density functions
- Moments, entropy, and distributional properties
- Random sampling from distributions
- Maximum likelihood estimation
- Moment and characteristic functions
- Central package for JuliaStats workflows
- Published API documentation
- Community support via Discourse
Use cases
- Statistical modeling in Julia
- Monte Carlo simulation sampling
- Fitting parametric models with maximum likelihood
- Building higher-level stats packages
- Teaching probability in Julia notebooks