{"id":18015632,"url":"https://github.com/sbaldu/wealthdistributionmodel","last_synced_at":"2026-05-02T03:32:05.019Z","repository":{"id":129658770,"uuid":"558802093","full_name":"sbaldu/WealthDistributionModel","owner":"sbaldu","description":"Model for the distribution of wealth in a community","archived":false,"fork":false,"pushed_at":"2024-03-15T17:45:26.000Z","size":2457,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T15:17:32.882Z","etag":null,"topics":["complex-systems","cpp","econophysics","modelling","pybind11","python"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbaldu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-28T10:29:28.000Z","updated_at":"2024-01-31T10:11:41.000Z","dependencies_parsed_at":"2024-10-30T04:35:02.993Z","dependency_job_id":null,"html_url":"https://github.com/sbaldu/WealthDistributionModel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sbaldu/WealthDistributionModel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbaldu%2FWealthDistributionModel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbaldu%2FWealthDistributionModel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbaldu%2FWealthDistributionModel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbaldu%2FWealthDistributionModel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbaldu","download_url":"https://codeload.github.com/sbaldu/WealthDistributionModel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbaldu%2FWealthDistributionModel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["complex-systems","cpp","econophysics","modelling","pybind11","python"],"created_at":"2024-10-30T04:14:36.389Z","updated_at":"2026-05-02T03:32:04.997Z","avatar_url":"https://github.com/sbaldu.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wealth Distribution Model\n\n## Abstract\nPurpose of this project is to simulate money exchanges between people using a very simplified model that only takes into account random interactions.\nFirst, the study will address a fair game, i.e. a game in which every agent has\nthe same probability of winning or losing as compared to the other one. Calling α the initial capital of each agent, this analysis will provide a theoretically\npredicted exponential trend with both parameters ≃ α−1. Unfortunately, this\ntrend seems very unlikely.\nWe’ll try to improve the model introducing the so-called preferential attachment, that means that the probability to win will be proportional to the\namount of money possessed. This will provide a power trend with constant\n≃ −2, that can be connected to a Zipf’s law, that most countries seem to\nfollow. For last, we’ll try to expand again the model introducing a new parameter intended to represent the saving tendency of each agent. This will\nresult in two main trends, one exponential on lower capitals and one power\nat higher capitals, in good agreement with real data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbaldu%2Fwealthdistributionmodel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbaldu%2Fwealthdistributionmodel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbaldu%2Fwealthdistributionmodel/lists"}