Peter Norvig's Economic Simulation (2018)
github.com
github.com
I think this is more of a gambling simulation than an economic one.
However, even with positive-sum games, the nature of the transaction can have big impact on the wealth inequality. There's a great writeup on that in https://jasoncollins.blog/2020/01/22/ergodicity-economics-a-...
In the real world, the total wealth increases but the proportion might still stay the same. You could basically get the same in the simulation if you were to add some linear offset that's based on the timestep.
1) It doesn't perform any analysis of the individual population members between time-steps. A members of the population jumps randomly within the income distribution after a transaction and the plots don't account for this. I would like to see the average wealth of each of the population members over time. I'm guessing it will be 100.
2) The transaction function is entirely unrealistic causing and making addressing 1) pointless since each population member is essentially a new born between time steps.
That said, it an interesting exercise in how one can generate a beta-like distribution.
Overall, this is too far removed from reality to be of use in debating how to address income inequality.
Same with the store: why bother selling the food for money? If the value is the same, why doesn’t the store just keep the food and save themselves the trouble?
Well I for one always took issue with the rational consumer model. It is possible that people trade things they value for things they don't, because people do not always act rationally.
By the way, economic concepts are statistics. Arguments are only meaningful on large number of samples or over long period of time.
* The company now has more money for research and development, which will result in the creation of new value.
* Demand has been demonstrably increased (from the moment before the transaction), providing a small but real signal that production should increase. Increased production will result in new value being created.
And so on. This is all on average, of course. Some companies destroy value through incompetence, ignorance, malicious action, or other mechanisms.
Let’s say I buy something from you and I pay you $7 for it. Then, I sell it for $10.
In this case, my cost $7, my revenue is $10, and the value I got from your item is $3.
It’s not always this clear cut, but sometimes it is.
For Bill Gates, 3 dollars is near worthless.
For a poor, 3rd world country citizen living on less than a dollar a day, 3 dollars is very valuable.
Secondly, from your point of view it might be that 3 is 3. But if we look at the entire economy, things get extremely muddy. Maybe those ten dollars that the transaction is based on come from a loan based on a quantifier. So the bank lend out 10 dollars based on a 1 dollar holding. Now the money supply has increased, which all things equal will lower the value of each dollar.
But all things are not equal. The economy is growing and if it is growing faster than the money supply is growing then the value of the dollar is still growing.
The value of those 3 dollar profit is
3/[size of money supply] x [value of economy]
And valuating the economy is extremely difficult. To the point where you could call it subjective.
Which is better: everyone is always mediocre, or everyone gets to be super rich for a bit and poor for awhile?
I also created a sum positive version of his sim awhile back, and one interesting outcome is that monopolies became essential for stabilizing the economy in the face of catastrophic recessions. And if we had the zero sum economy where everyone is mediocre, then no one survives catastrophic recessions.
So, capitalism and monopolies seem to be the best overall in terms of survival benefit, and wealth redistribution schemes get wiped out by natural selection. I guess that's what happened to the USSR during the Cold War.
> Which is better: everyone is always mediocre, or everyone gets to be super rich for a bit and poor for awhile?
This wouldn't agree with real life, it's been shown that rich stay rich and poor stay poor with much higher frequency than chance, almost always. https://fivethirtyeight.com/features/rich-kids-stay-rich-poo...
https://www.cnbc.com/2019/05/29/study-to-succeed-in-america-...
Not in the tech sector. Everyone is competing for monopoly position for each area and niche. Once an area is monopolized, the incumbent gets complacent and inefficient but doesn't lose their winning position.
Also people don't make money by creating value, they make money by picking the winners and following the money.
Sure, VCs make a few negative sum trades when they invest in companies that aren't going to generate the exit they were hoping for, but they're aware of that and trying to balance them out with ridiculously positive sum investments anyway...
This is still creating value.
There will always be competition for resources. It’s my observation that every proposal to eliminate that coincidentally allocates more resources to the proposer or a group he identifies with.
Laissez-faire is no exception. In fact I’ve never heard of one.
Investors win, founders win, everyone else loses. To say that it's a zero sum game is actually a very generous way to put it.
I have heard this argument numerous times, and I'm sick of hearing it over and over again.
Yes, real world economy is (almost) practically a zero-sum game.
Look at GDP growth rate. A rate of 4-6% of a developed country, with population growth of 1-3% is considered a success (after accounting for inflation). Don't tell me tens of millions of individuals can get out of low-income situation, and billionaires can still keep getting rich, with a measley overall growth of 4-6%. The situation is even worse when every few years, it dips to 2%, 0%, or even goes negative.
With a total best-case growth of 4-6%, in a population growing 1-3%, you have to make many folks worse off in order to get ahead.
>With a total growth of 4-6%, you have to make many folks worse off in order to get ahead.
I mean, kinda, in that if you make something really good you make the person that made something slightly worse worse off, as they now don't get the money you earn instead? But this is not what you mean.
> Don't tell me tens of millions of individuals can get out of low-income situation, and billionaires can still keep getting rich, with a measley overall growth of 4-6%.
The way billionaires are rich is by controlling organisations that provide a lot of value and capture some of that value for themselves. One of them getting 10% 'richer' on paper doesn't mean that organisation grabbed some more resources from others; it's not real, current wealth, it's estimated value of total future income from that organisation.
So yes you can totally have those organisations become more valuable by more than 4-6% a year without other people losing out. You're confusing the total amount of value/utility produced in a year (which GDP is more-or-less trying to estimate) with projected total amount of value produced in all future years.
Wow, so I guess I was living with the wrong understanding of positive-sum all this time.
Positive sum doesn't just mean win-win. It also includes win-lose because the winning side actually won.
Got it.
Suppose I each year I produce two eggs and you produce two slices of bacon. We both value these at $1 each. The total value produced this year was $4.
Next year, we produce the same, but we agree to a trade - one egg for one slice of bacon. Egg with bacon is clearly superior to just two eggs or just two slices of bacon for breakfast; so we value the combo of egg+bacon at $3, giving total value of $6.
Next year, we do the same. Total value was just $6, for 0% growth. However, that doesn't mean there was a 'winning side' to the trade. It just means the previous estimate for produced value already included the benefits of the trade, so there's been no change.
When your example is included in Norvig's simulation, it will result in two parties coming together, and instead of an interaction of (-1, +1), the interaction (+1, +1) will happen.
However, when such interactions are randomly mixed with zero-sum trades, and the simulaion is run over N (population) and t (time), it will result in net wealth W_after > W_before.
In order to mimic real-world scenario, the prob distribution has to be chosen such that the W_after is between 0.98 to 1.06 of W_before (in other words, between -2% to 6% growth, more or less). Anything far outside this bound would be highly unrealistic for a functioning economy.
However, when you impose this condition, you would realize that the (+1, +1) events have negligible impact, and that (-1, +1) type of events dominate. In other words, Norvig's conclusion pretty much does not change.
And that is my point. Mixing in a fraction of individual positive-sum interactions doesn't change the results, if the total wealth growth is capped based on real-world macroeconomic data.
No, you're missing the point.
0.98 to 1.06, to borrow your numbers, is the ratio of GDP one year to GDP the previous year. It is not the ratio of GDP accounting for positive-sum trades to GDP under only zero-some trades, and falsely equating those is disingenuous at best. The latter ratio might well be an order of magnitude larger.
I'm in favour of more redistribution but I think you're barking up the wrong tree.
Long term growth forecasts trail off to more like 1 percent as we hopefully stop unsustainable use of finite resources. Doubling is much slower then.
Are you telling me that capital powerhouses aiming for 8-20% year over year, and consistently having it their way, in an economy of best case 4-6% with instances of 2%, 0%, and negative mixed in, and a population consistently growing by 1-3%, still leaves the rest of the population with growth?
Can I sell you a bridge?
Where did that 4-6% growth come from? Did it rain down from heaven and were all scrabbling for our share of it? No, it came from positive sum trades where value was added. An enterprise that develops a new technology, that makes an economic activity dramatically more efficient might sell that and become very successful. It might achieve 20% growth in its industrial sector and also boost the growth of its customers due to their better technology or more efficient services.
It’s _this_ sort of activity that much of that 4-6% overall growth is coming from. It’s not draining away growth from others, it’s making the growth in the first place.
I only assumed that to be charitable to OC's argument. If we don't assume that, then OC's criticism of Norvig's simulation assumptions is even more invalid (only slightly so though; it's already invalid enough).
I would be interested to see death included in the model, as that is an important and common way that pools of wealth get redistributed over the long term in an economy.
Only in the narrowest sense of 'redistributed' though, right? I.e. upon death wealth typically transfers to kin, modulo whatever estate taxes apply for a given country.
Programming in scheme forced me to think and code with a functional mindset. Python never forced me like that, even though you could stick to a functional subset of python (essentially forcing yourself).
I've also realized that a strictly functional mindset doesn't match well with CS curriculum. Case in point, there is a textbook called purely functional data structures, and I'm personally fully convinced that there is a whole class of functional algorithms that I have not explored, and these look nothing like the usual algorithms and data structures taught in a standard CS curriculum.
I also believe that SICP doesn't even scratch the surface of this different kind of thinking. SICP is small booklet of (dynamically typed) functional programming 101.
So if your standard CS graduate doesn't have a bleep of an idea about how to think with a functional mindset, and all of a sudden, has to program in a language which practically forces you to do so, they're going to have a bad time.
P.S.: You could develop an imperative framework on top of scheme (or lisp) and move on with your life, never having to think functionally. But that's a whole different story.
Schools are trying to strike a balance between theory and practice. A strictly functional mindset is, for one, a pretty limited way of viewing computing, but also disconnected from how CPUs actually work.
I was lucky to study in a very good one, so not only did I got exposed to all programming paradigms during those 5 years, I also got access to a rich library that exposed me to the real history of systems programming across several platforms all the way back to the late 50's, due to their rich book and conference proceedings collection.
Or is he assuming that the simulation is unaffected by working with normalized numbers?
My gut says both assumptions need to at least be justified. I'd be happier to see an actual wealth creation mechanism added.
Also, the final metric (Gini coefficient, aka the jealousy index), how much does it actually to speak to individual's happiness? A rather controversial choice: happiness is probably much correlated to absolute rather than relative wealth, something Gini entirely fails to capture.
Studies show that it's much more complex than that. Basically both are always a factor, but if you're below a certain level absolute wealth is the most important factor, but once a above a certain level relative wealth dominates[1]. The level where the switch over happens differs quite a bit between countries and places, although most studies looking at salary seem to put it in the $75k-$120k/year range for the US. All that being said most studies also find that income/wealth (both absolute and relative) have relatively small impact on overall happiness when compared to other factors.
[1] https://link.springer.com/article/10.1007/s11205-007-9217-0
Of course production is also part of the economy but that is not what he's modelling. He's modelling the distribution of the wealth created.
Of course you could model positive-sum trades but that just affects how much wealth is distributed after in each transaction, not how.
> A rather controversial choice: happiness is probably much correlated to absolute rather than relative wealth,
Absolutely not. Else our ancestors would all have died of depression in the stone age.
https://www2.econ.iastate.edu/tesfatsi/StandingOvation.Mille...
But I think the statistics chosen to compare to the real world are a little cherry picked? The wealth distribution matches, but in the simulation, I think the identities of the wealthy change over time. The rich get poor, then rich again, then poor again. Over an infinite time, everyone is in every wealth percentile.
But an important political economic problem in the real world is that the rich stay rich and the poor stay poor. So in that regard the simulation does a poor job of explaining income and wealth inequality.
I’m not sure if this 100% true. The highly visible super rich like Bezos and Gates and, say, the top 50 billionaires may stay rich, but the merely rich like millionaires and low billionaires are more likely to have turnover in their ranks. I recall seeing some data on this but forgot where. Will post if I can find it.
If you assume that the claim "the rich becomes richer" is true—which seems to be the case in this simulation—then the thing to find out is probably, "why?" and "what can be done to make a more fair distribution?" Given that this system is even unfair that is. As I see it, this is clearly up for discussion (i.e. whether what is basically Capitalism is unfair), though the simulation does not take it up explicitly, and instead merely hinting to that with such a system, the rich would necessarily become richer, and the poor poorer.
I mean, who said economic equality is even a goal? Do not those who make life better for others, also deserve a good life themselves? And if you don't make life better for others, you obviously still deserve to live, but do you deserve as much comfort and self-determination (in terms of economic wealth) as those who manage to offer more?
Not sure why you even went there since I said nothing about it. But imho any discussion of economic inequality that doesn’t take into account the different between inequality due to wealth creation and inequality due to wealth extraction is disingenuous and likely a smokescreen.
Inequality due to differences in ability to create wealth is absolutely fine. That’s capitalism at its best, and is the “make life better for others” you’re talking about. Silicon Valley startup ecosystem is the penultimate example, along with various manufacturing activities and energy production.
Raw materials + innovation + capital + labor + time = useful new physical things worth more than the sum of their inputs = wealth creation. I’m all for people getting filthy rich this way, it ultimately benefits all of society and is how we advance the human race (for the most part, minus our failure at dealing with some externalities like pollution).
But inequality due to wealth extraction is a problem, and becoming an increasingly bad one, in the US at least. Wealth extraction is about market failure. One or few entities corner a market, drive out competitors (or collude) and drive up prices.
Examples are the Telecoms and Internet service in the US blocking last mile alternatives, or an increasingly consolidated and powerful banking sector that can privatize profits and socialize losses, or hospital billing administrators enriching themselves by creating obfuscated pricing schedules based not on what some medical service costs to provide, but on what they can get the insurance companies to pay. Things like that.
It’s extremely important that this conversation about inequality constantly makes this distinction, lauds and exonerates wealth creators while closely scrutinizing and course correcting wealth extraction. Otherwise you get revolts like the Bolshevik Revolution, French Revolution, Occupy Wall Street, etc full of people who are just so angry, fed up, and oblivious to the difference, that they will throw out the baby with the bath water if given the chance. Then we all become worse off.
I would be very interested to see, how the "connectivity" and information would affect transactions. For example, I am more inclined to buy from Apple because Apple is a well-known company and my friends bought from there. The more you are known, the more transactions you can expect to make.
An easier first step for the interested beginner would be modelling visibility as a kind of dynamic network. That leads to interesting considerations about imperfect information and agents’ profit-maximisation under such conditions.
(Economist here.)
If you have these two things, you get 80-20 like distributions, you get the explanation for why winners keep winning. If you are interested, you can find my simulation and analysis at
http://www.cs.toronto.edu/~arnold/research/80-20/
Kind of shocking how well this works. The intuition is, why has coke won, well they had some initial advantage, and so they won a bit. Now that they have won a bit, they can finance themselves into more competition. For example, they can place themselves into more stores, into more restaurants etc. Now they get a chance to compete more.
Running the simulation yields interesting results, for example, in the two columns below, the left is Household income in 1970 broken into quintiles. The right column is simulation results.
4.1% 6.7%
10.8% 11.5%
17.4% 16.0%
24.5% 23.3%
43.3% 45.6%
Interesting how well the top 3 or 4 quintiles match between the simulation and the real world data.If you run the simulation with different rules, the real world quintiles do not match the simulation quintiles nearly as well. You can tweak the simulation to see this as well.
The simulation can be tweaked to handle cases such as inheritance, so an actor with different ability inherits the wealth of a past actor.
I modified the simulation as follows:
I allowed it to evolve for a single generation, enough time for the top 20% of the population to have 80% of the wealth. I now choose a random sample from the top 20% of the population to follow, lets call them T20.
I now repeatedly
1) pass the wealth of all actors to actors with new, random abilities
2) let the new actors compete for a generation (the same number of competitions we used above)
Result: After 3 generations of steps 1 and 2 above, 80% of T20 has lost almost all their wealth, 10% has lost 75% of their wealth, 10% has done really well, growing it by a factor of 8, due to capable ancestors for three generations.
Amazing, it matches the statistics in https://www.theglobeandmail.com/globe-investor/globe-wealth/...
I wonder what those preconceptions might be.
This model looks at the case where everything is fair and everybody is equal. In the sense it's the best possible world scenario and it demonstrates that inequality builds up even if no player is better than other.
I’ve modelled the economy too. For simplicity, I model every actor as a pool ball on a pool table. Collisions are transactions.
While simple, my model really challenged some preconceived notions about how the economy works.