SlideShare a Scribd company logo
1 of 21
Download to read offline
Forecasting social inequality using
agent-based modelling
PyData, 5th May 2017
James Allen
james@sandtable.com
Who do you give your wealth to?
ª Your partner?
ª Your children?
ª Your grandchildren?
ª Your great-grandchildren?
How does it affect their lives?
What are the long-term effects on society?
What happens when you die?
2
We should create simple ‘descendants trusts’ to encourage people to bequeath their
assets to their grandchildren and great-grandchildren rather than leaving them to their
children
Descendants trusts
3
Even if you are quite wealthy, it is very likely that at least some of your grandchildren and
great-grandchildren will have dropped out of your social class
David Halpern, The Hidden Wealth of Nations (2010):
4
The Guardian, 9th October 2016
5
The Guardian, 9th October 2016
The Guardian, 10th October 2016
6
Royal London, 18th April 2017
…the majority [of baby boomers] expect to pass some or all of this inheritance
‘straight on’ to the next generation…
…only around 4 million of the 17 million people in the 25-44 age group are in the
fortunate position of having grandparents with housing wealth
Simulations that work from micro-level behaviour to predict macro-level results
Agents can be individuals, households, corporations, countries…
Give the agents a set of behavioural rules, and an environment to interact with
Run the simulation and see what happens!
Test the consequences with agent-based models
7
Birth rate
Death rate
Coupling rate
Uncoupling rate
Distribution of wealth
Distribution of incomes
Connection between income and education
Connection between parents’ and children’s education
Almost all available from the Office of National Statistics
What data do we need?
8
One “tick” == one year. Each tick:
All agents grow older
All adults (18-65) earn money and save/invest 5% of their income
All adults earn 3% interest on their wealth
If single: chance of forming a couple
If in a couple: chance of splitting up
If in a couple: chance of having a baby
If 65: retire, putting half your wealth into an annuity
If retired: spend 1% of your wealth each year
All agents have a chance of dying
Behavioural rules
9
Two options:
1. Wealth is passed to your partner, and then to your children
2. Wealth is passed to your partner, and then put in an descendants trust
The trust pays out at age 18 (or immediately if you are over 18)
Run the model twice, once with each option, and compare results
Inheritance rules
10
11
https://github.com/sandtable/inheritance
Building the ABM in python
12
“Mary”Individual results: direct inheritance
13
“Paul”Individual results: descendants trusts
14
A measure of the level of inequality of the population
Gini = 0.00
Population results: Gini coefficient
15
A measure of the level of inequality of the population
Gini = 0.48
Population results: Gini coefficient
16
A measure of the level of inequality of the population
Gini = 0.75
Population results: Gini coefficient
17
Population results: Gini coefficient
18
Population results: Gini coefficient (age 20-39 only)
Descendants trusts increase the correlation between your and your parents’ wealth
...because you are often drawing from the same trusts
Effect goes away if the trusts pay out to only one generation instead of two
Assortative mating: partners tend to be similar to each other
The bad news
19
20
Population results: Gini coefficient (age 20-39 only)
Descendants trusts would, overall, decrease inequality...
...by transfering wealth to younger people
...by spreading wealth within each generation
They may increase the correlation between your and your parents’ wealth
Assortative mating reduces their effect
All this can be explored using agent based models
Conclusions
21
James Allen
james@sandtable.com
https://github.com/sandtable/inheritance

More Related Content

Similar to Forecasting social inequality using agent-based modelling

Exploring AI-Powered Writing Tools A Comparative Study - Cmd ...
Exploring AI-Powered Writing Tools A Comparative Study -  Cmd ...Exploring AI-Powered Writing Tools A Comparative Study -  Cmd ...
Exploring AI-Powered Writing Tools A Comparative Study - Cmd ...Angelica Ortiz
 
Andrew Quinn from Havas Worldwide on Generation Z
Andrew Quinn from Havas Worldwide on Generation ZAndrew Quinn from Havas Worldwide on Generation Z
Andrew Quinn from Havas Worldwide on Generation ZHavas People
 
Azavea: Mapping Insights You Never Even Knew You Had
Azavea: Mapping Insights You Never Even Knew You HadAzavea: Mapping Insights You Never Even Knew You Had
Azavea: Mapping Insights You Never Even Knew You HadKDMC
 
i CAN make a difference
i CAN make a differencei CAN make a difference
i CAN make a differenceAngelynKempe
 
MAGC Webinar October 2020
MAGC Webinar October 2020 MAGC Webinar October 2020
MAGC Webinar October 2020 Brian Housand
 
Mapping Insights You Never Knew You Had with Tyler Dahlberg
Mapping Insights You Never Knew You Had with Tyler DahlbergMapping Insights You Never Knew You Had with Tyler Dahlberg
Mapping Insights You Never Knew You Had with Tyler DahlbergKDMC
 
Engage Generation X In Giving
Engage Generation X In GivingEngage Generation X In Giving
Engage Generation X In Givingterwoz
 
Bringing it all together!
Bringing it all together!Bringing it all together!
Bringing it all together!Si Chun Lam
 
Presentation
PresentationPresentation
PresentationLHSICT
 
Increasing the size of the fundraising cake
Increasing the size of the fundraising cakeIncreasing the size of the fundraising cake
Increasing the size of the fundraising cakenfpSynergy
 
Hispanic Heritage Month Essay Paper. Online assignment writing service.
Hispanic Heritage Month Essay Paper. Online assignment writing service.Hispanic Heritage Month Essay Paper. Online assignment writing service.
Hispanic Heritage Month Essay Paper. Online assignment writing service.Michelle Franks
 
iCitizen Webinar Series: Recession-Rewired
iCitizen Webinar Series: Recession-RewirediCitizen Webinar Series: Recession-Rewired
iCitizen Webinar Series: Recession-RewiredResource/Ammirati
 
Using Computer Technology to Protect Individuals and Families
Using Computer Technology to Protect Individuals and FamiliesUsing Computer Technology to Protect Individuals and Families
Using Computer Technology to Protect Individuals and FamiliesLightedCandle
 
NEACAC 2012
NEACAC 2012NEACAC 2012
NEACAC 2012TargetX
 

Similar to Forecasting social inequality using agent-based modelling (20)

Exploring AI-Powered Writing Tools A Comparative Study - Cmd ...
Exploring AI-Powered Writing Tools A Comparative Study -  Cmd ...Exploring AI-Powered Writing Tools A Comparative Study -  Cmd ...
Exploring AI-Powered Writing Tools A Comparative Study - Cmd ...
 
Growing Up Gen Z
Growing Up Gen ZGrowing Up Gen Z
Growing Up Gen Z
 
Andrew Quinn from Havas Worldwide on Generation Z
Andrew Quinn from Havas Worldwide on Generation ZAndrew Quinn from Havas Worldwide on Generation Z
Andrew Quinn from Havas Worldwide on Generation Z
 
Marketing to Seniors
Marketing to SeniorsMarketing to Seniors
Marketing to Seniors
 
Durham troubled families
Durham troubled familiesDurham troubled families
Durham troubled families
 
Azavea: Mapping Insights You Never Even Knew You Had
Azavea: Mapping Insights You Never Even Knew You HadAzavea: Mapping Insights You Never Even Knew You Had
Azavea: Mapping Insights You Never Even Knew You Had
 
i CAN make a difference
i CAN make a differencei CAN make a difference
i CAN make a difference
 
MAGC Webinar October 2020
MAGC Webinar October 2020 MAGC Webinar October 2020
MAGC Webinar October 2020
 
Mapping Insights You Never Knew You Had with Tyler Dahlberg
Mapping Insights You Never Knew You Had with Tyler DahlbergMapping Insights You Never Knew You Had with Tyler Dahlberg
Mapping Insights You Never Knew You Had with Tyler Dahlberg
 
Engage Generation X In Giving
Engage Generation X In GivingEngage Generation X In Giving
Engage Generation X In Giving
 
Final Nacctep Mooks[1]
Final Nacctep Mooks[1]Final Nacctep Mooks[1]
Final Nacctep Mooks[1]
 
Bringing it all together!
Bringing it all together!Bringing it all together!
Bringing it all together!
 
Presentation
PresentationPresentation
Presentation
 
Trends with Tension
Trends with TensionTrends with Tension
Trends with Tension
 
Millenniale guide
Millenniale guideMillenniale guide
Millenniale guide
 
Increasing the size of the fundraising cake
Increasing the size of the fundraising cakeIncreasing the size of the fundraising cake
Increasing the size of the fundraising cake
 
Hispanic Heritage Month Essay Paper. Online assignment writing service.
Hispanic Heritage Month Essay Paper. Online assignment writing service.Hispanic Heritage Month Essay Paper. Online assignment writing service.
Hispanic Heritage Month Essay Paper. Online assignment writing service.
 
iCitizen Webinar Series: Recession-Rewired
iCitizen Webinar Series: Recession-RewirediCitizen Webinar Series: Recession-Rewired
iCitizen Webinar Series: Recession-Rewired
 
Using Computer Technology to Protect Individuals and Families
Using Computer Technology to Protect Individuals and FamiliesUsing Computer Technology to Protect Individuals and Families
Using Computer Technology to Protect Individuals and Families
 
NEACAC 2012
NEACAC 2012NEACAC 2012
NEACAC 2012
 

Recently uploaded

Networking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxNetworking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxHimangsuNath
 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxMike Bennett
 
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...Jack Cole
 
What To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxWhat To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxSimranPal17
 
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Boston Institute of Analytics
 
Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Cathrine Wilhelmsen
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxTasha Penwell
 
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelDecoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelBoston Institute of Analytics
 
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdf
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdfWorld Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdf
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdfsimulationsindia
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfblazblazml
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...Dr Arash Najmaei ( Phd., MBA, BSc)
 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...Amil Baba Dawood bangali
 
Rithik Kumar Singh codealpha pythohn.pdf
Rithik Kumar Singh codealpha pythohn.pdfRithik Kumar Singh codealpha pythohn.pdf
Rithik Kumar Singh codealpha pythohn.pdfrahulyadav957181
 
Learn How Data Science Changes Our World
Learn How Data Science Changes Our WorldLearn How Data Science Changes Our World
Learn How Data Science Changes Our WorldEduminds Learning
 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data VisualizationKianJazayeri1
 
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Boston Institute of Analytics
 
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024Susanna-Assunta Sansone
 
IBEF report on the Insurance market in India
IBEF report on the Insurance market in IndiaIBEF report on the Insurance market in India
IBEF report on the Insurance market in IndiaManalVerma4
 

Recently uploaded (20)

Networking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxNetworking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptx
 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptx
 
Insurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectInsurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis Project
 
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
 
What To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxWhat To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptx
 
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
 
Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
 
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelDecoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
 
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdf
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdfWorld Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdf
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdf
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
 
Data Analysis Project: Stroke Prediction
Data Analysis Project: Stroke PredictionData Analysis Project: Stroke Prediction
Data Analysis Project: Stroke Prediction
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
 
Rithik Kumar Singh codealpha pythohn.pdf
Rithik Kumar Singh codealpha pythohn.pdfRithik Kumar Singh codealpha pythohn.pdf
Rithik Kumar Singh codealpha pythohn.pdf
 
Learn How Data Science Changes Our World
Learn How Data Science Changes Our WorldLearn How Data Science Changes Our World
Learn How Data Science Changes Our World
 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data Visualization
 
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
 
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
 
IBEF report on the Insurance market in India
IBEF report on the Insurance market in IndiaIBEF report on the Insurance market in India
IBEF report on the Insurance market in India
 

Forecasting social inequality using agent-based modelling

  • 1. Forecasting social inequality using agent-based modelling PyData, 5th May 2017 James Allen james@sandtable.com
  • 2. Who do you give your wealth to? ª Your partner? ª Your children? ª Your grandchildren? ª Your great-grandchildren? How does it affect their lives? What are the long-term effects on society? What happens when you die? 2
  • 3. We should create simple ‘descendants trusts’ to encourage people to bequeath their assets to their grandchildren and great-grandchildren rather than leaving them to their children Descendants trusts 3 Even if you are quite wealthy, it is very likely that at least some of your grandchildren and great-grandchildren will have dropped out of your social class David Halpern, The Hidden Wealth of Nations (2010):
  • 4. 4 The Guardian, 9th October 2016
  • 5. 5 The Guardian, 9th October 2016 The Guardian, 10th October 2016
  • 6. 6 Royal London, 18th April 2017 …the majority [of baby boomers] expect to pass some or all of this inheritance ‘straight on’ to the next generation… …only around 4 million of the 17 million people in the 25-44 age group are in the fortunate position of having grandparents with housing wealth
  • 7. Simulations that work from micro-level behaviour to predict macro-level results Agents can be individuals, households, corporations, countries… Give the agents a set of behavioural rules, and an environment to interact with Run the simulation and see what happens! Test the consequences with agent-based models 7
  • 8. Birth rate Death rate Coupling rate Uncoupling rate Distribution of wealth Distribution of incomes Connection between income and education Connection between parents’ and children’s education Almost all available from the Office of National Statistics What data do we need? 8
  • 9. One “tick” == one year. Each tick: All agents grow older All adults (18-65) earn money and save/invest 5% of their income All adults earn 3% interest on their wealth If single: chance of forming a couple If in a couple: chance of splitting up If in a couple: chance of having a baby If 65: retire, putting half your wealth into an annuity If retired: spend 1% of your wealth each year All agents have a chance of dying Behavioural rules 9
  • 10. Two options: 1. Wealth is passed to your partner, and then to your children 2. Wealth is passed to your partner, and then put in an descendants trust The trust pays out at age 18 (or immediately if you are over 18) Run the model twice, once with each option, and compare results Inheritance rules 10
  • 14. 14 A measure of the level of inequality of the population Gini = 0.00 Population results: Gini coefficient
  • 15. 15 A measure of the level of inequality of the population Gini = 0.48 Population results: Gini coefficient
  • 16. 16 A measure of the level of inequality of the population Gini = 0.75 Population results: Gini coefficient
  • 18. 18 Population results: Gini coefficient (age 20-39 only)
  • 19. Descendants trusts increase the correlation between your and your parents’ wealth ...because you are often drawing from the same trusts Effect goes away if the trusts pay out to only one generation instead of two Assortative mating: partners tend to be similar to each other The bad news 19
  • 20. 20 Population results: Gini coefficient (age 20-39 only)
  • 21. Descendants trusts would, overall, decrease inequality... ...by transfering wealth to younger people ...by spreading wealth within each generation They may increase the correlation between your and your parents’ wealth Assortative mating reduces their effect All this can be explored using agent based models Conclusions 21 James Allen james@sandtable.com https://github.com/sandtable/inheritance