liveBook · Manning

Independence

As explained in Experimentation for Engineers

Independence is the probabilistic property that the outcome of one random event does not affect the outcome of another.

Independence means that one random outcome does not affect another. In A/B testing, individual measurements must be independent and identically distributed (iid) for the estimated standard error and z score to be trustworthy. Dependence makes the standard error too small, inflates the z score, and increases the chance of incorrectly accepting version B. section 8.1.1

Repeated or correlated measurements create a practical failure chain:

  • Sampling too quickly can record the same server value repeatedly, even when the measurement code appears to collect separate observations. section 8.1.1
  • Identical repeated observations produce zero observed standard deviation and therefore an unrealistically precise aggregate estimate. section 8.1.1
  • An underestimated standard error enlarges the z score, making threshold-based acceptance of B more likely and increasing false positives. section 8.1.1

A repeated-measurement check

Ten observations all equal to 1.5 have mean 1.5 and standard deviation 0, falsely suggesting perfect precision. Replacing two repeats with 2.3 and 3.1 produces mean 1.74 and standard error about 0.16, revealing greater uncertainty. Thresholded experiments also exhibit regression to the mean: a lucky result can pass initially, while later independent measurements return closer to their expected value. section 8.4.3

How Experimentation for Engineers covers it

How deep it goes
Defines independence through iid assumptions and traces repeated samples to false positives, but stops short of a general correction method.
Examples
Uses repeated NumPy measurements, overly frequent server sampling, and a die-roll analogy for lucky experimental results.
What it assumes
Assumes familiarity with A/B tests, aggregate measurements, standard deviation, standard error, and z scores.
What you can do after
Diagnose/debug with repeated-value checks and interpret apparently significant A/B results as potentially dependent or lucky.
How it connects
Connects independence to iid assumptions, standard error, z scores, false positives, aggregate measurements, and regression to the mean.

Also explained in

Compare how 7 books explain independence →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Experimentation for Engineers. The section links point to the parts of the book it draws on.