The Observation Theory EncyclopediaFrom TSKAboutBy kindBy chapterBy Lean fileLedgerProvenance

confound concept

DefinitionA variable that moves with both the treatment and the outcome so that a measured difference cannot be attributed. Chapter 8 requires controls before a claim. Also control.
ExampleA codebook change that arrived with a compression change moved 25 percent of the score on its own, so the comparison was confounded.
BookData Mining as Observation, draft 0.2, commit f3914f0; entry id confound, kind concept.
Statusrefutes or corrects [refuted]. Corrections: 1 item(s), see below.
Defining equation

Book equation 8.3.

Assumptions and scope
  • A variable that moves with both the treatment and the outcome. In the linear case the naive difference of group means is the treatment effect plus the confound’s effect times the difference of the confound’s means between the groups, so it equals the effect exactly when the confound is balanced or has no effect, and the bias can have either sign and any size.
  • Controls come before claims. The twenty-five percent codebook confound in the flip’s early arms and the smooth-perturbation control that was withdrawn are the program’s cases, each carried in the ledger.
Prior artnone recorded
Evidencegeometric-observation/claims/LEDGER.md:99, lean/DataMiningAsObservation/Confound.lean
Reviewednot yet reviewed; generated 2026-09-10 from records at the commits on the provenance page.
first codesecond codereaderfirst codesecond code
A variable that moves both arms of a comparison.

Equation

Book equation 8.3.

\[\Pr[\text{at least one of } m\text{ null tests passes}]=1-(1-\alpha)^{m},\qquad \alpha_{\mathrm{Bonferroni}}=\frac{\alpha}{m}.\]

Conditions

Conditions are curated in entries.toml rather than read from a record.

Ledger

First stated

Chapter 8 section 8.6 of Data Mining as Observation, with the program’s codebook confound in Volume 14’s honest negatives and the negative controls of the constraint-gap review.

Measurements

none

Failures and corrections

Invariance envelope

none declared

Machine checked

lean/DataMiningAsObservation/Confound.lean, theorems mean_outcome, naive_diff, naive_diff_of_balanced, naive_diff_of_no_effect, bias_unbounded, at observation-data-mining f3914f0; what the check covers is stated in the book’s appendix C.

Used in

Data Mining as Observation primer S, chapters 2, 3, 4, 6, 7, 8, 9, 12, 13, 14.

Related

harness; null model; Simpson's paradox; preregistration.

See also

Book equations stated beside the entry’s terms, not defining it: 8.2.

Ledger rows that cite the entry’s records without naming it: NEG-4, NEG-5.

Sources-table rows that share a record with the entry without naming it: chapter 8 section 8.4, chapter 8 section 8.5.

Status

Generated 2026-09-10 by encyclopedia/generate.py; book at observation-data-mining f3914f0; the commit of every record is listed in the encyclopedia’s provenance.

← confidence intervalconfusion matrix →