š¹ A Random Walk with Hamlet
āGod does not play dice with the universe.ā - Albert Einstein
The Science of Surprise
Let us then examine the street traffic data we have gathered for any āmodel-likeā pattern! Is our data clean? Do we have two columns of data, one containing 60counts of vehicles, and the other containing inter-vehicular gap times in seconds?
We will use a tool called, ahā¦ummā¦ahemā¦erā¦WTFcsv. Let us first quickly see what this tool offers us!
Let us import our data into the WTFcsv tool and see what patterns lurk beneath our data!
Discussion-1
- There were similar patterns in everybodyās data š®
- What we saw was an example of the Poisson Arrival Process.
- This has applications in Service Design, Traffic Management, Logistics, Finding Defects in Materials, Weather Modelling, Pest Controlā¦
From https://stats.stackexchange.com/a/297375:
(Say) Lambda(\(\lambda\)) is the average number of cars that pass per unit of time, letās say 60/hour (\(\lambda\) = 60). We know, however, that the actual number will vary - some days more, some days less. The Poisson Distribution allows us to model this variability.
Now, an average of 60 cars per hour equates to an average of 1 car passing by each minute. Again though, we know thereās going to be variability in the amount of time between arrivals: Sometimes more than 1 minute; other times less. The Exponential Distribution allows us to model this variability.
All that being said, cars passing by on a road wonāt always follow a Poisson Process. If thereās a traffic signal just around the corner, for example, arrivals are going to be bunched up instead of steady. On an open highway, a slow tractor-trailer may hold up a long line of cars, again causing bunching. In these cases, the Poisson Distribution may still work okay for longer time periods, but the exponential will fail badly in modeling arrival times.
Note also that there is huge variability based on time of day: busier during commuting times; much slower at 3am. Make sure that your lambda is reflective of the specific time period you are considering.
Lambda then becomes a parameter of the model. And the higher the \(\lambda\), the more the traffic. Hence shorter the average inter-vehicular gap time, which is \(\Large{\sim \frac{1}{\lambda}}\).
- So everything random is not really random?
- Is anything random at all?
- Does seeing a pattern make it ānot randomā?
- Are we just Victims of Randomness and cannot do much else but put up with it?
Poisson Distribution as a 4As Complexity Idea?
Consider a coin toss. One gets HEAD(H) or TAIL(T), and if the coin is fair, the long term chances of getting a H or a T are even. If one tosses a single coin several times, one gets different sequences of Hs and Ts.
If we assume that an H means people get into their car and drive, what can we say of many many people? They are all tossing coins, so to speak, and leave only if they get a H. Each sequence of Hs and Ts is a manifestation of car traffic, with H being a vehicle, and T being no vehicle.
In a large society with \(\large{n~ -> \infty}\), not many people drive out at any given time, so \(p\) is low. So the product \(\large{people \times p(H) = np}\) can be thought of as a constant, say 10, or 100.
The Accumulated random binary Actions of a large number of people gives us an aggregate Poisson distribution for the occurrence of traffic, with a mean of \(\large{\lambda = np}\).
Is this an example of Complexity? Not quite, or weakly at best. Why?
- The individual AGENTs do not interact with each other, like in Prisonersā Dilemma. Their choices are independent, not related. They do not decide to drive or not drive based whether others are driving out or not. They do not communicate with each other, or coordinate their actions.
- The individual AGENTs do not have any memory of their past actions, or the actions of others. They do not learn from their past experiences, or adapt to the changing environment.
- There is no feedback; each choice is made regardless of prior experiences.
Hence thus is a weakly complex system, and not a strongly complex system. But it is a random or stochastic process, which we need to understand and try to work with.
Complexity would emerge in this situation if:
- Agents acted based on Congestion / Road Occupancy
- Seeing more cars yesterday makes them less likely to drive today
- Social influences and clustering; e.g. car pooling.
- If all of these affect future choices ( drive / donāt drive).
In this case we would see examples of emergent behavior and self-organization, which are hallmarks of Complexity:
- Traffic Waves
- Ghost Traffic Jams
- Even Power Law distributions of vehicles across streets
- Phase transitions from Jammed to free-flow.
So is Randomness a Design Tool?
In the Poisson Process above, we saw randomness and how different sequences of events can be generated by a large number of independent agents. Are we then at the mercy of randomness? Or can we use randomness as a tool in Design? Can we use randomness to create fairness, or to create surprise, or to create novelty?
Well, mangoes are far more interesting than cars!!!
- Do you remember plucking mangoes from the trees in your childhood gardens?
- Did you happen to be the youngest in the group?
- Did you have run home to get the salt + chilly powder?
- Why did you trust your friends not to eat off the best mangoes in your absence? ;-D
- Were you used to being the ādennerā in every game?
- Or the last person to bat or bowl, or whatever was the cool thing in the gameā¦
- What strategy did you use when playing āRock, Paper, Scissorsā? Were you always āsteady as a rockā, or āvariable as trafficā? You didnāt stick with just one of Rock, Paper, or Scissors. But chose one atā¦..random.
Perhaps you suffered, but maybe you didnāt because everyone āgot their turnā and they werenāt always the first, nor were you always the lastā¦
So somehow it was allā¦fair, because it was ārandomā.
So can we use Randomness in Design? With intent? Like this:
And is this the use of randomness in Art?
Pedagogical Vandalism
Let us throw some chalk/paper pieces on the floor at random and see what happens!!
- Was that a completely āmadā thing to do, throwing stuff on the floor? Or was it an act of Pedagogical Vandalism? (See wreck this Journal.
- Is Randomness just too much to handle or comprehend?
- Or can we ātameā it in some way, and put it to use in Art, Design, and Tech?
- Have we been doing this all along, even as children? Have we been holding infinity in the palm of our hands, in the हाऄ ą¤ą„ą„ ą¤²ą¤ą„रą„?
- What diagrams or thought experiments can we create to do this?
- WHY would this be a good idea? Is there a very Human Motivation behind this desire we might have?
- Or letās ask this lady here.
Read more here.
Wait, But Why?
- Randomness can help create fairness?
- Visibly?
- Generate Randomness to make things fair? How?
- What does that even mean, to āgenerate randomnessā?
- If something is random-random, how can it be fair āevery timeā?
- What does āevery timeā even mean?
- Would you put up with a bad outcome if something was fair on average?
- What does fairness on average mean?
- Whom would you meet in a casino? In other words, what if something looks random, but isnāt really? See Reference 2 below.
Weāll see.
Design Situations with High Randomness?
- Gig Workers:
- Random routes
- Random orders
- Random encounters with street animals, unpleasant customers?
- Uncertain income/earnings
- Randomness in the Arrival of Customers at a Bank, or a Restaurant, or Call Centre
- Randomness in the Arrival of Phone Calls at an Exchange
- Making something fair on average makes for good rules, service designs, and other design systems like lotteries for allocation of scarce resources.
References
- Seeing Probability Theory: https://seeing-theory.brown.edu/basic-probability/index.html A Superb visual website to see patterns in theory! Go and play there with Hamlet!
- Karan Kashyap, Calculating the Value of Pi: A Monte Carlo Simulation, https://www.cantorsparadise.com/calculating-the-value-of-pi-using-random-numbers-a-monte-carlo-simulation-d4b80dc12bdf
- Martin Hairer. https://plus.maths.org/maths-randomness-symmetry How randomness can create Symmetry, which is another very useful idea for us.
Additional Reading
- Penguin Press @ Medium. Abraham Wald and the Missing Bullet Holes. (Web Link)
- R. J. MacKay and R. W. Oldford. Scientific Method, Statistical Method and the Speed of Light
- The Man Who Invented Modern Probability - Andrei Kolmogorov
- Robert Scholz. May 1982. The Origin of Spread Spectrum Communications
- Emma Neeson. 04 March 2023. Hedy Lamarr and the Frequency Hopping Spread Spectrum: The mother of Wi-Fi.
- Mozart Dice Game: Generate Mozart-like tunes by throwing dice: https://vician.net/mozart/
- Theodore Sturgeon. (September 1957). The Pod in the Barrier. Galaxy Science Fiction.https://archive.org/details/galaxymagazine-1957-09/page/n9/mode/2up?view=theater
- Two Goats, and a Car. https://youtu.be/CYyUuIXzGgI






