EntropyDensityCollapse

Rescale entropy and density by system size until all samples fall on one curve, then read regimes from the residue

Physics · Dynamics · brainference 1.0.0

Mechanism

Samples differ in how many agents or interactions fill the same observation area, so raw entropies mix size with structure. Make both quantities intensive: entropy density eta = H / A_o and control parameter rho = N_V / A_o (agent density for an agent network, interaction-event density for an event network). Take the characteristic system size S = <rho> per sample and fit the finite-size scaling ansatz eta(rho, S) = S^alpha f(rho S^-beta): choose alpha and beta (e.g. by Nelder-Mead) to minimise sum_ij (eta_ij S^-alpha - f(rho_ij S^-beta))^2 over samples i and windows j, and bootstrap windows to get exponent uncertainties. A good collapse means a shared scaling law; systematic, regime-labelled departures from the collapsed curve are the signal. Compare the collapse with the same procedure on NullModelBaseline data, and test departures with ClusteredObservationTesting. Interpret exponents too: near-zero exponents with a near-perfect fit mean the measure is simply tracking density.

Invariants

Preconditions

Postconditions

Failure modes

Where this came from

Builds on

Used by

Identity