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

feat: Add Pareto Distribution #2878

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

LidiaDomingos
Copy link

@LidiaDomingos LidiaDomingos commented Oct 23, 2024

Description of Change

This feature proposes implementing the Pareto distribution to generate random numbers or model data in circumstances where the 80/20 rule applies (https://en.wikipedia.org/wiki/Pareto_distribution). When modeling phenomena with a heavy tail, including wealth distribution, natural phenomena, or other skewed distributions where a few number of occurrences account for the majority of the effect, the distribution is especially helpful. The feature should offer capabilities for sampling from the distribution and let users set the shape parameter (α) and scale (xm) parameter.

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes: I think the Pareto distribution is important because it is used in various disciplines, including economics, finance, and environmental research. In my instance, I used for modeling data where a small subset of the population has a significant impact, such as income distribution or asset allocation.

@LidiaDomingos
Copy link
Author

fixed compile checks

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