EpistemicPhysics
Survey · Statistics

When the numbers refuse to fit

Test joint possibilities, pay for signed weights, and follow evidence through time.

· 21 min read · 3 interactive demos

Three teams return from a survey. Each has asked two of the same three yes-or-no questions. Their individual answer frequencies agree perfectly. Every pair disagrees 70% of the time.

The spreadsheets look tidy. Their correlation matrix even passes a standard mathematical test. Shall we combine them into one picture of the population?

Before boarding that picture, try to write down one person’s three answers. How many pairs can disagree?

This little puzzle will take us into negative probability, the cost of cancellation, and an experiment that lets us stop whenever we like. Epistemic Physics gives us a useful traveling kit: positive cones, explicit questions, traceable observations, and rapidity. We will use each tool to ask a different question of a statistical model.

Three reasonable pairs arrive at an impossible party

Call the binary answers A,B,C, and encode yes as +1 and no as −1. Each answer is individually balanced:

Pr(A=+1)=12,Pr(B=+1)=12,Pr(C=+1)=12.

For this experiment, treat the 70% disagreement rate as a specified probability. The product AB equals +1 when the two answers agree and −1 when they disagree. Its expected value is therefore

E[AB]=310−710=−25.

The symbol E means an average weighted by probabilities. Since our answers have mean zero and variance one, these product averages are also their correlations, measures of how they vary together.

Our three surveys propose

E[AB]=E[BC]=E[CA]=−25.

Collect those numbers in the correlation matrix

C=(1−2/5−2/5−2/51−2/5−2/5−2/51).

A correlation matrix must be positive semidefinite: every real vector u must satisfy uTCu≥0. This ensures that every linear combination of the variables has nonnegative variance. The superscript T means transpose.

Our matrix passes. Its eigenvalues, the scale factors along its principal directions, are

15,75,75.

All are positive. A Gaussian model could happily use this correlation matrix. But our variables must take the two values +1 and −1. Those discrete possibilities impose an additional structure.

Write down three answers. They are either all the same, giving zero disagreeing pairs, or one differs from the other two, giving two disagreeing pairs. Consequently,

AB+BC+CA∈{−1,3},E[AB+BC+CA]≥−1.

Our proposed average is −6/5. Equivalently, the surveys demand an average of 3(7/10)=2.1 disagreeing pairs, when an actual triple can have at most two.

The matrix’s geometry and the possible answer assignments are asking different compatibility questions. Passing one has left the other unresolved.

A negative entry marks the missing room

Let us deliberately allow signed weights and see what they accomplish. For a particular assignment (a,b,c)∈{−1,+1}3, define

q(a,b,c)=1−25(ab+bc+ca)8.

There are eight assignments. The table is short enough to inspect:

Assignment typeNumber of assignmentsWeight of each
All three answers equal2−1/40
One answer differs67/40

The weights sum to one. Summing over an unwanted answer gives exactly the requested pair table. Summing over two answers gives the fair individual probabilities.

A marginal is the distribution obtained by forgetting some variables. This signed joint table has ordinary, nonnegative marginals for every question our teams actually asked. Its negative weights record the obstruction to treating those local answers as parts of one fixed binary assignment.

The relation between local marginals and signed global representations is developed by Abramsky and Brandenburger. Here, the eight-entry calculation gives us a small example we can hold in our hands. Read their paper on negative probabilities and no-signalling models.

There is an exact amount of negativity we must pay. Let w be the total weight of the two all-equal assignments. Then

E[AB+BC+CA]=3w−(1−w)=4w−1.

Setting this equal to −6/5 forces w=−1/20. Every signed extension with these pair expectations must have at least 1/20 total negative weight. Our symmetric table reaches that minimum.

The negative entry is doing a particular job: it lets a compact joint representation preserve all three pairwise stories.

Local answers, global possibilities

Can all three surveys describe one world?

Each question has two answers, + and −, each with probability one half. Edit how often each pair disagrees. Can you make every pair look reasonable while the three refuse to fit together?

Choose an edge to edit

A and B: click to select; arrow keys change the pair70.0%disagreeB and C: click to select; arrow keys change the pair70.0%disagreeC and A: click to select; arrow keys change the pair70.0%disagreeABC

Editing A and B

One signed table for all three answers

− − − -0.025
− − + 0.175
− + − 0.175
− + + 0.175
+ − − 0.175
+ − + 0.175
+ + − 0.175
+ + + -0.025

Signs list A, B, C in that order. The eight weights sum to one. Rose cards carry a negative weight.

Positive-semidefinite correlation matrix
Yes
Ordinary joint distribution exists
No
Smallest total negative weight
0.050
Expected disagreeing pairs
2.10 / 3
The correlation matrix passes its positivity test. At least one group of joint assignments still needs negative weight. Matrix positivity has left a further compatibility question to answer.

Mix in independent pairs

Each pair table is mixed with a fair independent pair by the same fraction. Every correlation is multiplied by one minus that fraction. The original reports stay available when you remove the mixture.

Pay for cancellation with extra draws

Sample the eight assignments in proportion to their absolute weights. Restore each weight's sign to estimate the average product AB. Negative tokens cancel positive tokens.

Monte Carlo draws
0
Estimated mean AB
No draws yet
Exact mean AB
-0.400
Signed estimator variance, one draw
1.050
Direct pair estimator variance, one draw
0.840
Standard error of the signed mean
No draws yet

Standard error is the standard deviation of this estimator's sample mean. These are computer draws from a chosen representation; the survey evidence stays fixed. At the 70% triangle, signed sampling has variance 1.05 per draw and direct sampling of AB has variance 0.84.

How much mixing makes the stories fit?

Add a fresh ingredient: with probability ε, replace a pair survey by two independent fair answers. With probability 1−ε, use the original pair model.

The independent pair has correlation zero, so each mixed correlation becomes

c′=(1−ε)(−25).

The equal-correlation boundary for a classical binary triple is c′=−1/3. Solving gives

ε=16.

At this mixture, each pair disagrees with probability 2/3. The two all-equal assignments have zero weight, and the six remaining assignments each have weight 1/6. We have constructed a positive joint distribution.

This fraction is a robustness measure: it quantifies how much of this particular independent-pair mixture removes the incompatibility. Another way of changing the reports could have a different cost.

For unequal pair correlations x=E[AB], y=E[BC], and z=E[CA], the four pairs of opposite assignments have total weights

g0=1+x+y+z4,g1=1+x−y−z4,g2=1−x−y+z4,g3=1−x+y−z4.

Each gi must be nonnegative for a positive joint distribution to exist. These four inequalities enclose a tetrahedron in correlation space. A tetrahedron is the solid with four triangular faces. The positive-semidefinite correlation region extends beyond it.

This suggests an EP compatibility instrument with several lenses. One checks positive state geometry. Another checks the possible answers to the chosen questions. A third could preserve the source graph and inspect whether the surveys refer to the same population and conditions.

In a real investigation, those distinctions suggest different next actions: collect more trials to narrow uncertain pair estimates, identify a changed context, or adopt a model in which asking a question changes the state. The geometry can help choose the next experiment.

Even compatible pairs can forget a whole pattern

Try another pair of survey folders. Now use 0 and 1 for no and yes. Each row records one person, and each folder contains four different people:

FolderComplete answer rows, in A, B, C orderPeople answering yes to all three
Teal000, 011, 101, 1100
Gold001, 010, 100, 1111

Pick any two columns. Both folders contain 00, 01, 10, and 11 exactly once. Every single-question summary and every pair table agrees. Both folders describe perfectly ordinary joint worlds. Their three-way patterns differ.

We can turn that difference into a complete posterior. Assume independent people drawn from one unknown distribution over the eight answer patterns. Put a Dirichlet prior, a distribution over those eight probabilities, on that world. Give each pattern prior shape 1/8, preserving total prior amount one. Let q be the population probability of answering yes to all three questions. Counting the complete rows gives

q∣Teal∼Beta⁡(1/8,39/8),q∣Gold∼Beta⁡(9/8,31/8).

Their posterior means are 1/40 and 9/40. The same pair summaries have concealed different answers to the triple question.

This is where lineage becomes a reconstruction tool. Retaining which answers belong to the same person preserves the rows needed for the likelihood. FLogic’s tally logic compiles those joined observations into counts of compatible answer patterns, then reconstructs the query distribution. With partially observed rows, its construction can retain several Beta components, weighted by the possible completions. Try the report-joining experiment.

A useful observer therefore asks two successive questions: can these summaries fit together, and which joint details have they forgotten? The first investigates compatibility. The second tells us what the next observation should recover.

Negative weights can spend computer time

A signed table also creates an ordinary sampling problem.

Write its entries as qi, with ∑iqi=1. Define

N=∑imax(0,−qi),Z=∑i|qi|=1+2N.

The quantity N is total negative weight. The quantity Z, called total variation here, counts the absolute amount before positive and negative parts cancel.

Suppose we want the signed average ∑iqif(i) of a quantity f. We can sample using entirely ordinary probabilities:

Pr(I=i)=|qi|Z,X=Zsign⁡(qI)f(I).

The random index I selects an assignment. The function sign restores whether its weight was positive or negative. Multiplying out the average gives

E[X]=∑i|qi|ZZsign⁡(qi)f(i)=∑iqif(i).

The estimator is unbiased: its average over repeated runs equals the target. If |f(i)|≤1, then

E[X2]≤Z2.

For our triangle, Z=11/10. Choose f=AB, so the target average is −2/5. The signed estimator has variance

Var⁡(X)=121100−425=2120.

Direct sampling from the positive AB marginal has variance 1−4/25=21/25. For these two estimators of this particular quantity, signed sampling needs 25% more draws to give its sample mean the same variance.

Imagine two buckets of tokens, one positive and one negative. Larger buckets can produce the same net total, yet require more sampling to resolve the cancellation. Negativity has acquired a computational price.

An ambitious next step would search among signed representations that preserve the required observable predictions and choose one with cheaper cancellation. The best representation might depend on which questions we need to answer.

A model can fit today’s table and stumble tomorrow

Compatibility examines whether claims can coexist. Prediction asks what a model expects next.

Set the survey triangle aside and pick up a coin. Our reference model says each flip is independent and has heads probability

p0=12.

A competing model allows an unknown fixed heads probability p, initially distributed as

p∼Beta⁡(12,12).

After Sn heads and Fn tails in n=Sn+Fn flips, its next-heads probability is

p^n+1=Sn+1/2n+1.

The half-trials belong to the initial prior and are included once. Each observed flip contributes one new trial. The next prediction uses only answers already seen.

How well did these two models predict the whole sequence? The reference assigns likelihood p0Sn(1−p0)Fn. The learning model averages over its initial Beta distribution, assigning likelihood

mn=B(Sn+1/2,Fn+1/2)B(1/2,1/2).

The Beta function B(a,b)=∫01pa−1(1−p)b−1dp supplies the normalization. We are evaluating one ordered sequence, so no binomial coefficient is needed.

Their likelihood ratio is

En=mnp0Sn(1−p0)Fn.

A value above one favors the learning model for the observed sequence; below one favors the reference. This is evidence between the two specified predictive models.

Build the stopping rule into the path

Suppose the reference model is correct. Given the past, the next likelihood multiplier is

{p^n+1/p0,heads,(1−p^n+1)/(1−p0),tails.

Its conditional average is

p0p^n+1p0+(1−p0)1−p^n+11−p0=1.

Therefore E[En+1∣past]=En. Such a process is a martingale: under the reference model, the current value is the expected next value given the information already available.

Our process is nonnegative and starts at E0=1. Ville’s inequality gives

Prp0(supn≥0En≥1δ)≤δ.

The symbol sup means the largest value reached over all times. With δ=1/20, the probability of ever crossing E=20 is at most 5% under the reference model. We may inspect the path after every flip and choose when to stop. Shafer and coauthors explain the links among these test martingales, likelihood evidence, and sequential probability bounds. Read their paper.

The entire trajectory has become the statistical object. A path can cross and later return; its present value and its maximum answer different questions.

Evidence, rapidity, and bits

Stop whenever you like. Read the whole path.

A fair-coin model predicts heads with probability one half. A competing Beta model learns as the answers arrive. Flip the coin, or build a path by hand, and compare how well they predicted it.

Choose the coin that generates random flips

Choosing a coin starts a new experiment. The model being tested remains the fair coin.

Collected 0 trials: 0 heads and 0 tails.

-1.30.42.1020Trial count nModel rapidity r
Likelihood path in half-log oddsE = 20; r = ½ log 20
Likelihood ratio E
1.000
Model rapidity: ½ log E
0.000
Bits saved by the learning model
0.000
Learning model's next-heads probability
50.0%
First E ≥ 20
Not yet
95% posterior interval excludes ½ now
No
The path has not crossed E = 20. Positive rapidity favors the learning model; negative rapidity favors the fixed fair-coin model for the sequence seen so far.

The learning model starts at Beta(½, ½) and predicts each new trial using only earlier answers. For independent fair-coin draws, the chance of ever crossing E = 20 is at most 5%. Paths built by hand let you explore the geometry of particular sequences.

What if we inspect after every flip?

Sum the probabilities of all fair-coin paths through 500 flips. Compare crossing E = 20 with stopping the first time a 95% equal-tailed Beta posterior interval excludes one half.

The same path speaks in rapidity and bits

Assign a rapidity to the likelihood odds between our two models:

rnmodels=12log⁡En.

This is the rapidity of the model comparison. The unknown coin probability has its own coordinate 12log⁡[p/(1−p)]; the two objects play different roles.

The stopping boundary becomes

rnmodels≥12log⁡20.

Each new likelihood factor adds a rapidity increment. Epistemic Physics makes the accumulation easy to picture: evidence follows a path in half-log odds.

There is also a coding interpretation. An ideal predictive code assigns a sequence with probability q a length −log2⁡q bits. A bit is one binary unit of information. The reference code and learning code therefore differ by

L0−Llearning=log2⁡En=2rnmodelslog⁡2.

Evidence, rapidity, and saved bits are three readings of the same calculation:

ReadingQuantityWhat a positive log ratio means
Model comparisonEnThe learning model assigned the sequence higher likelihood
Cone coordinate12log⁡EnThe model-odds direction has moved toward the learner
Predictive codinglog2⁡EnThe learning code saved bits on the sequence

Seven heads in a row give E7=3432/128, already above twenty. Balanced sequences often favor the fixed fair-coin model because it placed its predictions directly at one half while the learning model spread its initial attention over many possibilities.

A percentage about a posterior has a different job

A 95% equal-tailed posterior interval leaves 2.5% posterior probability below it and 2.5% above it. That is a statement about the distribution of p after the observed sequence.

Try a different rule: inspect this interval after every flip, and stop when it excludes one half. What is the probability of stopping by flip 500 if the coin is actually fair?

We can calculate it by carrying the probability of every still-running path forward through heads and tails, removing paths as soon as they cross. The exact finite recursion, evaluated numerically, gives:

Repeated-look ruleCrossing probability by flip 500 under the fair-coin model
First En≥203.5416%
First 95% equal-tailed Jeffreys posterior interval excludes 1/248.6892%

The rules answer different questions. One controls a crossing event across time. The other repeatedly inspects posterior mass at a sequence of observation times. Naming the percentage’s job helps us choose the tool for the experiment we intend to run.

Race the stopping rules across every possible experiment

How much safety does the crossing rule buy, and what does it cost? Give one hundred simulated labs the same flips and three verdict rules: an unadjusted p<0.05 check at every look, a pre-registered schedule that splits its 5% error budget across one hundred looks, and the evidence path crossing E≥20. The forward recursion above prices each rule exactly, over every possible sequence at once.

A measured benchmark

Race a hundred impatient labs

A hundred labs run the same test: each trial is one head-to-head round that the new version either wins or loses, and every lab peeks at its tally after every ten trials. All three verdict rules watch the same trials; only the rule differs. Choose the hidden truth, then run the race.

Peek at p-values p < 0.05, every look

0 false alarms · 100 labs

Rationed peeks classical fix: 5% split over 100 looks

0 false alarms · 100 labs

Evidence ledger epistemic physics: cross E ≥ 20

0 false alarms · 100 labs

false alarm real difference found still running

Odds multiply while rapidities add, so the verdict line E ≥ 20 is one fixed rung in rapidity: when nothing really differs, an evidence path ever climbs above it with probability at most 1 in 20, however long you watch and however often you peek. The exact rates are sums over every path in the evidence cone; only the hundred sample labs are random.

With no real bias, unadjusted peeking eventually declares a difference in over a third of the labs, and its rate keeps climbing as the horizon grows. The pre-registered schedule stays safe only until its planned looks run out. The evidence path holds one lifetime guarantee at every horizon, and it finds a solid bias at nearly the same trial count as the schedule. The freedom to keep watching is what the martingale bought.

Test a contextual world by the questions actually asked

Return to our three survey teams. Suppose the experimental context determines which pair is asked, and a model predicts a valid distribution for the answers in that context. Its predictions may come from a changing matrix state, a hidden source graph, or a signed representation of several local tables.

We can still test the observable predictions. At step i, let ui name the chosen question, yi its answer, and hi the recorded history before that answer. Compare a proposed conditional prediction qi(yi∣hi,ui) with a reference pi(yi∣hi,ui):

En=∏i=1nqi(yi∣hi,ui)pi(yi∣hi,ui).

Let the question depend on the past. Require both models to give normalized, nonnegative answer probabilities, with the reference positive wherever the proposed model is positive. Hold the current history and question fixed, and shorten the notation to qi(y) and pi(y). Under the reference, the next factor again has average one:

∑ypi(y)qi(y)pi(y)=∑yqi(y)=1.

The same martingale argument applies. We have moved from independent coin flips to adaptive questioning through a specified history.

This suggests a larger EP research instrument. Preserve the identities of actual observations. Track the questions that produced them. Let different models propose their next answer distributions, then compare the resulting evidence paths. A copied report can be predicted from its parent; it does not need to masquerade as another independent trial.

The directional-learning article gives the observer a way to choose its next direction. Evidence taking different roads supplies source graphs and state-changing questions. Here we have added two further instruments: a compatibility test for a proposed world, and a predictive path for the world encountered through time.

One ambitious experiment would let those instruments talk to each other. A compatibility failure could suggest a new context variable. An adaptive question could distinguish the resulting models. Their next predictions would determine which new description earns its place.

Follow this intoMathematics ↗