EpistemicPhysics
Survey · Economics

When an economy remembers

Nudge a town into a new habit, walk a price index around a loop, and discover how shared risks, exchange, and observation clocks select different probability laws.

· 25 min read · 5 interactive demos

Imagine a town with a market square, a credit cooperative, and a row of workshops. A temporary discount persuades a few workshops to adopt the same machine. Their neighbors follow because spare parts, training, and compatible suppliers have become easier to find. The discount ends. The machines stay.

Across the square, a statistician follows changing shopping baskets. Prices and quantities eventually return to their starting values, yet the chained index in her notebook has moved. At the cooperative, a thousand individually modest risks turn out to share one uncertain economic environment. In the shops, two observers see the same sales but keep different records of their timing.

Something consequential survives in each story. Sometimes it is a collective pattern. Sometimes it is a path through changing weights. Sometimes it is a relationship between events, or a piece of the observation record.

Epistemic Physics gives us a useful starting question: what must the state retain so that our next calculation still answers the intended question? A mean can be enough for one calculation and insufficient for another. A count may need an exposure time. A collection of forecasts may need its shared causes. Let’s tour this town with a notebook that can keep those distinctions.

A choice can help create its own attraction

Suppose workshops choose between adopting a technology and declining it. Write the adopting fraction as q, and turn it into a signed collective direction,

m=2q−1,−1≤m≤1.

An evenly divided town has m=0. Universal adoption has m=1, and universal rejection has m=−1. This is the same change from a probability-like fraction to a centered coordinate that appears throughout Epistemic Physics.

Choose a response rule in which the odds of adoption are

q1−q=e2(h+Jm).

Here h is a private payoff advantage, measured in the dimensionless units of this choice model. The nonnegative number J measures how strongly the surrounding adoption pattern changes that advantage. Solving for q gives

q=1+tanh⁡(h+Jm)2,m=tanh⁡(h+Jm).

The hyperbolic tangent is tanh⁡x=(ex−e−x)/(ex+e−x). It smoothly turns an unbounded advantage into a bounded direction. The last equation demands self-consistency: the average choice must equal the average response to that choice. Brock and Durlauf derive such relationships from discrete choice with social interactions. Their model supplies a connection between economic incentives and the collective equations familiar from statistical physics.

The half-log-odds coordinate is especially revealing:

ρq=12log⁡q1−q=h+Jm.

The private advantage and the response to others add in rapidity. Here ρq describes a choice fraction. A workshop’s belief about machine reliability would be another variable, with its own trials and observation model. The adoption of neighbors can change both the payoff from buying a machine and the evidence available about it; those are two mechanisms we can connect explicitly.

Give the town time to answer

A self-consistency equation lists possible resting states. To discover which one a nudge reaches, choose an adjustment law:

m˙=tanh⁡(h+Jm)−m.

The dot means change per unit of our model time. The current direction moves toward the response that the current incentives would produce. If the response exceeds m, adoption rises. If it falls below m, adoption declines.

At h=0 and J=0.5, the only equilibrium is an evenly divided town. At J=1.5, there are three:

Collective direction mAdopting fraction qResponse to a small disturbance
Approximately −0.85856Approximately 7.1%Returns toward the equilibrium
050%Moves away from the equilibrium
Approximately +0.85856Approximately 92.9%Returns toward the equilibrium

The outer equilibria are stable: nearby states return. The middle one is unstable. A small change can select which persistent direction the town takes, even when the private advantage later becomes zero.

Predict before nudging: begin evenly divided, click one declining workshop into adoption, and let the choices settle. Then reduce J below one and repeat. Which town forgets the nudge?

Choices feed back into choices

A nudge that lasts

Thirty-six people are considering a shared technology. Teal means adopt; rose means decline. Click a person to change the starting balance, then let the collective response unfold.

The tiles round the continuous adoption share to 36 people. Clicking them sets a new starting state for the displayed adjustment rule.

What happens after the nudge?

Adopting share (1 + m) / 2
50.0%
Collective direction m
0.000
Stable equilibria at this h
7.1% · 92.9%

Click one person, then let the choices settle.

Where choices can settle

Move the gold handle horizontally, or focus it and use arrow keys, to change h. Teal branches attract nearby states; the dashed rose branch repels them.

-101-0.600.6Private advantage h: drag or use arrow keyshdirection mprivate advantage h

The route taken

-10100 model time
Collective direction mPrivate advantage h

Adjustment rule: dm/dt = tanh(h + Jm) − m. At J = 1.5 and h = 0, the two stable adoption shares are about 7.1% and 92.9%. The dashed middle equilibrium is unstable.

We can locate the switching points without guessing. At equilibrium,

h=artanh⁡(m)−Jm,artanh⁡(m)=12log⁡1+m1−m.

Differentiate this curve with respect to m. For J>1, a fold occurs where its derivative is zero, so a stable and an unstable solution meet:

mfold=±1−1/J,hfold=artanh⁡(mfold)−Jmfold.

For J=1.5, the private-advantage thresholds are approximately ±0.20755. Slowly raise h from a town with little adoption, allowing choices to relax along the way. Then lower it again. The switches happen at different advantages on the two trips. This is hysteresis, a dependence of the current response on the path used to reach it.

The memory lives in the continuing interaction. An initial disturbance changes adoption; adoption changes the attraction of adopting. We could now give each workshop a trial ledger about costs and reliability, and compare three interventions: new information, a temporary subsidy, and a change in the supplier network. They may all increase adoption while leaving different traces after they end.

Even the measuring ruler can remember

Walk from the workshops to the market stalls. Our statistician wants a price index that follows what people actually buy. For each good i, let pi be its price and si its share of total expenditure. A continuously updated index P obeys

dlog⁡P=∑isidlog⁡pi.

The logarithm turns successive multiplicative price changes into additive changes. A Törnqvist link replaces each continuously varying share by the average of its values at the two compared endpoints. The U.S. Bureau of Labor Statistics uses this construction in its chained consumer price index and studies the resulting chain drift. Its introduction to the chained index explains the role of expenditure shares.

Choose two goods, fix the second price at one, and write

r=log⁡(p1/p2)=log⁡p1,s=s1.

Now take a rectangular walk through the price-share plane:

LegWhat changesContribution to log⁡P
OutwardDouble good 1’s price at expenditure share 0.80.8log⁡2
DownwardLower its expenditure share to 0.2 at the new price0
HomewardRestore its original price at share 0.2−0.2log⁡2
UpwardRestore its original expenditure share0

At the end, both prices and both expenditure shares match the beginning. Keep total expenditure at one throughout. Purchased quantities are then

q1=ser,q2=1−s.

They return too. Yet the chained index has multiplied by

Ploop=e0.6log⁡2=20.6≈1.516.

A direct comparison of the identical endpoints gives one. Each price-changing leg has a constant share, so the displayed result is exact for the four Törnqvist links as well as the continuous integral.

Take the ruler for a walk: reverse the route before changing any other setting. Should its log change reverse sign? What happens if you flatten the route to a constant expenditure share?

A changing ruler remembers its route

The price index takes a walk

The gold point records a journey through price and expenditure share. Drag it to draw your own route, or visit the corners with the buttons. Can the trip change the chained index even after prices and quantities come home?

20%50%80%½×1×2×good 1 expenditure share sgood 1 price (log scale)Drag to record a price-share path, or use arrow keys
Chained index
1.5157×
Direct endpoint index
1.0000×
Accumulated log change ∫ s dr
0.4159

The route is closed: both prices and both quantities match their starting values. The chained index is 1.5157; the direct comparison is 1.

Endpoint audit, with total expenditure fixed at one
GoodPrice: start → nowQuantity: start → now
11.000 → 1.0000.800 → 0.800
21.000 → 1.0000.200 → 0.200

Each straight leg uses the average of its endpoint expenditure shares, the two-good Törnqvist link. Good 2 always costs 1; quantities are q₁ = s / exp(r) and q₂ = 1 − s. Reversing the entire route negates its log change.

The geometric calculation is simply

∮sdr=(0.8−0.2)log⁡2.

The loop symbol means add changes all the way around a closed path. The integral measures the enclosed area with the sign chosen by this traversal. The high-share outward price movement outweighs the low-share return movement. Reversing the route negates the log change, and the two multiplicative index factors become reciprocals.

There is also a useful way to restore path independence. Suppose the shares are derivatives of one log expenditure function, at a fixed utility level and under a fixed preference model. Adding their weighted price changes then recovers the change in that function. Such a quantity is a state function: its change depends only on the endpoints. Our freely chosen price-share loop instead lets the weighting question change along the route.

The town’s spending can come home while the notebook retains a journey. That makes the measurement rule part of the description we need to keep.

A loop can also live between people

At the next town meeting, three equally sized teams rank projects A, B, and C:

TeamFull ranking
OneA, then B, then C
TwoB, then C, then A
ThreeC, then A, then B

Each team’s ranking is transitive: if it places one project above a second and that second above a third, it also places the first above the third. Yet the pairwise majorities form a Condorcet cycle:

qAB=qBC=qCA=23,

where qAB is the fraction preferring A to B, and similarly for the other pairs. A beats B, B beats C, and C beats A.

Try to assign every project one scalar score Vi, with comparison odds

log⁡qij1−qij=Vi−Vj.

The score differences must add to zero around a closed loop because each score appears once with each sign. The actual comparisons give

log⁡qAB1−qAB+log⁡qBC1−qBC+log⁡qCA1−qCA=3log⁡2.

One common score per project therefore loses something. The table of rankings preserves it perfectly: choose a team with probability 1/3, then use that team’s complete ranking. This is a valid joint model of all three comparisons. It explains the cycle through a mixture of individually consistent views.

The nonzero loop has a different origin from the price-index loop. There we accumulated a changing weighted measurement along a route. Here we aggregated people with different priorities. Keeping the team and the question attached to each judgment lets us recover that distinction. It also makes agenda design concrete: which pair gets voted on first can change the surviving proposal.

Imagine a planning system that shows the competing rankings and the tradeoffs behind them, then asks which new option could satisfy two teams at once. The disagreement becomes material for design. A single consensus number would have hidden the opening.

A thousand loans can share one unanswered question

The cooperative lends to n workshops. Let Di=1 when loan i defaults and Di=0 otherwise. The total number of defaults is K=∑iDi.

First choose one common, uncertain default propensity,

P∼Beta⁡(α,β),μ=αα+β,τ=α+β.

Both Beta shapes are positive. The mean propensity is μ, and τ is its concentration. Conditional on the shared P, defaults are independent Bernoulli outcomes with probability P. Conditional independence means that once this common propensity is specified, the remaining random draws are independent.

The distinction matters when we average over what remains unknown. Every loan has marginal default probability μ, but two loans share uncertainty about P. More loans average away their separate draws while leaving the common question.

The law of total variance separates the two contributions:

Var⁡(K/n)=E[P(1−P)]n+Var⁡(P)=μ(1−μ)n×(1+n−1τ+1).

As n grows, the first contribution shrinks and a variance floor remains:

limn→∞Var⁡(K/n)=μ(1−μ)τ+1.

Now give each loan its own independent Pi, all drawn from the same Beta law. Every single loan still has default probability μ. This time the aggregate count is binomial, and its fraction variance is μ(1−μ)/n, tending to zero.

For the deliberately simple choice n=1000 and Beta⁡(1,19), both structures give each loan a 5% default probability. Under one shared propensity, the probability of at least 100 defaults is about 0.1379, or 13.79%. With independent propensities, it is about 8.41×10−11. These numbers come from the exact finite count distributions of the two specified models.

Change one relationship: keep the individual risk fixed and switch the parent structure. Then increase the portfolio size. Which part of the default-fraction spread survives?

The joint structure carries the risk

One parent changes the portfolio

Each loan has the same individual default probability in both models. Choose how its uncertain propensity is connected to other loans. Predict the effect on a whole portfolio before drawing a cohort.

PD1D2D3D4D5D6Each loan: 5% default probability

Six representative loans are shown; the same connection rule applies to all 1,000 loans. Each new cohort redraws its parent propensity or propensities from Beta(1.00, 19.00).

Exact distribution of the number of defaults

0%30%59%Shared P: 0 to 25 defaults, 39.08%Independent Pᵢ: 0 to 25 defaults, 0.01%Shared P: 26 to 50 defaults, 23.56%Independent Pᵢ: 26 to 50 defaults, 53.75%Shared P: 51 to 75 defaults, 14.74%Independent Pᵢ: 51 to 75 defaults, 46.22%Shared P: 76 to 100 defaults, 9.11%Independent Pᵢ: 76 to 100 defaults, 0.03%Shared P: 101 to 125 defaults, 5.56%Independent Pᵢ: 101 to 125 defaults, 3.91e-9%Shared P: 126 to 150 defaults, 3.34%Independent Pᵢ: 126 to 150 defaults, 7.03e-19%Shared P: 151 to 175 defaults, 1.98%Independent Pᵢ: 151 to 175 defaults, 4.58e-31%Shared P: 176 to 200 defaults, 1.16%Independent Pᵢ: 176 to 200 defaults, 2.35e-45%Shared P: 201 to 225 defaults, 0.66%Independent Pᵢ: 201 to 225 defaults, 1.64e-61%Shared P: 226 to 250 defaults, 0.37%Independent Pᵢ: 226 to 250 defaults, 2.38e-79%Shared P: 251 to 275 defaults, 0.21%Independent Pᵢ: 251 to 275 defaults, 9.75e-99%Shared P: 276 to 300 defaults, 0.11%Independent Pᵢ: 276 to 300 defaults, 1.45e-119%Shared P: 301 to 325 defaults, 0.06%Independent Pᵢ: 301 to 325 defaults, 9.47e-142%Shared P: 326 to 350 defaults, 0.03%Independent Pᵢ: 326 to 350 defaults, 3.19e-165%Shared P: 351 to 375 defaults, 0.02%Independent Pᵢ: 351 to 375 defaults, 6.28e-190%Shared P: 376 to 400 defaults, 0.01%Independent Pᵢ: 376 to 400 defaults, 7.97e-216%Shared P: 401 to 425 defaults, 0.00%Independent Pᵢ: 401 to 425 defaults, 7.08e-243%Shared P: 426 to 450 defaults, 0.00%Independent Pᵢ: 426 to 450 defaults, 4.67e-271%Shared P: 451 to 475 defaults, 7.63e-4%Independent Pᵢ: 451 to 475 defaults, 2.40e-300%Shared P: 476 to 500 defaults, 3.29e-4%Independent Pᵢ: 476 to 500 defaults, 0.00e+0%Shared P: 501 to 525 defaults, 1.36e-4%Independent Pᵢ: 501 to 525 defaults, 0.00e+0%Shared P: 526 to 550 defaults, 5.40e-5%Independent Pᵢ: 526 to 550 defaults, 0.00e+0%Shared P: 551 to 575 defaults, 2.03e-5%Independent Pᵢ: 551 to 575 defaults, 0.00e+0%Shared P: 576 to 600 defaults, 7.24e-6%Independent Pᵢ: 576 to 600 defaults, 0.00e+0%Shared P: 601 to 625 defaults, 2.42e-6%Independent Pᵢ: 601 to 625 defaults, 0.00e+0%Shared P: 626 to 650 defaults, 7.55e-7%Independent Pᵢ: 626 to 650 defaults, 0.00e+0%Shared P: 651 to 675 defaults, 2.17e-7%Independent Pᵢ: 651 to 675 defaults, 0.00e+0%Shared P: 676 to 700 defaults, 5.70e-8%Independent Pᵢ: 676 to 700 defaults, 0.00e+0%Shared P: 701 to 725 defaults, 1.34e-8%Independent Pᵢ: 701 to 725 defaults, 0.00e+0%Shared P: 726 to 750 defaults, 2.80e-9%Independent Pᵢ: 726 to 750 defaults, 0.00e+0%Shared P: 751 to 775 defaults, 5.02e-10%Independent Pᵢ: 751 to 775 defaults, 0.00e+0%Shared P: 776 to 800 defaults, 7.53e-11%Independent Pᵢ: 776 to 800 defaults, 0.00e+0%Shared P: 801 to 825 defaults, 9.07e-12%Independent Pᵢ: 801 to 825 defaults, 0.00e+0%Shared P: 826 to 850 defaults, 8.28e-13%Independent Pᵢ: 826 to 850 defaults, 0.00e+0%Shared P: 851 to 875 defaults, 5.28e-14%Independent Pᵢ: 851 to 875 defaults, 0.00e+0%Shared P: 876 to 900 defaults, 2.08e-15%Independent Pᵢ: 876 to 900 defaults, 0.00e+0%Shared P: 901 to 925 defaults, 4.13e-17%Independent Pᵢ: 901 to 925 defaults, 0.00e+0%Shared P: 926 to 950 defaults, 2.89e-19%Independent Pᵢ: 926 to 950 defaults, 0.00e+0%Shared P: 951 to 975 defaults, 3.38e-22%Independent Pᵢ: 951 to 975 defaults, 0.00e+0%Shared P: 976 to 1000 defaults, 8.06e-27%Independent Pᵢ: 976 to 1000 defaults, 0.00e+0%100 defaults02505007501000number of defaults K
One shared PIndependent PᵢSample cohorts / 10% threshold
Chance of at least 100 defaults
13.79%
Variance of default fraction K/n
0.002307
Variance as the portfolio grows
0.002262

Both structures give an expected 50.0 defaults. Under one shared P, increasing the number of loans leaves the common environment uncertain.

We must also say what happens tomorrow. A common P could represent a fresh economic environment drawn each period, or a fixed unknown rate that the cooperative keeps learning. Those choices can give the same one-period predictive distribution and different relationships across periods. The demo redraws propensities for each cohort.

This is where lineage becomes economic structure. Shared causes, a loss transmitted through obligations, and several reports copied from one source can all create dependence through different routes. A useful ledger records enough of those relationships to calculate the requested collective event.

The cooperative might therefore experiment with diversification across environments as well as across loans. It could compare changing borrowers, changing the shared production exposure, and acquiring a more informative observation of the common state. Each intervention changes a different term in the model.

Let exchange choose a distribution

Follow two owners after the market closes. Let their positive wealths be w1 and w2. Choose a small model with transfers toward equality and proportional external gains or losses:

dw1=γ(w2−w1)dt+σw1dB1,dw2=γ(w1−w2)dt+σw2dB2.

The exchange rate is γ>0, and the noise strength is σ>0. The exchange terms sum to zero. The shocks allow combined wealth to grow or shrink. A Brownian increment dBi has mean zero and variance dt; its typical size is proportional to dt. Let the two shocks have correlation −1≤χ<1, written dB1dB2=χdt.

We interpret these as Itô stochastic differential equations, where coefficients of a random increment use the state at the beginning of the small interval. Exchange with multiplicative random growth has a substantial econophysics history, including Bouchaud and Mézard’s model. Here the specified two-person Itô rule supplies the mechanism we will calculate.

Return to a familiar coordinate:

ρ=12log⁡w1w2.

Positive rapidity means owner 1 holds more; zero means equal wealth. Applying Itô’s change-of-variable rule gives

dρ=−γsinh⁡(2ρ)dt+σ1−χ2dB,

where sinh⁡x=(ex−e−x)/2. To see the cancellation, the drift of log⁡w1 contains γ(w2/w1−1)−σ2/2, and the other log wealth has the corresponding reversed ratio. Subtracting the two logs cancels their equal Itô corrections. The noise difference has variance proportional to 1−χ: shocks shared equally by both owners cancel from relative wealth.

The inward pull grows strongly at extreme ratios. Define the dimensionless exchange-to-relative-noise ratio

k=γσ2(1−χ).

At a stationary distribution, the probability flow from the drift balances the flow from diffusion. Setting the net current to zero gives

ddρlog⁡fρ(ρ)=−4ksinh⁡(2ρ),

and integrating produces

fρ(ρ)∝e−2kcosh⁡(2ρ).

Here cosh⁡x=(ex+e−x)/2, and fρ is density per unit rapidity. The proportionality symbol means divide by the total integral to make the density integrate to one.

The same owners, measured with two rulers

The wealth share is

p=w1w1+w2=1+tanh⁡ρ2.

Write z=p(1−p). Then cosh⁡(2ρ)=1/(2z)−1 and dρ/dp=1/(2z). Preserving probability under this coordinate change gives, for 0<p<1,

fp(p)∝1p(1−p)×exp⁡[−kp(1−p)].

The factor dρ/dp is a Jacobian: it measures how much rapidity interval fits into a small share interval. It changes the height of the density curve while preserving probabilities of corresponding events.

A striking result follows. The rapidity density always peaks at zero. The share density has two equal peaks when k<1/4,

p±=1±1−4k2,

and a single central peak when k≥1/4. The same stationary population can therefore have two density peaks in one coordinate and one in another. The peaks count probability per differently sized intervals. The chance that one owner holds over 90% is the same whichever ruler we use.

Predict the paired pictures: strengthen exchange, then restore it and make the shocks mostly shared. Should both changes pull relative wealth toward equality? Follow the same simulated owners through both histograms.

Exchange, shocks, and the shape of a density

Two fortunes, two rulers

Start 192 independent two-person economies at equal wealth. Exchange pulls each pair toward equality; proportional shocks pull their fortunes apart. The same simulated pairs appear in both histograms, measured once by wealth share and once by half-log wealth ratio.

Changing a rate or shock link restarts the cohort at equal wealth. The curve shows the stationary distribution selected by that rule; the gold bars show the current cohort after you advance time.

Person 1: 50.0%Person 2: 50.0%

Share p = w₁ / (w₁ + w₂)

0.00.91.90 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin192 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin00.250.50.751density per unit pperson 1’s wealth share

Rapidity ρ = ½ log(w₁ / w₂)

0.00.20.40 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin192 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin0 simulated pairs in this bin-3.503.5density per unit ρhalf-log wealth ratio
Current cohortStationary exchange law
Model time
0.0
Exchange / relative noise k
0.050
Stationary mean squared imbalance
0.0970
Current cohort squared imbalance
0.0000
Stationary chance one holds over 90%
25.68%

The share density has two equal peaks, at 5.3% and 94.7%. The rapidity density has one peak at zero. Both describe the same stationary pairs and assign the same probability to the over-90% event.

One pair’s recent journey

0%50%100%00 model time

Simulation uses dρ = −γ sinh(2ρ) dt + σ√((1 − χ)/2) dB, starting at ρ = 0. The blue curve is a density in its labeled coordinate; histogram heights need not agree between coordinates.

The mechanism also tells us which distributional family to expect. Our proportional-wealth shocks give the displayed exponential-in-reciprocal-share kernel. We can choose a different transaction-scale rule that has a Beta stationary law. For a share p, take

dp=κ(θ−p)dt+2Dp(1−p)dB,

with restoring rate κ>0, target share 0<θ<1, and diffusion parameter D>0. This is a Jacobi diffusion. The inward drift and the square-root noise select a zero-current stationary Beta law with

α=κθD,β=κ(1−θ)D.

The optional dashed curve in the lab uses κ=4, θ=1/2, and D=1, giving Beta⁡(2,2). It is a comparison between two specified mechanisms. Asking which transactions could generate each drift and noise law turns the family resemblance into an economic modeling program.

There is another route to larger families: keep the mechanisms of observation and the structure of the evidence itself. For that, we need to return to the shops and inspect their clocks.

Let the observation record choose a larger family

Ask the Gamma parents

The wealth experiment has opened a trapdoor: a variable between zero and one can have many possible laws. To follow it down, visit two shops. Let X>0 and Y>0 be their unknown sales intensities, measured in sales per hour. Assume each shop runs a Poisson process: during a short interval dt, its chance of one sale is approximately its intensity times dt. Conditional on the two intensities, the processes run independently.

A Gamma distribution describes a positive quantity. Write X∼Γ(a,rA), where a>0 is its shape and rA>0 its rate parameter. Its density is proportional to xa−1e−rAx, and its mean is a/rA. The Gamma rate is the reciprocal of its scale. Here it has units of hours, because its product with a sales intensity must be dimensionless. Think of shape as a sales tally and rate as exposure time in a chosen prior model. Multiplying an intensity’s density by a Poisson likelihood adds observed sales to shape and elapsed time to rate.

Give the shops independent Gamma beliefs,

X∼Γ(a,rA),Y∼Γ(b,rB),p=XX+Y,λ=rArB.

The next combined arrival comes from A with probability p. When rA=rB, the share p is Beta. When the rates differ, the same ratio construction gives the Libby-Novick distribution, a generalized Beta law for 0<p<1:

f(p)=λaB(a,b)×pa−1(1−p)b−1[1+(λ−1)p]a+b.

Here B(a,b)=Γ(a)Γ(b)/Γ(a+b) is the Beta normalizing function. The Gamma function Γ(a) extends factorials, with Γ(n)=(n−1)! for positive integers. The extra denominator remembers the unequal exposure scales. Setting λ=1 makes that factor disappear. This ratio construction belongs to the family introduced by Libby and Novick.

There is also a remarkably simple geometric description. Draw W∼Beta⁡(a,b), then set

p=Wλ+(1−λ)W,12log⁡p1−p=12log⁡W1−W−12log⁡λ.

An unequal-rate Gamma share is a Beta random variable translated along the half-log-odds coordinate! The whole distribution moves through this transformation. Changing only its mean would lose the shape of the cloud. A change of common time unit scales both Gamma rates equally, leaving λ and the share law unchanged.

Keep the clock, or keep only the labels?

Now choose how many arrivals to observe. Suppose the first n arrivals contain s sales at A and f at B, with n=s+f. One observer keeps the shop labels alone. Their likelihood for p is

Llabels(p)∝ps(1−p)f.

Multiplying it by the Libby-Novick prior gives

f(p∣labels)∝pa+s−1(1−p)b+f−1[1+(λ−1)p]a+b.

The powers upstairs learn about sales; the denominator keeps its original power. This is a Gauss hypergeometric distribution, often shortened to Gauss hyper. In the standard form

f(p)∝pA−1(1−p)B−1(1+zp)−C,

our parameters are A=a+s, B=b+f, C=a+b, and z=λ−1. Its normalizer is B(A,B)2F1(C,A;A+B;−z). The symbol 2F1 names the Gauss hypergeometric function; here its job is to express the area under that kernel. SciPy’s definition uses exactly this form. Bernoulli observations can keep updating A and B inside the family while C and z stay fixed.

The second observer also keeps the total time t until arrival n. The joint likelihood in the intensity variables is

Lclock(X,Y)∝XsYfe−t(X+Y).

Consequently,

X∣D∼Γ(a+s,rA+t),Y∣D∼Γ(b+f,rB+t).

The two updated Gamma variables remain independent under this model, so their share has a new Libby-Novick law, with λt=(rA+t)/(rB+t) and denominator power a+b+n. The symbol D denotes the observed labels and time together. Labels and waiting time carry different information about the hidden intensities. Keeping the clock changes the likelihood. Equal initial rates make both routes coincide as a Beta update.

Predict before clicking: if the shops have different prior exposure scales, will four rapid sales teach the same thing as four slow sales with the same labels? What if the fourth sale’s receipt is copied three times?

Four receipts, two observers

Investigate the missing market clock

Keep the four shop labels. Tap each receipt’s waiting time until the visit lasts eight hours. Which observer changes their mind?

4 unique arrivals · 4 reports · 1.00 hours elapsed

Reads shop labels

22.6%

Mean share of A sales

Keeps the clock too

23.3%

Mean share of A sales

Tap the four waiting-time stamps to build a slower visit. A tap cycles ¼ hour → 1 hour → 2 hours.

Explore freely, compare densities, and inspect the model
00.51Share p of A arrivals

Rose: labels only. Teal: labels and waiting times. Curves are normalized densities; they are distinct from the mean percentages above.

flabels(p)∝p4(1−p)6[1+(3)p]8

With timing, X ∼ Gamma(5, 5.00) and Y ∼ Gamma(7, 2.00), independently. Gamma uses shape/rate notation. The share p = X/(X+Y) has an unequal-rate Gamma-share law (Libby-Novick); labels alone give the Gauss hypergeometric family. Equal rates reduce both to Beta.

Chosen model: independent Poisson streams with fixed unknown intensities, observed from time zero until a chosen number of consecutive arrivals. Prior shapes are 3 and 5; B's prior exposure is 1 h. Gamma rate parameters measure hours, while the latent intensities measure sales/hour. Editing a waiting time edits every copy of that event. Copies supply no extra independent trials or elapsed time.

Lineage answers the receipt question. A repeated report points to the same arrival and contributes no additional sale or waiting interval. Distinct events enter under the stated process model. The richer tally logic in Money that can move follows the same idea when separate reports describe partial aspects of a transaction. Unresolved combinations can produce mixtures because several complete event histories still fit the observations.

From shares to fortunes

The shops’ intensity ratio R=X/Y lives on the positive line. Write Ga and Gb for independent unit-rate Gamma variables with shapes a and b. Then

R=rBrAGaGb.

This is a scaled Beta prime law: the odds transform of the Libby-Novick share. More broadly, choose a positive scale q and power h>0, and define

Z=q(GaGb)1/h.

Its density, for z>0, is the generalized Beta prime, also called generalized Beta of the second kind, or GB2:

fZ(z)=hqB(a,b)×(z/q)ha−1[1+(z/q)h]a+b.

For large z, the density falls as z−hb−1; the probability of exceeding z falls as z−hb. The Gamma ratio and a nonlinear measurement scale together create an adjustable power-law tail. Such positive distributions have been explored as income and wealth models; this stochastic wealth study connects Beta prime laws to an explicit exchange-and-noise mechanism.

Place the routes beside one another:

What we construct or observeThe resulting family
Share of two independent, equal-rate Gamma quantitiesBeta
Share of two independent, unequal-rate Gamma quantitiesLibby-Novick
Unequal-rate share updated from Bernoulli labels aloneGauss hypergeometric
The same sales with total waiting time retainedUpdated Gamma parents and a Libby-Novick share
Ratio of Gamma quantities, with an optional positive power transformBeta prime or generalized Beta prime
Long-run odds of the earlier multiplicative two-agent wealth processA generalized inverse Gaussian law

Each row specifies a generative or observational recipe. The earlier wealth process has a different recipe: redistribution continually pulls extreme wealth ratios inward while multiplicative shocks shake the log ratio. Its stationary odds have a generalized inverse Gaussian (GIG) distribution, with density for R>0,

fR(R)∝R−1exp⁡[−k(R+R−1)].

The factor R−1 comes from dρ/dR=1/(2R). The exponential factor penalizes both huge ratios and their reciprocals.

We can even manufacture an evidence interpretation of that last factor. Choose the scale-uniform reference weight dR/R, and imagine two independent Poisson counters with expected counts kR and k/R. Observing zero in both contributes likelihood e−kRe−k/R, giving the same normalized stationary law for k>0. The reference weight alone has infinite total mass; the two zero-count observations make the integral finite. This is a constructed observation model for the same density, and it suggests a question: could reciprocal exposure mechanisms explain the tendency of some exchange networks to suppress both dominance and disappearance?

The expedition now has a larger vocabulary. Beta describes one especially elegant balance. Gamma parents, unequal scales, omitted clocks, partial transaction records, and collective dynamics tell us which larger family a particular economic story needs.

The next town could learn from its own interventions

We now have the ingredients for a small economy whose history remains available to its next decision. Workshops could keep uncertain beliefs about production methods. Households could choose products through explicit payoff and attention rules. The cooperative could retain shared environments. Shops could record arrivals with identities and clocks. Contracts could specify which future actions become possible after a payment.

The adventurous step is to let these pieces change one another. Adoption changes which trials get observed. Credit changes which experiments can be attempted. A new public service changes feasible choices. Published results change expectations, which can change the outcomes those expectations predict.

Several comparisons would reveal different mechanisms:

Hold fixedChangeWatch for
Current forecasts about technologyA temporary payoff pulse or the interaction networkDifferent persistence after the intervention ends
Every loan’s marginal riskWhich loans share an environmentDifferent collective-loss distributions
The sequence of shop labelsThe retained waiting timesDifferent beliefs about intensities and market shares
Individual project rankingsThe decision agenda or a newly designed optionDifferent collective decisions from the same people

One particularly fertile experiment would let a town choose between buying another machine and funding a shared measurement service. Machines change production capacity. Measurements change what everyone can learn about a common state. Their values depend on who receives the results, which actions become available, and whether the resulting choices change the state being measured.

A second experiment could compare organizations that immediately compress every disagreement to one score with organizations that keep a small mixture of coherent perspectives. Could the latter discover a new project that the former never proposes? The rankings table gives that question a concrete starting point.

The town’s memory would live in the relationships among trials, receipts, clocks, choices, and exchanges. A useful state would keep the pieces that let its next question be answered, even when the question changes.