Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erlang distribution documentation should show cdf/pdf or at least point out the difference to the cdf/pdf given by wikipedia #1911

Open
theplatters opened this issue Nov 7, 2024 · 1 comment

Comments

@theplatters
Copy link

"""
Erlang(α,θ)
The *Erlang distribution* is a special case of a [`Gamma`](@ref) distribution with integer shape parameter.
```julia
Erlang() # Erlang distribution with unit shape and unit scale, i.e. Erlang(1, 1)
Erlang(a) # Erlang distribution with shape parameter a and unit scale, i.e. Erlang(a, 1)
Erlang(a, s) # Erlang distribution with shape parameter a and scale s
```
External links
* [Erlang distribution on Wikipedia](http://en.wikipedia.org/wiki/Erlang_distribution)
"""

References the wikipedia page and gives a description of the parameters, (where the names given in the function signature differ from the names of the parameters in the docstring). However this is not consistent, because the function uses the reciprocal of the parameter lambda, which is never pointed out.

@theplatters
Copy link
Author

I have added a pull reques #1915

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant