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

Add alternative parametrization for beta distribution #94

Merged
merged 2 commits into from
Nov 10, 2022
Merged

Conversation

aloctavodia
Copy link
Contributor

Extends the Beta distribution to be parametrized in terms of mu and sigma (standard deviation) or mu and kappa (concentration).

This also works as a reference for future alternative parametrization of other distributions. The approach is to use one parametrization for all internals and just have a few functions to convert from that parametrization to the others. The conversion is to keep all parameters values updated (even those not directly set by the user) and to report (plots and string repr) the parameters using the user's choice.

@aloctavodia aloctavodia merged commit 970ba23 into main Nov 10, 2022
@aloctavodia aloctavodia deleted the alt_beta branch November 10, 2022 12:10
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

Successfully merging this pull request may close these issues.

1 participant