Skip to content

We added some Miscellaneous distributions to extend the repertoire of distributions in Julia implemented by Distributions.jl

License

Notifications You must be signed in to change notification settings

Santymax98/ExtraDistributions.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExtraDistributions.jl

Stable Dev Build Status Coverage

The ExtraDistributions package is a comprehensive extension of Distributions. It is designed to expand the functionality of the base package by incorporating both discrete and continuous probability distributions that are not included in Distributions, either due to their specialized nature or because they are less commonly used. ExtraDistributions aims to provide a broader range of statistical tools for data analysis, simulation, and probabilistic modeling, catering to both academic and scientific needs where these additional distributions are essential.

Purpose and Scope

The purpose of ExtraDistributions.jl is to serve as a well-maintained repository for distributions that are too exotic or specialized to be included in the main Distributions.jl package. This includes distributions that are frequently required in specific fields of research but are not yet available in Julia, as well as new or experimental distributions that may not be widely used but have significant potential applications.

For instance, you can define the following distributions (among many others):

julia> using Distributions, ExtraDistributions
julia> BetaNegBinomial(r, α, β) # Discrete univariate
julia> Lomax(α, λ)              # Continuous univariate
julia> ZINB(r, θ, p)            # Discrete univariate
julia> Gompertz(η, b)           # Continuous univariate

These distributions, along with others like the ARGUS or Zero-Inflated Poisson (ZIP), are essential in various fields of research but are not included in the base Distributions.jl package. ExtraDistributions.jl provides these and more, ensuring that users have access to a broad spectrum of statistical tools.

Key Features

  • Extensive Range of Distributions: The package includes a wide variety of distributions, some of which are not commonly found in standard statistical libraries.
  • Seamless Integration: All distributions in ExtraDistributions.jl are fully compatible with Distributions.jl, making it easy to use them in conjunction with other packages in the Julia ecosystem.
  • Detailed Documentation: We are committed to providing thorough documentation, including usage examples, theoretical background, and references for each distribution. This will ensure that users can effectively implement and understand the distributions available in the package.
  • Community-Driven Development: We welcome and encourage community contributions, whether it's proposing new distributions, improving documentation, or contributing code to further expand the package.

Maintaining Relevance and Utility

Given the importance of these additional distributions in various academic and scientific applications, we are committed to the ongoing maintenance and development of ExtraDistributions.jl. Our goal is to ensure that the package remains a valuable resource for the Julia community. To support this, we are considering moving the package under the JuliaStats organization, which would provide additional support and visibility, ensuring its long-term sustainability.

With ExtraDistributions, you can:

  • Sample from distributions: Draw random samples from a variety of distributions.
  • Calculate moments and other properties: Obtain moments (such as mean, variance, skewness, and kurtosis), entropy, and other statistical properties.
  • Evaluate probability density/mass functions: Compute the probability density functions (pdf) and their logarithms (logpdf).
  • Utilize moment-generating, quantile, and characteristic functions: Access moment-generating functions, quantile functions, and characteristic functions for in-depth statistical analysis.

Future Directions

In the future, we plan to implement maximum likelihood estimators and potentially introduce additional multivariate distributions to further enrich the package.

About

We added some Miscellaneous distributions to extend the repertoire of distributions in Julia implemented by Distributions.jl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages