Skip to content

When a Yield Difference Isn't the Treatment: A Field-Trial Case Study in Spatial Confounding

A field trial testing a microbial treatment's effect on plant yield found a difference between treated and untreated plots. Before that difference could be trusted as a treatment effect, a Bayesian consultancy had to answer a prior question: how much of it was actually caused by where each plot sat in the field.

The confound hiding in a field trial

Soil quality, moisture, and drainage vary across a physical plot, and that variation does not respect treatment boundaries. A plot near a wetter corner of the field can outperform a drier one regardless of what was applied to it. Field-trial statisticians have documented this spatial-correlation problem for decades: treatment comparisons that ignore the spatial layout of plots can attribute yield variation to the treatment when the real driver is location. For a biotech or agtech R&D team, that mistake produces a false-positive product claim or a rollout built on noise.

Isolating the spatial pattern before reading the treatment effect

The consulting team's approach, described in a recorded panel discussion on the project, was to model the spatial pattern rather than let it hide inside the treatment estimate. Using a Gaussian process over each plot's location, they estimated a smooth spatial surface across the field, then subtracted that surface from the raw yield readings before comparing treated and untreated plots. What remained after removing the spatial estimate is what they read as the treatment effect.

This two-step separation (estimate the confound, then remove it) is the same discipline underlying Bayesian spatial modeling in three-dimensional agricultural trials, where a spatial Gaussian process is fit alongside the treatment term so the treatment coefficient is not contaminated by unmodeled position effects.

Why this generalizes past one field

The project had limited data: a small number of plots, a single field layout, and one microbial treatment. That constraint is common in on-farm precision experimentation, where spatial variability in crop response to agronomic inputs is large enough that a treatment comparison without a spatial term can point the wrong direction even when the sample looks adequate on paper. The decision this case illustrates is not specific to microbes or yogurt cultures: any team drawing a causal conclusion from physical trial data has to ask whether the effect it sees would survive a spatial control, before it survives a launch decision.

A causal chain diagram showing raw yield readings split by a Gaussian-process spatial pattern estimate; that estimate is subtracted from the readings, leaving an isolated treatment effect as the final output.
The treatment effect is only what remains after the field's spatial pattern is estimated and subtracted from the raw yield readings.

The same discipline, a different population

Subconscious's causal testing method rests on the same core move as this field trial: isolate which action actually drives an outcome, under quantified uncertainty, rather than accept an observed difference at face value. In a simulated population the confound is usually an unbalanced design or an unmodeled interaction rather than field geography, but the discipline is identical: name the candidate confound, model it explicitly, and read the treatment effect only after it is accounted for. Teams that want to move a causal question from a simulated population to real-human testing without changing what's being asked can see how that transition works on how we work and in the broader research documentation.

What this case does not show

This is a third-party consulting case study on physical agricultural field-trial data. It is not a Subconscious customer engagement, and Subconscious did not perform or replicate this analysis. The panel discussion did not report an accuracy figure, an effect size, or a named outcome beyond describing the modeling approach, so none is asserted here. A biotech or agtech team applying this same discipline to its own trials, physical or simulated, still needs its own spatial or design-based check; the lesson generalizes, the numbers do not.

A four-step path: name the candidate confound (field geography or an unbalanced design), model it explicitly, read the treatment effect only after that model is subtracted out, then run your own check before deciding.
The same four-step discipline applies whether the confound is field geography or an unbalanced simulated design, but each team still has to run its own check.

Sources