Simulator 7: Path Dependence & Networks

7a. Polya Urn Process Path Dependence
An urn starts with 1 red and 1 blue ball. Draw a ball, return it plus one more of the same color. Watch divergence emerge from identical starting points.
Draw: 0
Selected Urn Red: 1
Selected Urn Blue: 1
Mean Proportion: 0.500
Std Dev: 0.000

Mechanism

Each round: draw a ball at random, return it plus one more of the same color. Early random draws get amplified by positive feedback (rich-get-richer). The final proportion is entirely determined by early luck. Unlike a fair coin (which converges to 50%), the Polya process LOCKS IN to an unpredictable ratio. This is the essence of path dependence: history matters, and identical processes produce very different outcomes.

Real-World Examples

  • VHS vs Betamax format war
  • QWERTY keyboard layout persistence
  • Silicon Valley's dominance (early firms attracted more)
  • Programming language popularity
  • City growth and agglomeration

Key Insight

The final distribution across many urns is uniform on [0, 1]. Any final proportion is equally likely! This means we cannot predict where any single urn will end up. The histogram should flatten as you run more urns -- every outcome is equally probable.

7b. Increasing Returns & Technology Lock-in Network Effects
Two competing technologies vie for users. Intrinsic quality + network effects determine adoption. Watch how inferior tech can win.
User: 0
A Adopters: 0
B Adopters: 0
Lock-In: No
Tipping: --

Mechanism

Each new user evaluates: Value = Quality + NetworkEffect * (fraction of adopters). With increasing returns, early adopters influence later ones. A slightly inferior technology can dominate if it gets an early lead, because network effects make it more valuable. Once locked in, switching costs prevent change even when a better alternative exists.

Real-World Examples

  • iOS vs Android ecosystem dynamics
  • Facebook's social network dominance
  • Microsoft Office / Windows lock-in
  • English as global lingua franca
  • Credit card networks (Visa/Mastercard)

Key Insight

Try setting A's quality lower than B's but running many simulations. Even the inferior technology wins sometimes! Increase network effects to see how they amplify early randomness. The "tipping point" is when network effects overwhelm quality differences and lock-in becomes inevitable.

7c. Network Models Random / Small-World / Scale-Free
Generate and explore three fundamental network types. Click two nodes to find the shortest path between them.
Nodes: 0
Edges: 0
Avg Degree: 0
Clustering: 0
Avg Path: 0
Path: Click two nodes

Mechanism

Random (Erdos-Renyi): Each pair connected with probability p. Short paths but low clustering. Small-World (Watts-Strogatz): Start as ring lattice, randomly rewire edges. Both short paths AND high clustering -- "your friends know each other." Scale-Free (Barabasi-Albert): Nodes added one at a time, connecting preferentially to high-degree nodes. Creates power-law degree distribution with hubs.

Real-World Examples

  • Social networks (Facebook, LinkedIn)
  • Airline hub-and-spoke route networks
  • The internet's physical topology
  • Brain neural networks
  • Food webs in ecology
  • Academic citation networks

Key Insight

Scale-free networks are robust to random failure (removing random nodes barely affects connectivity) but vulnerable to targeted attack (removing hubs shatters the network). Six degrees of separation emerges in small-world networks: most pairs can be connected in surprisingly few hops.