What the shape is for

How many parameters a curve is worth

A susceptibility curve routinely carries four fitted parameters and the question of whether it can support them is never asked. It has an arithmetic answer: the four directions the fit sees span a factor of five hundred, so one per cent data fix the first two to under three per cent and the last to thirty-seven — and forty points reaching two kelvin are worth more than sixteen thousand starting at twenty.

Worth reading first: The model is what is fitted · The moment a fit invents.

The model is what is fitted fitted the two-spin expression to an exactly computed chain of eight and got back a coupling of −66.7 where the sample had −50, with a residual of 0.998. The lesson was that a residual measures how well a two-parameter curve follows a smooth monotone function of temperature, which almost any two-parameter curve does, and that the mismatch goes into the gg factor quietly.

It ended by asking the question that would make all of that operational. Every fit there reported two numbers, as did the Curie–Weiss fits that invent a moment. Real fits report more — a monomeric impurity and a temperature-independent term are both standard, and four-parameter fits are published routinely — and whether a susceptibility curve contains four parameters’ worth of information had never been asked as an arithmetic question.

It is one. The answer does not depend on the data being noisy, on the fitting software, or on anybody’s judgement: it depends on the shape of the map from parameters to curve, and it can be computed before any data exist.

How much of a curve each extra parameter has left to work with. The singular values of the design matrix for a susceptibility curve, for two, three and four parameters fitted to the same data, on a logarithmic scale. With four they run 12.411, 2.026, 0.149, 0.025 — a span of 500 — so one per cent data fix the first two to under 3 per cent and the last to 37. Each value is what is left of the measurement after the directions above it have taken their share, so a short bar is not a hard parameter but an absent one.
Fig. 1 The singular values of the design for two, three and four parameters fitted to the same curve. Each is what is left of the measurement after the directions above it have taken their share; the fourth is a fortieth of a per cent of the first.

The four numbers a paper reports

The sample is the same one used there: a Heisenberg chain of eight spin-½ centres, solved exactly by diagonalising the whole 282^8-dimensional configuration space and computing the susceptibility from the complete spectrum. That is the sample, and it is exact in a way a real one never is.

What is fitted to it is not the same thing. Four parameters, and every one of them is something a paper reports:

  • JJ, the coupling, which is what the measurement is for.
  • gg, which multiplies the whole curve, and which is where a model mismatch hides — the same place a force field puts a mismatch it has no coordinate for.
  • ρ\rho, the fraction of spins that are uncoupled monomer. A real sample has some — a broken bridge, a paramagnetic edge — and it shows as a rise in χT\chi T as the temperature falls.
  • χTIP\chi_{\text{TIP}}, a temperature-independent susceptibility from mixing with excited states. It adds χTIPT\chi_{\text{TIP}} T to χT\chi T and so shows at the top of the range.

The last two are deliberately at opposite ends of the curve. That is not a device; it is why both are in every fitting program, because each is the standard repair for a discrepancy at one end.

Differentiating the curve rather than fitting it

The quantity that decides everything is the matrix of lnχT(Ti)/lnpj\partial \ln \chi T(T_i) / \partial \ln p_j — one row per measured temperature, one column per parameter. It says how the curve moves when a parameter moves, which is exactly and only what a fit has to work with.

Its singular values are the independent directions of that matrix, largest first, and each one is what a measurement of stated precision can resolve along its own direction. It is the same instrument a pair of band measurements is read with, asked of forty numbers instead of two. For the four-parameter fit over 20–300 K at forty points they are

12.411,2.026,0.149,0.025.12.411, \quad 2.026, \quad 0.149, \quad 0.025.

A span of five hundred, from a curve with no noise in it and no fitting anywhere. The first direction is what the whole curve’s height reports; the last is a combination the curve barely responds to at all.

Propagating one per cent measurement errors through that matrix gives what the fit can return:

fitted condition JJ gg ρ\rho χTIP\chi_{\text{TIP}}
JJ, gg 6.2 0.47% 0.17%
JJ, gg, χTIP\chi_{\text{TIP}} 205 0.66% 0.76% 16.5%
JJ, gg, ρ\rho 90 0.98% 0.24% 7.2%
all four 500 2.95% 2.01% 16.3% 37.3%

A curve is worth about two parameters. Two are fixed to a fraction of a per cent; the third costs an order of magnitude in conditioning; the fourth costs another and comes back at thirty-seven per cent, which is not a measurement of anything. A parameter that never finds a value is the same finding reached from the other end, where a third parameter had no interior optimum at all.

The coupling a fit reports, and the coupling the sample has. Exact susceptibilities of Heisenberg chains of two, four, six and eight spins, every one of them coupled at -50 cm⁻¹, each fitted with the two-spin expression over 80–600 K. The two-spin sample returns its own coupling exactly; every longer chain returns one too large, by more the longer it is, up to 20.9 per cent. Every one of those fits has an R² above 0.99, so nothing in the fit reports that anything is wrong.
Fig. 2 What the two-spin fit established, and the reason this essay is about the right model rather than the wrong one: fitting a chain with the two-spin expression returns a coupling that is wrong by a definite factor and reports nothing. Everything here uses the correct model, and the difficulty is still there.

The cost is not confined to the parameter that caused it

The row that is easy to miss is the first column. Fitting JJ and gg alone fixes JJ to 0.47 per cent. Adding the two extra parameters — both of which are genuinely present in a real sample, both of which come back small — takes JJ’s own uncertainty to 2.95 per cent, a factor of six.

That is worth stating plainly because the intuition runs the other way, and because a moment counts electrons rather than orbitals — the quantity being reported is a sum over the whole sample, so a small population with a large moment is not a small term. An impurity fraction of two per cent is a small correction, and a small correction ought to perturb the answer by a small amount. It does. What it also does is open a direction in the four-dimensional parameter space along which the curve barely changes — and the coupling has a component along that direction. Everything is worse, not just the parameter that was added.

An undetermined direction is a property of the parameter space, not of a parameter. A fit with one badly determined parameter does not have three good ones and a bad one; it has a region, and every parameter’s error bar is a shadow of that region on its own axis.

Where in the curve each parameter lives

The window is where the argument becomes concrete, because a monomer fraction is a rise as T0T \to 0 and there is nothing else it can be.

Holding everything else fixed and moving only where the measurement starts:

lowest temperature condition JJ gg ρ\rho χTIP\chi_{\text{TIP}}
2 K 132 0.5% 0.5% 0.8% 10.6%
10 K 223 0.8% 0.8% 1.9% 17.8%
20 K 500 2.9% 2.0% 16.2% 37.3%
80 K 2922 12.2% 3.9% 235% 63.0%

A window starting at eighty kelvin returns the monomer fraction with an uncertainty larger than the parameter itself. That is the arithmetic form of this measurement contains no information about that quantity, and it is a much sharper statement than saying the fit is poorly constrained: the curve is consistent with there being no monomer at all and with there being three times as much as assumed.

And the coupling — the quantity the whole experiment is for — degrades from half a per cent to twelve, because it shares the space with a direction that has gone.

The parameter that lives at the cold end, given up. What one per cent data fix, against where the temperature window starts. The monomer fraction is a rise in χT as the temperature falls, so a window reaching 2 K fixes it to 0.8 per cent and one starting at 80 K leaves it at 235 per cent — larger than the parameter itself, which is the arithmetic form of the curve containing no information about it. Everything else in the fit gets worse with it, because an undetermined direction is not confined to its own parameter.
Fig. 3 Every parameter’s uncertainty against where the temperature window starts. The monomer fraction runs off the top as the cold end is given up, and takes everything else with it.

What the cold end is worth, in points

The obvious response to a badly determined parameter is more data. The right question is how much more, and the answer is computable rather than rhetorical.

Uncertainties fall as the square root of the number of points — that is what independent measurements of equal precision do, and checking it rather than assuming it is what converts a window into a price. Over a factor of sixteen in the point count, every parameter’s uncertainty tracks the square-root law to within sixteen per cent, and the departure is systematic and in one direction: extra points crowd into a stretch of curve already measured and are worth slightly less than the same number of independent ones. So the law is an upper bound on what data buys.

Sixteen times the data, four times less uncertain — almost. Every parameter's uncertainty against the number of points, with the square-root law drawn from the smallest run as a dashed line. Over a factor of sixteen in the point count the measured uncertainties sit within 16 per cent of it, and the departure is systematic and in one direction: denser sampling of a fixed window is worth slightly less than the same number of independent measurements, because the extra points crowd into a stretch of curve already measured. So a window that starts too high can be priced in points, and the price is an upper bound.
Fig. 4 Uncertainty against the number of points, with the square-root law drawn from the smallest run. Sixteen times the data is a little under four times the precision, and the shortfall is in one direction.

Now price the cold end. Forty points reaching down to 2 K fix the monomer fraction to 0.82 per cent. Starting instead at 20 K:

points, from 20 K JJ gg ρ\rho χTIP\chi_{\text{TIP}}
40 2.95% 2.01% 16.25% 37.34%
400 0.97% 0.65% 5.63% 12.12%
4,000 0.31% 0.21% 1.80% 3.84%
16,000 0.15% 0.10% 0.90% 1.92%

Sixteen thousand points starting at twenty kelvin still do not match forty points that reach two. Four hundred times the data, and the parameter that lives at the cold end is fixed slightly less well than by the small measurement that goes there.

The contrast is what makes it a result rather than a complaint. The temperature-independent term lives at the hot end, which both windows have, and four thousand warm points beat the cold forty comfortably — 3.84 per cent against 10.62. The cold end is worth four hundred times the data for the parameter that lives there and nothing at all for the one that does not, which is a statement about where information is and not about how much of it there is.

The same sample, fitted over four temperature ranges. A pair coupled at -40 cm⁻¹, its susceptibility computed exactly, fitted to a Curie–Weiss law over four ranges. The moment and the Weiss temperature the fit reports both depend on which range was used, and the quality of the fit does not warn about it.
Fig. 5 The visible half of the same difficulty, in the crudest fit there is. One exact curve for a pair coupled at −40, fitted with a Curie–Weiss law over four windows: the Weiss temperatures come back at 41.2, 1218.0, −69.0 and 203.2 kelvin, and three of the four cannot return a moment at all. Where a window carries no information about a parameter, what comes back is not a wrong number with a wide error bar — it is whatever the arithmetic happened to land on.

Why this is not the residual’s problem

Nothing above involves a residual, and that is the whole difference from the two-spin fit.

The two-spin fit’s failure was a wrong model fitting well: the residual was 0.998 and the answer was out by a third, because a residual asks whether the curve goes through the points and a smooth two-parameter family goes through almost any smooth points. The failure here happens with the right model and a residual that will be excellent, because the fit really can reproduce the data — along a whole valley of parameter values that reproduce it equally well.

The two failures are independent and they compound. A published four-parameter fit to a warm-started curve can be wrong in the coupling because the model is not the sample’s, and wrong again because the coupling is entangled with a direction the data never touched, and both times the residual will be beautiful.

The cleaner the regime, the worse the second measurement of the same kind. How badly conditioned each pair of observables is, against the coupling, on a logarithmic scale. Shape with excess gap sits between 5.0 and 6.4 and improves slightly as the coupling weakens. Shape with shape runs from 12 to 293 and gets steadily worse — because the two band shapes become the same function of the same ratio exactly as second-order perturbation theory becomes exact. A measurement that gets worse the better the model holds is the signature of a degeneracy rather than of noise.
Fig. 6 The cleaner the regime, the worse the second measurement of the same kind. A transformation that makes a plot linear looks as though it has settled something, because a straight line looks determined; what it does not change is which combinations of parameters the curve constrains, and in the cleanest regime it constrains one of them very well and the next hardly at all.

What is quoted, and what is computed

Nothing here is quoted. The sample is an exact spectrum, the parameter point is stated — a chain of eight at J=50J = -50 K, two per cent monomer, χTIP=2×104\chi_{\text{TIP}} = 2 \times 10^{-4} — and the one per cent precision is a hypothesis about an experiment rather than a report of one.

That is the honest shape for the question. An uncertainty computed from a design matrix is knowable before any measurement is made, which is exactly when it is useful: it is a statement about which experiment to do, and it stops being available the moment somebody has done one.

Every derivative is a central difference taken at two step sizes a factor of two apart, and a derivative whose two estimates disagree is refused rather than returned. The exact spectra come from the same diagonalisation used for the two-spin fit, and each coupling’s spectrum is computed once and reused across the whole curve — a finite difference in JJ needs one new spectrum, not one per temperature.

The condition numbers are ratios of singular values of the design, and the singular values come from the eigenvalues of its Gram matrix, computed by the Jacobi solver that produces every spectrum drawn here.

What this cannot say

A well-conditioned fit is not a correct one. Everything here assumes the model is the sample’s. The two-spin fit shows what happens when it is not, and the two questions are independent: this arithmetic is equally happy to report that a wrong model’s parameters are beautifully determined.

The uncertainties are linearised. A one per cent region is an honest description of a small region; a 235 per cent one is a statement that the region is large, not a description of its shape. Where the linearisation fails it fails in the direction that strengthens the conclusion.

Real errors are not one per cent everywhere. A susceptibility measured at 2 K is a small number with a large relative error, and a real cold measurement is worse than the one assumed here. That moves the conclusion the right way for honesty and the wrong way for the recommendation: the cold end is worth what is claimed only if it can be measured, and what a thermometer can find is the same limit in another guise.

And the chain is eight spins. A real chain is long, and its susceptibility has a different low-temperature form; eight is what can be diagonalised exactly, which is the price of having a sample with no model error in it at all.

The coupling cancels out of the quotient. The excess gap divided by the shape departure, against the band separation, at three couplings. Each is a straight line through the origin: the quotient of two second-order numbers is first order in the separation and contains no coupling at all. The slope is 4.2284 at the weakest coupling, constant across a factor of three in the separation to 0.19 per cent, and it drifts by 5.9 per cent by the strongest — which is the next order in the coupling arriving, and is the whole of the error in reading a separation off a pair of measurements.
Fig. 7 The quantity that survives, and why. Taking a ratio of two measurements cancels the coupling out of the quotient, so what is left is determined by the curve even where neither operand is. A fit that reports a ratio to three figures and a parameter to three figures is reporting two quite different kinds of number.

What was checked

The four singular values span more than two orders of magnitude, at every window tried — checked as a ratio rather than by looking at whether the smallest is small.

Two parameters are well conditioned and four are not, by a factor of more than twenty in the condition number. The two-parameter case has to come back good, or the claim would be that fitting is hard rather than that these particular extra parameters are nearly free directions.

The monomer fraction’s uncertainty is monotone in the window’s cold end — a sequence rather than two points, because a single comparison would be consistent with a fluctuation.

The square-root law holds to within a fifth over a factor of sixteen in the point count, which is what licenses pricing a window in points at all.

And no warm run tried matches the cold reference for the parameter that lives cold, while the parameter that lives hot is matched. Both halves are checked; either alone would read as a statement about how much data is enough.

What each measurable number is a function of. The exponents relating four measurable numbers to the four parameters of a two-band system: each cell is d ln(number) ÷ d ln(parameter), evaluated by central differences at Δ = 12 and t⊥ = 0.08. The two widths are first order in their own hopping and blind to everything else. The two second-order numbers both go as the square of the coupling and differ in the separation — -2.03 against -1.03 — and that difference of one power is what makes all four parameters recoverable at a condition number of 12.6.
Fig. 8 What each measurable number is a function of. A curve with a feature in it carries information about where the feature is; a featureless curve carries the value of one combination and the direction of another, and this is the list of which is which. It is the same statement the thermal case makes with a step in it, made without one.

A version of the test that needs no singular values

The arithmetic here requires decomposing a design matrix, which is not what a chemist fitting a susceptibility curve is going to do. There is a version of the same test that needs nothing but the fitting routine already in use, and it answers the same question.

Fix each parameter in turn at a deliberately wrong value and refit the rest. If the residual barely moves, that parameter was not determined by the data: the other three absorbed the change, which is exactly what an ill-conditioned direction means. If the residual rises sharply, the parameter is carrying real information.

The test costs four extra fits and it reports the same thing the singular values do, in units a reader already understands. It also reports it per parameter rather than per direction, which is less informative and is what a paper’s four quoted numbers implicitly claim.

There is a cruder rule of thumb behind both, and the numbers here support it. The information in a curve is where the curve is changing shape, and a susceptibility measurement of a simple antiferromagnetic dimer has one shape change in it — the maximum in χ, or equivalently the fall in χT. A curve with one feature can support the two parameters that place the feature and roughly one more that scales it. A fourth parameter is being fitted to a region of the curve that has nothing in it.

That gives a check to make before the fitting starts rather than after. Count the features, then count the parameters. A measurement that does not reach cold enough to show the maximum has no feature at all, and its curve is a smooth monotone one — which carries a height and a slope, and that is two numbers however many are requested.

None of that replaces the conditioning analysis, which says which combinations are determined and by how much. What it does is make the failure visible to somebody who was never going to run one, which is most of the people quoting four parameters.

Still open: an odd ring, and which combination is determined

The obvious open question is the odd ring, and the reason to run it here is different from the reason it was first proposed. A ring of an odd number of spins has a frustrated ground state whose susceptibility diverges at low temperature, in the way a half-filled band’s own degeneracy makes itself felt — which is a feature, at the cold end, in exactly the place shown here to carry the information. Whether a feature there buys back the fourth parameter, and how many points’ worth it is, is the same arithmetic run on a different sample, and it would turn measure colder into measure a sample whose curve has something in it.

The nearer question is the one set up here and not asked: which combination the undetermined direction actually is. The singular vector belonging to the smallest singular value is a direction in the four-parameter space, and it is not the χTIP\chi_{\text{TIP}} axis — it is some mixture, and knowing which mixture would say what a paper’s four quoted numbers are jointly constrained to rather than what each is separately. Reporting the combination that is determined instead of four numbers that are not is a different way of writing a result, and an underdetermined structure raises the same possibility about a set of bond lengths.

What links here

Computed from the collection rather than written here: the essays that point at this one.

Reads more easily once this is understood

Essays that name this one as worth reading first.

Shares its objects with

Essays naming at least two of the same things, that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

ApproximationBoltzmannConventionExact diagonalisationExchange couplingExpectation valueLeast-squaresMagnetic momentModel limitSpin stateSusceptibilityTemperatureUnderdeterminationUnpaired electrons