Best of the Week
Most Popular
1. Gold vs Cash in a Financial Crisis - Richard_Mills
2.Current Stock Market Rally Similarities To 1999 - Chris_Vermeulen
3.America See You On The Dark Side Of The Moon - Part2 - James_Quinn
4.Stock Market Trend Forecast Outlook for 2020 - Nadeem_Walayat
5.Who Said Stock Market Traders and Investor are Emotional Right Now? - Chris_Vermeulen
6.Gold Upswing and Lessons from Gold Tops - P_Radomski_CFA
7.Economic Tribulation is Coming, and Here is Why - Michael_Pento
8.What to Expect in Our Next Recession/Depression? - Raymond_Matison
9.The Fed Celebrates While Americans Drown in Financial Despair - John_Mauldin
10.Hi-yo Silver Away! - Richard_Mills
Last 7 days
US Coronavirus Trend Trajectory Forecast Current State - 7th Apr 20
Boris Johnson Fighting for his Life In Intensive Care - UK Coronavirus Crisis - 7th Apr 20
Precious Metals Are About To Reset Like In 2008 – Gold Bugs, Buckle Up! - 7th Apr 20
Crude Oil's 2020 Crash: See What Helped (Some) Traders Pivot Just in Time - 7th Apr 20
Was the Fed Just Nationalized? - 7th Apr 20
Gold & Silver Mines Closed as Physical Silver Becomes “Most Undervalued Asset” - 7th Apr 20
US Coronavirus Blacktop Politics - 7th Apr 20
Coronavirus is America's "Pearl Harbour" Moment, There Will be a Reckoning With China - 6th Apr 20
Coronavirus Crisis Exposes Consequences of Fed Policy: Americans Have No Savings - 6th Apr 20
The Stock Market Is Not a Magic Money Machine - 6th Apr 20
Gold Stocks Crash, V-Bounce! - 6th Apr 20
How Can Writing Business Essay Help You In Business Analytics Skills - 6th Apr 20
PAYPAL WARNING - Your Stimulus Funds Are at Risk of Being Frozen for 6 Months! - 5th Apr 20
Stocks Hanging By the Fingernails? - 5th Apr 20
US Federal Budget Deficits: To $30 Trillion and Beyond - 5th Apr 20
The Lucrative Profitability Of A Move To Negative Interest Rates - Pandemic Edition - 5th Apr 20
Visa Denials: How to avoid it and what to do if your Visa is denied? - 5th Apr 20 - Uday Tank
WARNING PAYPAL Making a Grab for US $1200 Stimulus Payments - 4th Apr 20
US COVID-19 Death Toll Higher Than China’s Now. Will Gold Rally? - 4th Apr 20
Concerned That Asia Could Blow A Hole In Future Economic Recovery - 4th Apr 20
Bracing for Europe’s Coronavirus Contractionand Debt Crisis - 4th Apr 20
Stocks: When Grass Looks Greener on the Other Side of the ... Pond - 3rd Apr 20
How the C-Factor Could Decimate 2020 Global Gold and Silver Production - 3rd Apr 20
US Between Scylla and Charybdis Covid-19 - 3rd Apr 20
Covid19 What's Your Risk of Death Analysis by Age, Gender, Comorbidities and BMI - 3rd Apr 20
US Coronavirus Infections & Deaths Trend Trajectory - How Bad Will it Get? - 2nd Apr 20
Silver Looks Bearish Short to Medium Term - 2nd Apr 20
Mickey Fulp: 'Never Let a Good Crisis Go to Waste' - 2nd Apr 20
Stock Market Selloff Structure Explained – Fibonacci On Deck - 2nd Apr 20
COVID-19 FINANCIAL LOCKDOWN: Can PAYPAL Be Trusted to Handle US $1200 Stimulus Payments? - 2nd Apr 20
Day in the Life of Coronavirus LOCKDOWN - Sheffield, UK - 2nd Apr 20
UK Coronavirus Infections and Deaths Trend Trajectory - Deviation Against Forecast - 1st Apr 20
Huge Unemployment Is Coming. Will It Push Gold Prices Up? - 1st Apr 20
Gold Powerful 2008 Lessons That Apply Today - 1st Apr 20
US Coronavirus Infections and Deaths Projections Trend Forecast - Video - 1st Apr 20
From Global Virus Acceleration to Global Debt Explosion - 1st Apr 20
UK Supermarkets Coronavirus Panic Buying Before Lock Down - Tesco Empty Shelves - 1st Apr 20
Gold From a Failed Breakout to a Failed Breakdown - 1st Apr 20
P FOR PANDEMIC - 1st Apr 20
The Past Stock Market Week Was More Important Than You May Understand - 31st Mar 20
Coronavirus - No, You Do Not Hear the Fat Lady Warming Up - 31st Mar 20
Life, Religions, Business, Globalization & Information Technology In The Post-Corona Pandemics Age - 31st Mar 20
Three Charts Every Stock Market Trader and Investor Must See - 31st Mar 20
Coronavirus Stocks Bear Market Trend Forecast - Video - 31st Mar 20
Coronavirus Dow Stocks Bear Market Into End April 2020 Trend Forecast - 31st Mar 20
Is it better to have a loan or credit card debt when applying for a mortgage? - 31st Mar 20
US and UK Coronavirus Trend Trajectories vs Bear Market and AI Stocks Sector - 30th Mar 20
Are Gold and Silver Mirroring 1999 to 2011 Again? - 30th Mar 20
Stock Market Next Cycle Low 7th April - 30th Mar 20
United States Coronavirus Infections and Deaths Trend Forecasts Into End April 2020 - 29th Mar 20
Some Positives in a Virus Wracked World - 29th Mar 20
Expert Tips to Save on Your Business’s Office Supply Purchases - 29th Mar 20
An Investment in Life - 29th Mar 20
Sheffield Coronavirus Pandemic Infections and Deaths Forecast - 29th Mar 20

Market Oracle FREE Newsletter


Agent-Based Modeling and the Occupy Wall Street Movement

Politics / Social Issues Mar 16, 2012 - 11:44 AM GMT

By: Ashvin_Pandurangi


Diamond Rated - Best Financial Markets Analysis ArticleHere at TAE, we like to apply the insights of systems theory to our global economic, financial, energy and environmental systems and think in big picture terms about how these systems evolve and interact. That is why, for example, we don't look at the S&P500 breaching 1400 as a sign that every major economic issue has been resolved and it is all smooth sailing from here. Indeed, the big picture perspective tells us it's only a matter of time, most likely weeks, before old issues in new disguises crop up and fear grips the collective once again.

The "problem" with complex systems analysis, if you want to call it a problem, is that it doesn't necessarily unfold in terms that are predictable, convenient, exacting and numbers-specific. In cultures that have evolved to value all of those things, it's difficult for people to understand why this perspective is so important. Fortunately, through the use of modern computer technology, there are ways in which we can visualize important aspects of these complex systems, such as emergent behaviors.

There are obviously no perfect representations of reality, but agent-based models can still provide valuable insights into complex dynamics. Which brings us to the following guest post, written by Jerry Mcmanus. It is an introduction to the development of agent-based models and, specifically, the modeling of collective human behavior.

Modeling Collective Behavior


�The fox knows many things but the hedgehog knows one big thing.� � Archilochus

We all carry with us in our heads a worldview, or mental model, of how the world works and our place in it. These worldviews are shaped throughout life from a number of influences, family, school, church, peers, but we rarely stop to examine these models, or to question the assumptions behind them.

UC Berkeley Professor Philip Tetlock in a study of the accuracy of predictions found that people who carry many models in their head, the foxes, are right far more often than people who carry one big model, the hedgehogs. Even better than foxes, however, are people who can create formal models. These are people who can put their assumptions about the world on paper (or rather a computer), and then test those models by running simulations through time with them.

People often misinterpret the purpose of formal models, thinking the intent is to make exact predictions, but this is only true in cases where precision is really needed such as engineering or physics. There is a whole world of complex systems and behaviors out there that is far more qualitative than quantitative, far more subjective than objective, far more unexpected and unpredictable, but this world too can be explored using models. Not with precise tools like those used in engineering, but with tools like agent based models.

What are agent based models?

Agent based models are at their heart a set of simple rules for behavior that are applied iteratively across a collection of agents, typically represented as cells on a grid. In fact, some of the very early models were developed not on early computers, but on playing boards from the game "go". Each iteration represents a step in time, and the outcome of the rules for a given time step is represented by the visual state of the agents, usually a change in color or position on the grid.

Note that these are simple rules based models and not behavioral or "rational actor" models familiar to economics and game theory.

One of the very first agent based models was John Conway's "game of life", also known as Cellular Automata. In this model a grid cell, or agent, has only two states: either alive or dead. Each agent is given two very simple rules for behavior:

(1) If the agent is already alive then the agent will only stay alive if 2 or 3 neighbors are also alive, otherwise it will die.

(2) If an agent is currently dead, then the agent will come to life if exactly 3 neighbors are alive, otherwise it will stay dead.

Sounds simple enough, but what came next was a real surprise. Depending on the starting configuration of the grid, those two simple rules when applied iteratively across all grid cells would often give rise to very complex patterns. When run over a number of time steps there also would arise complex "motions", not because the agents themselves were moving, they only had the two states of alive or dead, but because the patterns formed would exhibit aggregate behavior that appeared to grow and move across the grid.



Fig 1. Screenshots of "game of life" cellular automata. From left to right, starting position, after about 100 time steps, after about 1000 time steps


This was perhaps the most surprising observation of all, that a few very simple rules applied iteratively across a collection of agents could self organize into very complex patterns and behavior. Yet there was no way that outcome could have been predicted from the simple behavior rules alone. It was entirely emergent from the aggregate behavior of all the agents collectively.

Collective behavior and Sorting

This observation that agent based models can have unexpected behavior, that the macro behavior of agents is more than the sum of their micro motives, was further explored by Thomas Schelling in a model of social segregation. It has been observed that large cities typically have similar patterns of racial and economic segregation.



Fig 2. Racial segregation in New York city. Red is caucasian, blue is african american, yellow is latino, and green is asian.

This implies that at the individual level people have some tendency to be snobs or racist, but if you ask people most will say with some honesty that no, they are okay with a mixed neighborhood. Schelling tested this by creating an agent based model that gave each agent a threshold for how many neighbors of a different race or class could be tolerated. Beyond a given threshold the agent would move to a random empty spot on the grid until the threshold was tested again at the next time step. When all the agents were finally "happy" the simulation would stop.

What happened next was a surprise. Even when agents had fairly low thresholds, that is they could tolerate a fairly high number of different neighbors, there still occurred a high level of sorting behavior and patterns of distinct segregation emerged just like those seen in actual cities. 

Fig 3. Agents in Schelling's segregation model, starting with a random distribution on the left. Even with a low threshold of 40% similar, which is a fairly high tolerance for 6 out of 10 "different" neighbors, the end result on the right is segregation with agents enjoying 80% similar neighbors.

Once again, we see unexpected collective behavior not predicted by individual behavior rules. Complex systems self-organize, not from top down directives or even from strong individual motives, but from simple rules that lead to emergent aggregate behavior.

Collective behavior and peer effects

Mass movements of all kinds, social, political, economic, can be hard to predict. What are the factors that prompt some people to join in collective action, but not others? In Mark Granovetter's model of peer effects we explore this question of tipping points. Each individual agent is given a threshold representing the number of other agents that must be seen participating in an activity before the agent will join in.

Thus the simple behavior rule can be stated as:

  • If the number of agents in the movement is equal to or greater than my threshold, then I will also join the movement.

In this example we look at a fictional fashion movement that asks how many agents can be prompted to wear a purple hat.

In the first scenario the agents have a low threshold. Agent 1 with a threshold of 0 will wear a purple hat no matter what. This prompts agent 2 with a threshold of 1 to also wear a purple hat. This then prompts agents 3, 4, and 5 with a threshold of 2 to also wear a purple hat, at which point all the agents have joined and are now wearing purple hats.

Fig 4. A group of agents with low thresholds for wearing a purple hat. Even if only one or two agents start wearing a purple hat it will have a large peer effect.

The agents in the second scenario also have low thresholds. However, no agent has a threshold of 0 and therefore no agents start wearing a purple hat.

Fig 5. Another group of agents with low thresholds for wearing a purple hat. However, because no agents have a threshold of 0 then no one starts wearing a purple hat.

In the third scenario there is a high diversity of thresholds. The average threshold of the group is 2.5, which would seem to indicate that most of the agents would prefer not to wear a purple hat. However, because agent 1 has a threshold of 0 this prompts agent 2, which in turn prompts agent 3, and so on until all the agents are wearing purple hats. One agent was able to act as "the tail that wags the dog" and prompt a group with a diversity of relatively high thresholds to join in and wear purple hats.

Fig 6. Another group of agents, this time with a diversity of thresholds for wearing a purple hat. Despite the fact that the group has a high average threshold of 2.5, the presence of even one agent with a threshold of 0 eventually prompts all the other agents to wear a purple hat.

Thus we see that given the presence of at least a few "extremists" who initiate an action there are two scenarios that could lead to a mass movement. First, a low diversity of low thresholds in which everyone is more or less predisposed to peer effect and easily prompted to action. Second, a high diversity of thresholds in which the more who join, the more likely those with high thresholds will also join. The tail wagging the dog, so to speak.


Obviously complex adaptive societies and human behavior are far more complicated than these simple models can even begin to capture, and there are a number of other agent based models that explore the world in more detail. But, if our goal is to be better thinkers about the world, then even these few simple formal models are going to help us improve our mental models - to help us to be foxes instead of hedgehogs.

Now when we see reports about mass protests and other uprisings we have some simple models of collective behavior that can help us think more clearly about these events. For example, the recent Arab Spring, in which protests turned to revolutions that swept nations. Entire regimes fell before the masses of people out on the street. Was it because people collectively had very low thresholds for action, and therefore were already primed for revolution? That may easily be true for one area, maybe even a whole country, but extrapolating that across the entire region seems a bit of a stretch. Perhaps it was more an example of a few high visibility events, such as what happened in Tunisia, acting as the "tail wagging the dog" and provoking people with a diversity of thresholds into action.

The Occupy Wall Street movement, on the other hand, has so far barely made a ripple. Why? Is it because peoples thresholds are still too high for a mass movement to take off? Would a few more high visibility events make a difference in provoking people to action? Considering the media attention that the movement attracted at its height, it is probably the former. Should, however, economic or political events conspire to lower people's thresholds for action, then that could quickly change and we could see the movement take off again.

Further reading

A good article in the Atlantic about the early days of agent based models Seeing Around Corners

NetLogo is free software for building and exploring agent based models NetLogo

Ashvin Pandurangi, third year law student at George Mason University
Website: (provides unique analysis of economics, finance, politics and social dynamics in the context of Complexity Theory)

© 2012 Copyright Ashvin Pandurangi to - All Rights Reserved Disclaimer: The above is a matter of opinion provided for general information purposes only and is not intended as investment advice. Information and analysis above are derived from sources and utilising methods believed to be reliable, but we cannot accept responsibility for any losses you may incur as a result of this analysis. Individuals should consult with their personal financial advisors.

© 2005-2019 - The Market Oracle is a FREE Daily Financial Markets Analysis & Forecasting online publication.

Post Comment

Only logged in users are allowed to post comments. Register/ Log in

6 Critical Money Making Rules