Chapter 8 · Attractors, fractal dimension, and entropy
Overview
A forecast model has variables. Does an analysis have to constrain numbers?
No — because the trajectory does not visit most of its state space. It settles onto an attractor whose dimension is generally far smaller than the state dimension and generally not an integer, and that number is what an observing system actually has to pin down.
Two ways to measure it, and they share no intermediate quantity:
The Kaplan–Yorke dimension comes from the Lyapunov spectrum — from the dynamics, via the tangent equations. The correlation dimension counts pairs of points closer than on a sampled trajectory — from the geometry, using nothing but a cloud of points. Agreement between them is therefore evidence rather than arithmetic.
Most of the chapter is about how easily both are got wrong. Not as a closing caveat: a dimension estimate is a slope fitted over a range you chose, and choosing badly returns a clean fit with a small residual and the wrong answer.
The model
chaoslib.dimension gains box counting and the Rényi dimensions , a delay-embedding
helper, and three reference sets built by exact self-similar recursion — Cantor
(), Koch () and Sierpiński () — whose dimensions are
known in closed form. Those are the calibration: an estimator that cannot return 1.5850
where the answer is known has no business being pointed at an attractor.
Every expensive computation in this chapter is knob-free, and the one thing the reader
chooses — the scaling window — costs a polyfit over a stored curve. So the curves are
precomputed and every slider re-fits them, which is both instant and the pedagogical
point: one fixed curve, with the window moving across it.
Four results
Two independent routes agree to 0.2%. For Lorenz 63, from counting pairs and from the Lyapunov spectrum. Both estimators work — which matters given how easily either can be made to return nonsense — and the Kaplan–Yorke conjecture holds here: the dimension implied by the growth rates really is the dimension of the set. It is a conjecture, not a theorem, and this is what testing it looks like. The Hénon map is the second case, against a literature 1.22.
The same curve returns 0.19, 1.92 or 2.51 depending on the window. Fitted above 30% of the attractor diameter, where , the slope collapses to 0.19. Fitted below 0.2%, where pair counts are quantised, it steepens to 2.51. Fitted over the whole range it gives a plausible and wrong 1.92 — the most dangerous of the three, because nothing in the output distinguishes it from the correct 2.057. So too coarse biases low and too fine biases high; neither is correctable after the fact.
The Theiler bias runs opposite to the usual warning. Temporal correlation puts a bump in at the distance the trajectory covers between samples. For Lorenz 63 at that step is 1.3% of the diameter — inside the usual fit window — so the bump’s rising flank steepens the local slope from 1.92 to 2.22 and biases high: 2.139, 2.118, 2.084, 2.039 for Theiler windows of 0, 10, 50, 200 samples. The standard warning is that temporal correlation makes the estimator report the trajectory’s smooth one-dimensional curve, biasing low, which happens when the sampling puts the step scale below the window. Which bias you get depends on where your sampling interval falls relative to your fit window.
Box counting works where you can afford it and starves in three dimensions. It recovers all three reference dimensions to better than 0.01, but only while there are more than about ten points per occupied box: on Sierpiński the local slope reads 1.582, 1.568, 1.549, 1.451, 1.127 at occupancies of 186, 63, 21, 7.3, 2.8 against an exact 1.585. On the Lorenz attractor, 19,000 samples do not supply a single clean decade, because box counting spreads points over boxes while pair counting uses all pairs. That is why every dimension quoted for a real attractor is a correlation dimension.
Entropy, and the return on observations
Pesin’s identity makes nats per MTU = 1.30 bits per MTU: the rate at which the system destroys information about its own initial state, and so the rate at which observations must arrive to hold an analysis steady. Each decimal digit of extra initial precision buys days, and the next digit buys 3.8 days again — the logarithmic return that chapter 20 measures from the operational end as 6.5 days per decade of analysis-error reduction.
And all of it works from a single observed variable. Takens’ theorem says a delay embedding of one scalar series reconstructs the attractor once ; measured on the component of Lorenz 63 alone, reads 1.72, 1.95, 1.99, 2.00, 2.00 for , with increments falling 0.235, 0.045, 0.012, 0.002. Since the criterion needs the you are measuring, that saturation is the only available diagnostic.
Exercises
Analytic. Show that a set built from copies of itself at scale has , and evaluate it for the three reference sets. Then show that for any measure, with equality only when it is uniform.
Computational. Reproduce the three wrong answers (0.19, 2.51, 1.92) from the same curve, and for each, name the panel that would have warned you.
Exploratory. Predict from the sampling interval whether the Theiler bias on the chapter’s curve is high or low before changing the Theiler window, then check.
Further reading
- Grassberger, P. and Procaccia, I. (1983). Characterization of strange attractors. Physical Review Letters, 50, 346–349.
- Theiler, J. (1986). Spurious dimension from correlation algorithms applied to limited time-series data. Physical Review A, 34, 2427–2432.
- Kaplan, J. L. and Yorke, J. A. (1979). Chaotic behavior of multidimensional difference equations [citation needed: pages].
- Takens, F. (1981). Detecting strange attractors in turbulence [citation needed: pages].
- Palmer, T. and Hagedorn, R., eds. (2006). Predictability of Weather and Climate, ch. 2 [citation needed: pages].