Abstract
When does a correlation support a causal claim, what does randomisation buy, and what can honestly be said when you cannot randomise? In a completely randomised design, where every unit has the same probability of treatment, the groups are comparable in expectation on every pre-treatment variable, measured or not, and an exact randomisation test of the sharp null that the treatment affects no unit is available; unequal assignment probabilities need design-appropriate weighting. Without randomisation, identification rests on design-specific conditions (exchangeability given covariates for adjustment, different conditions for instruments and difference-in-differences), which can be stated, probed and bounded but not verified from the data alone. Security often cannot randomise, yet it asks causal questions about controls, training and products. In two large randomised phishing studies, Ho et al. found a small reduction in clicks after embedded training, while in Lain et al. the assigned training group recorded more clicks and dangerous actions than control; an insurer’s control ranking rests on associations that cannot be read as effects.
The question: association is not the claim
A claim that a security control “reduces risk by 40 percent” is a claim about two worlds. In one, the organisation deployed the control. In the other, the same organisation, on the same days, facing the same attackers, did not. Only one of those worlds happened. The claim compares the world that happened with one that did not, and no dataset contains the second.
Statistics has a vocabulary for what a dataset does contain. An association is a pattern in observed data: organisations with the control had fewer incidents. A causal effect is a contrast between potential outcomes: the incident count with the control minus the incident count without it, for the same unit. The two can differ in size, sign or existence.
Austin Bradford Hill, in his 1965 address on environmental causes of disease, put the practical stake in one sentence: the decisive question is “whether the frequency of the undesirable event B will be influenced by a change in the environmental feature A”.1 That is a question about intervention, and an association is evidence about it only if nothing else plausibly produces the association. Paul Holland distinguished the effects of causes (what happens if I do this?) from the causes of effects (why did that happen?) and argued that an emphasis on the former is “an important consequence of bringing statistical reasoning to bear on the analysis of causation”.2 Decisions about whether to buy, mandate or retire a control are of the first kind.
Why security keeps asking causal questions of observational data
Four questions recur, and each is causal.
- Did multifactor authentication, endpoint detection or a patching policy reduce incidents?
- Did awareness training change what employees do?
- Did a vendor’s product cause the fall in breaches that the vendor reports?
- Did a change to the process, such as a new triage rule, improve outcomes?
In practice the data available are often observational. Controls tend to be adopted by organisations that differ from those that do not adopt them, and incident data are collected where someone looked. A figure of the form “X reduces risk by N percent” is an observational claim whenever the compared groups were not formed by assignment.
Two companion articles cover neighbouring ground. Before deep learning: a reader in the classical methods behind tabular machine learning treats prediction, which asks what will happen given what is observed. Causal inference asks what will happen if something is changed. For significance tests, p-values and multiple comparisons, see Reasoning from samples: a reader in statistical inference from Bayes to the replication crisis.
Fisher and the randomised experiment
The lady tasting tea
Ronald Fisher’s The Design of Experiments (1935) opens its second chapter with a small problem. A lady claims that by tasting a cup of tea with milk she can tell whether the milk or the tea infusion was added first. Fisher’s experiment consists of “mixing eight cups of tea, four in one way and four in the other, and presenting them to the subject for judgment in a random order”. She is told in advance that there are four of each kind, and her task is to divide the eight cups into two sets of four.3
The reasoning rests on a count. There are 70 ways to choose four cups from eight (8×7×6×5 / 4×3×2×1 = 1680/24 = 70). A subject with no ability to discriminate has a one in 70 chance of choosing the correct set. Fisher then lists all possible outcomes. Because the lady knows that four cups are of each kind, an error in one set is matched by an error in the other, so the outcomes fall into five classes:
| Cups correctly identified (of 4 milk-first) | Ways this can happen | Probability if guessing |
|---|---|---|
| 4 | 1 | 1/70 |
| 3 | 4×4 = 16 | 16/70 |
| 2 | 6×6 = 36 | 36/70 |
| 1 | 16 | 16/70 |
| 0 | 1 | 1/70 |
The counts sum to 70. Three right and one wrong occurs 16 times in 70 (more than 20 percent), which does not meet the 5 percent threshold and would not justify rejecting the no-discrimination null at that level, because the measure of any result is the chance of that result or a better one: “3 right and 1 wrong” occurs 16 times and “4 right” once in 70 trials, “making 17 cases out of 70 as good as or better than that observed” (24 percent).3 Only a perfect score has a probability, 1/70 or 1.4 percent, below the conventional 5 percent. With three cups of each kind there are only 20 ways, so a perfect score has probability 1/20, exactly 5 percent, and an experimenter who wants to ignore results at that level cannot use so small an experiment.3
He called the hypothesis of no discrimination the null hypothesis and made a remark about it that is often forgotten: “the null hypothesis is never proved or established, but is possibly disproved, in the course of experimentation”.3 An experiment exists to give the facts a chance of contradicting it.
What the random order does
The count of 70 is valid only if every one of the 70 choices is equally likely under the null hypothesis. If all the milk-first cups had sugar added, Fisher writes, the chance of a perfect classification “would not be 1 in 70, but 35 in 70 trials”, and “the test of significance would be wholly vitiated”.3 Making the cups identical in every other respect is no remedy, because “the uncontrolled causes which may influence the result are always strictly innumerable”.3
Randomisation is the answer. Suppose all the disturbing causes (cup thickness, milk quantity, temperature) are fixed in advance for each cup. Then, under the null hypothesis, which assigns the lady no sensitivity to the treatment, her classification of each cup is already determined. If the experimenter now assigns four of the eight cups to “milk first” strictly at random, every set of four has probability exactly 1/70 of being the one chosen, however the hidden causes line up. Fisher concludes that “the simple precaution of randomisation will suffice to guarantee the validity of the test of significance”.3
Two separate benefits are packed into that passage.
- Balance. In a completely randomised design, where a fixed number of units is chosen for treatment at random, every unit has the same probability of treatment, so the treated and untreated groups have the same expected distribution of every pre-treatment variable, including those nobody measured. (With unequal assignment probabilities, balance holds only after weighting by those probabilities.) In any one randomisation the groups can still differ by chance, and large differences become less likely as the groups grow.
- A reference distribution for a sharp null. Under the null that the treatment affects no unit, each unit’s outcome is the same whichever group it falls in, so the outcomes can be held fixed and the statistic recomputed for every possible assignment, as in the tea count. That gives an exact test of that null with no assumption about how outcomes are distributed. The same enumeration does not in general test a zero average effect when unit effects vary, and many other significance tests rely on model-based reference distributions.
Fisher’s book goes on to blocking and replication. In his randomised-block example, five crop varieties are compared on plots grouped into blocks of similar land, with the varieties randomised separately within each block. Replication “serves two distinct purposes”: it reduces error, and it makes a valid estimate of that error possible.3 In security terms, blocking means randomising within each business unit or platform.
What randomisation does not buy
A randomised experiment answers its question for the units that were in it. It does not show that the result transfers to another population, that the treatment was delivered as intended, that units did not influence one another, or that nobody dropped out for reasons related to the outcome. The guarantee also assumes the experimenter introduces no “other differences in treatment” after assignment.3
Potential outcomes: Neyman, Rubin and Holland
Notation
Jerzy Neyman’s 1923 essay on agricultural experiments, translated into English in 1990, introduced the device that underlies most statistical work on causation. The abstract of the translation describes “a double-indexed array of unknown potential yields, one index corresponding to varieties and the other to plots”: each plot has a yield under every variety, but “the yield corresponding to only one variety will be observed on any given plot”.4 Modern notation writes Y_i(1) for the outcome unit i would have under treatment and Y_i(0) under control. The individual causal effect is Y_i(1) − Y_i(0); the average treatment effect (ATE) is its mean over the population.
Table 1 is an invented four-host example. The outcome is whether the host is compromised within a year (1) or not (0), and the treatment is a new endpoint control.
| Host | Y(0) without control | Y(1) with control | Individual effect |
|---|---|---|---|
| A | 1 | 0 | -1 |
| B | 1 | 1 | 0 |
| C | 0 | 0 | 0 |
| D | 1 | 0 | -1 |
| Mean | 0.75 | 0.25 | -0.5 |
The control prevents a compromise on hosts A and D and does nothing for B (compromised either way) and C (safe either way). The average effect is -0.5, cutting compromise probability from 75 to 25 percent. No analyst sees this table: each host is observed in only one condition, so half of every row is missing. Holland named this the Fundamental Problem of Causal Inference: “it is impossible to observe the value of Yt(u) and Yc(u) on the same unit and, therefore, it is impossible to observe the effect of t on u.”2 Rosenbaum and Rubin call it “a missing data problem”.5
What randomisation estimates
Let two of the four hosts, chosen at random, receive the control. There are C(4,2) = 6 equally likely assignments. For each, the estimate is the mean outcome of the treated hosts minus the mean outcome of the untreated hosts. Computing all six from Table 1:
| Treated hosts | Treated mean Y(1) | Untreated mean Y(0) | Estimate |
|---|---|---|---|
| A, B | 0.5 | 0.5 | 0.0 |
| A, C | 0.0 | 1.0 | -1.0 |
| A, D | 0.0 | 0.5 | -0.5 |
| B, C | 0.5 | 1.0 | -0.5 |
| B, D | 0.5 | 0.5 | 0.0 |
| C, D | 0.0 | 1.0 | -1.0 |
The six estimates average -0.5, the true ATE. Any one experiment can be off by as much as 0.5 here, but the procedure is unbiased, which Hernán and Robins express as exchangeability making each arm’s mean observed outcome equal to its mean potential outcome.6 Neyman’s urn model also yields the variance of the estimator, which, in the translation’s abstract, “involves the variance over all plots of the potential yields and the correlation coefficient r between the potential yields of the two varieties on the same plot”. Since “it is impossible to estimate r directly”, Neyman advised taking r = 1.4
The six estimates in the table have variance 0.1667 (the mean squared deviation from -0.5, with divisor six). In today’s notation, with m treated and n0 untreated units out of N, the exact variance is S1²/m + S0²/n0 − S_τ²/N, where S1² and S0² are the variances of Y(1) and Y(0) across units (divisor N−1) and S_τ² is the variance of the individual effects. For Table 1 this gives 0.125 + 0.125 − 0.0833 = 0.1667, as it should. The last term involves the unobservable correlation between potential outcomes. Dropping it gives the conservative bound S1²/m + S0²/n0, which is 0.25 here. In practice the population variances are replaced by observed within-arm sample variances, and the resulting estimator overestimates the variance on average unless the effect is the same for every unit.7 Whether an interval built from it reaches its nominal coverage needs its own justification.
Extending the notation to non-randomised data
Neyman’s setting was a randomised experiment. Donald Rubin’s 1974 paper, “Estimating Causal Effects of Treatments in Randomized and Nonrandomized Studies”, carried the potential-outcomes definition of an effect to studies without randomisation.8 Holland, whose 1986 article is the standard exposition of “Rubin’s model”, wrote that Rubin (1974) “was the place where these ideas were first applied to the study of causation”.2 Once an effect is defined as a contrast of potential outcomes, the flaw in an observational comparison becomes a statement about how treatment was assigned.
Three conditions then do the work, in the formulation of Hernán and Robins’s textbook: exchangeability (treatment is independent of the potential outcomes, conditional on measured covariates where needed; for average effects, equality of the groups’ mean potential outcomes suffices), positivity (every kind of unit has some chance of each treatment) and consistency (the observed outcome of a treated unit equals its potential outcome under treatment, which requires the treatment to be well defined).6 Randomisation makes exchangeability true by design.
Manipulation and well-defined treatments
In his discussion of what can be a cause, Holland states a motto that he says he and Rubin coined: “No causation without manipulation”.2 Within his framework a cause must be something that could in principle be applied to or withheld from a unit, so that both potential outcomes exist. “Requiring phishing-resistant authenticators on administrator accounts” is a starting point for a well-defined treatment. It becomes one once the comparator (current authenticators), the eligible accounts, the start date and the outcome window (say, account compromise within twelve months) are specified; “being a bank” has no corresponding intervention. Hernán and Robins turn this into the target trial method: specify the randomised experiment one would run, then ask how observational data could emulate it.6
SUTVA and interference
Rosenbaum and Rubin note that the notation assumes “there is a unique value r_ti corresponding to unit i and treatment t“, the stable unit-treatment value assumption (SUTVA, Rubin 1980), which fails “when, for example, the response of unit i to treatment t depends on the treatment given to unit j, as could happen if they compete for resources”.5 Hernán and Robins call this interference: the effect on one unit depends on what others received.9
Interference could arise in security in several ways. Patching a widely shared component may lower the exposure of unpatched neighbours, a defender’s investment may displace an attacker towards an easier target, customers of one managed provider share dependencies, and colleagues may alert each other to a phishing simulation. Where such spillovers are plausible, randomise at a level that contains them (teams, sites) and account for clustering in the analysis.
Observational studies: confounding, Simpson’s paradox and the propensity score
Confounding in a table
Suppose an organisation compares 1,000 hosts, 450 of which run a new endpoint control. All figures in this host example are invented. The hosts fall into two groups, large servers and small workstations, and the large servers are far more likely to have been given the control (they are the ones the security team worried about) and are also more likely to be compromised.
| Group | Control | Hosts | Compromised | Rate |
|---|---|---|---|---|
| Large servers | yes | 300 | 60 | 20% |
| Large servers | no | 100 | 26 | 26% |
| Small workstations | yes | 150 | 9 | 6% |
| Small workstations | no | 450 | 45 | 10% |
| All hosts | yes | 450 | 69 | 15.3% |
| All hosts | no | 550 | 71 | 12.9% |
Pooled, the hosts with the control have a higher compromise rate (15.3 percent against 12.9 percent). Within each group the control looks protective (20 against 26 percent, and 6 against 10 percent). The pooled comparison is confounded by size: size influences both who gets the control and who is compromised, so the treated group is dominated by the high-risk hosts. This reversal of a pooled association inside every subgroup is called Simpson’s paradox.
A medical version with real data comes from a comparison of open surgery and percutaneous nephrolithotomy for kidney stones, originally reported by Charig and colleagues in 198610 and reproduced in a 2023 editorial in the Journal of Clinical Medicine.11 Success in these two arms is being stone-free at three months, according to the original Methods (the alternative of fragmentation to particles under 2 mm applies to shockwave lithotripsy, which the table omits). The second stratum is a mean stone diameter of 2 cm or more, or multiple stones.
| Stone size | Open surgery | Percutaneous nephrolithotomy |
|---|---|---|
| Under 2 cm | 81/87 (93.1%) | 234/270 (86.7%) |
| 2 cm or more, or multiple stones | 192/263 (73.0%) | 55/80 (68.8%) |
| All stones | 273/350 (78.0%) | 289/350 (82.6%) |
Open surgery has the higher success rate in each size class and the lower rate overall. The editorial attributes the reversal to size imbalance: 270 of 357 patients with smaller stones received percutaneous nephrolithotomy and 263 of 343 with larger stones or multiple stones received open surgery.11 That explains the numerical reversal. It does not show which treatment is better, because either contrast would need further assumptions about other differences between patients and treatment periods. The same editorial gives a second real example of reversal, for urinary tract infection (UTI) and antibiotic prophylaxis across eight Dutch hospitals: the pooled observed UTI rate was lower with prophylaxis (3.3 percent against 4.6 percent) and higher with it within both low-incidence hospitals (1.8 against 0.7 percent) and high-incidence hospitals (13.3 against 6.5 percent), because prophylaxis was far more common in the low-incidence hospitals.11 These are observed rates, and the table alone cannot establish protection or harm. Pooling across sites with different base rates is a hazard for comparisons across organisations.
Pearl calls Simpson’s paradox “a reversal phenomenon that earns its claim to fame only through a causal interpretation of the data”, and notes that statisticians had studied it for about a century.12 Which table to trust depends on the causal story. If size causes both treatment and outcome and nothing else is missing, the stratified contrast is the one to prefer. Conditioning on a variable can remove confounding, remove part of a total effect when the variable is a mediator, or open a path when it is a collider, so its effect depends on the graph and the estimand.
The propensity score
Adjusting for one binary variable is easy; real organisations differ on dozens, and strata multiply faster than data. Rosenbaum and Rubin’s 1983 paper reduces the dimension. Its summary defines the propensity score as “the conditional probability of assignment to a particular treatment given a vector of observed covariates”, and states that “adjustment for the scalar propensity score is sufficient to remove bias due to all observed covariates”.5
With treatment indicator z (1 for treated) and covariates x, the propensity score is e(x) = pr(z = 1 | x). A balancing score b(x) is a function of the covariates such that, among units with the same b(x), treated and control units have the same distribution of x. Theorem 1 states that x and z are conditionally independent given e(x); Theorem 2 that b(x) is a balancing score if and only if it is finer than e(x), so e(x) is the coarsest balancing score and x itself the finest.5 A true propensity score balances the covariates included in it. Identifying a causal effect additionally requires that confounding be controlled sufficiently, which is the strong ignorability condition below.
Treatment assignment is strongly ignorable given covariates v if (r1, r0) is conditionally independent of z given v and 0 < pr(z = 1 | v) < 1 for all v: no unmeasured confounders beyond v, plus positivity. Theorem 3 states that strong ignorability given x carries over to any balancing score b(x). Theorem 4 states that, under strong ignorability, the expected difference in observed responses between treatment and control at a given value of b(x) equals the average treatment effect at that value.5 In practice, comparing treated and untreated units with the same score and averaging estimates the average effect, if the assumptions hold.
A worked example makes this concrete. Split the hosts of the previous table by a second covariate, cloud-hosted or on-premises, giving four cells (all invented):
| Cell | Hosts | Treated | e(x) | Treated compromised | Untreated compromised |
|---|---|---|---|---|---|
| Large, cloud | 200 | 150 | 0.75 | 27 of 150 | 12 of 50 |
| Large, on-premises | 200 | 150 | 0.75 | 33 of 150 | 14 of 50 |
| Small, cloud | 300 | 75 | 0.25 | 3 of 75 | 18 of 225 |
| Small, on-premises | 300 | 75 | 0.25 | 6 of 75 | 27 of 225 |
Treatment depends on size only, so the propensity score takes two values, 0.75 and 0.25, although there are four covariate cells. Stratifying on e(x) gives two strata. Within the e = 0.75 stratum, 50 percent of the treated hosts (150 of 300) and 50 percent of the untreated hosts (50 of 100) are cloud-hosted. In the e = 0.25 stratum the shares are again 50 percent (75 of 150 and 225 of 450). The cloud share is balanced here exactly because the table was built that way; Theorem 1 states balance in distribution for the true score. The cloud cells still differ in outcome. Within each stratum, compare rates:
e = 0.75(400 hosts): treated 60/300 = 20.0 percent, untreated 26/100 = 26.0 percent, difference -6.0 points.e = 0.25(600 hosts): treated 9/150 = 6.0 percent, untreated 45/450 = 10.0 percent, difference -4.0 points.
Weighting the stratum differences by stratum size, 0.4 × (−6) + 0.6 × (−4) = −4.8 points, estimates the average effect, conditional on the stipulated assignment mechanism (treatment depends on size only) and no other confounding; the naive pooled comparison gave +2.4 points. Inverse probability weighting reaches the same number: weight each treated host by 1/e and each untreated host by 1/(1 − e), so that each group represents the whole population. The weighted compromise rate is (60/0.75 + 9/0.25)/1000 = 0.116 under treatment and (26/0.25 + 45/0.75)/1000 = 0.164 without, a difference of -4.8 points.6 Matching pairs each treated unit with an untreated unit of similar propensity, another application Rosenbaum and Rubin list.5
Three caveats bound the method. The score is usually unknown. Rosenbaum and Rubin already address estimation and sample balance, observing that in nonrandomised studies “the propensity score function is almost always unknown”, though e(x) “may be estimated from observed data, perhaps using a model such as a logit model”, so the adjustment is only as good as the model.5 It balances only included covariates, so an unrecorded variable that drives treatment and outcome, such as the team’s private judgement that a server is exposed, remains a confounder. And positivity can fail: if only large servers get the control, there is no untreated large server to compare.
What cannot be fixed, and how to say so
If the confounders are unknown, Hernán and Robins write, “one can only guess what the magnitude of the bias is”; the response is a sensitivity analysis, “repeating the analyses under several assumptions regarding the magnitude of the bias”. A large bias “requires a strong confounder-treatment association and a strong confounder-outcome association”.13 That turns “there might be unmeasured confounding” into a question about size. Hill used the same reasoning qualitatively: a nine- to tenfold lung-cancer ratio left little room for an undetected correlated factor, while for coronary thrombosis, with a ratio of no more than two, it was “much easier” to think of features of life that go with smoking.1
Selection after treatment
Propensity methods do not fix conditioning on something that happens after treatment. In a discussion of Pearl’s 1995 paper, Paul Rosenbaum recalled the Coronary Drug Project, a randomised trial of clofibrate against placebo. Among patients assigned to clofibrate, five-year mortality was 15 percent for “good compliers” who took the assigned drug and 25 percent for “poor compliers”, which suggests the drug works. In the placebo group the same split appeared: 15 percent for good compliers and “28% mortality among poor compliers”. Total mortality “was similar in the entire clofibrate and placebo groups”. Comparison by compliance gave the wrong inference and the randomised comparison of whole groups the right one.14 A comparison made within a treatment group, on the basis of what people did after assignment, is observational.
Hill’s viewpoints for judging observational evidence
Hill delivered “The Environment and Disease: Association or Causation?” at the first meeting of the Royal Society of Medicine’s Section of Occupational Medicine, and it appeared in the Proceedings of the Royal Society of Medicine in May 1965.1 Hill began with an association “perfectly clear-cut and beyond what we would care to attribute to the play of chance” and asked “what aspects of that association should we especially consider before deciding that the most likely interpretation of it is causation?” He listed nine viewpoints, and his text does not use the label “criteria”.1
| Viewpoint | Hill’s reading | Applied to “organisations with control X have fewer breaches” |
|---|---|---|
| Strength | A large ratio is harder to explain by a hidden factor. Smokers’ lung cancer death rate was nine to 10 times that of non-smokers, while for coronary thrombosis the ratio was no more than twice. | A modest ratio leaves more room for a correlated factor such as general IT maturity. No ratio in the security data discussed here has been shown to be causal. |
| Consistency | Seen “by different persons, in different places, circumstances and times”? Repeating a flawed design does not remove its flaw. | Sources that agree may share the same selection into the sample. |
| Specificity | An association confined to particular workers and disease is more convincing; its absence does not refute causation. | A control aimed at a named technique gives a more specific prediction. |
| Temporality | “Which is the cart and which the horse?” | Did the control precede the period of observation, or was it adopted after an incident? |
| Biological gradient | A dose-response curve adds weight: death rates from lung cancer rose with cigarettes smoked daily. | Does incident rate fall with coverage, from 10 to 50 to 100 percent of endpoints? |
| Plausibility | Helpful, but “we cannot demand” it, since it “depends upon the biological knowledge of the day”. | A mechanism for how the control interrupts an attack. |
| Coherence | The interpretation should not conflict with the known natural history of the disease. | Does the claim fit how attacks proceed and where they are detected? |
| Experiment | “Experimental, or semi-experimental, evidence”: preventive action is taken and the event frequency changes. | Removing or adding the control in some units, ideally at random. Hill does not rank this viewpoint above the others. |
| Analogy | Judging by analogy, as with thalidomide and rubella. | Support borrowed from controls with proven effects. |
The middle column follows Hill’s text. The right-hand column is the author’s application of his questions, and Hill did not write it.1
Hill closed the list with a caution. He did not believe “that we can usefully lay down some hard-and-fast rules of evidence that must be obeyed before we accept cause and effect”. And: “None of my nine viewpoints can bring indisputable evidence for or against the cause-and-effect hypothesis and none can be required as a sine qua non.” What they can do is “help us to make up our minds on the fundamental question”, which he states as “is there any other way of explaining the set of facts before us, is there any other answer equally, or more, likely than cause and effect?”1
The list is a set of questions to ask of an association, with no scoring rule. It comes from occupational epidemiology and says little about how the data were sampled; Hill himself notes that “no number of exact repetitions would remove or necessarily reveal” a fallacy shared by every study of the same design.1 His remark on significance tests also applies to security dashboards: “No formal tests of significance can answer those questions.”1 A p-value is the probability, under a stated null and its assumptions, of data at least as extreme as those observed. It is not the probability that chance explains an association, and it does not say what produced the association.
Pearl: causal diagrams
Graphs as assumptions
Judea Pearl’s “Causal diagrams for empirical research” (Biometrika, 1995) proposes a graphical language for the same problem. A causal diagram is a directed acyclic graph in which an arrow from A to B asserts that A is a direct cause of B; a missing arrow asserts that, among the variables in the model, A has no direct effect on B, and a present arrow says nothing about how large the effect is. The paper aims “to show how graphical models can be used as a mathematical language for integrating statistical and subject-matter information”, in a framework in which “diagrams are queried to determine if the assumptions available are sufficient for identifying causal effects from nonexperimental data”.14
The semantics are interventional. In Pearl’s Definition 2, the causal effect of X on Y is the distribution of Y “induced on deleting from the model (3) all equations corresponding to variables in X and substituting x for X in the remainder”; later work writes it P(y | do(x)).14 The 2009 survey says do(x) “simulates physical interventions”.12 Setting X differs from observing it because setting severs the arrows into X, which are the routes by which confounders act.
Three structures and d-separation
Along any path, each intermediate node is one of three local shapes, defined relative to that path.
- A chain,
A → B → C, taken as an isolated three-node graph:Bis a noncollider on the path, the path is open, and an open path permits dependence betweenAandC. Conditioning onBblocks the path, andAandCare then independent. - A fork,
A ← B → C, isolated:Bis a common cause and a noncollider on the path. The path is open and permits dependence betweenAandC; givenBthey are independent. WithAas treatment andCas outcome, this is confounding byB. - A collider,
A → B ← C, isolated:Bis a collider on the path, so the path is blocked andAandCare independent. Conditioning onBor on a descendant ofBopens the path and permits dependence.
Pearl’s d-separation covers all three: a set S blocks a path if the path “contains at least one arrow-emitting node that is in S”, or “contains at least one collision node that is outside S and has no descendant in S”. If S blocks every path between X and Y, they are independent given S in every distribution the graph can generate.12 An open path only permits dependence: guaranteeing it needs further assumptions such as faithfulness, which a discussant of Pearl’s paper notes.14 The survey ties the collider case to Berkson’s paradox: “observations on a common consequence of two independent causes render those causes dependent”.12
A collider with a security flavour (all numbers invented): a firm has 10,000 hosts, half patched. Patching has no effect on breach, and 10 percent of hosts in each group are breached. An investigation team reviews a host if it was breached (always) or if the scanner flagged it, which happens for 50 percent of unbreached unpatched hosts and 5 percent of unbreached patched hosts. Selection into the investigated set depends on both variables, so it is a collider.
| Group | Hosts | Breached | Breached, all investigated | Unbreached and investigated | All investigated | Breach share among investigated |
|---|---|---|---|---|---|---|
| Patched | 5,000 | 500 | 500 | 225 (5% of 4,500) | 725 | 69.0% |
| Unpatched | 5,000 | 500 | 500 | 2,250 (50% of 4,500) | 2,750 | 18.2% |
An analyst who studies only investigated hosts finds that 69 percent of patched hosts were breached against 18 percent of unpatched hosts, and might conclude that patching nearly quadruples breaches. In the whole population there is no association. Conditioning on a common effect of treatment and outcome, which includes restricting to cases that were investigated, reported or disclosed, can create an association that does not exist. Hernán and Robins treat this structure under the heading selection bias.15
The back-door criterion, with numbers
In Pearl’s Definition 3, a set Z satisfies the back-door criterion relative to (X, Y) if no node in Z is a descendant of X and Z blocks every path between X and Y that contains an arrow into X; such paths enter X “through the back door”. Theorem 1 then gives the adjustment formula P(y | do(x)) = Σ_z P(y | x, z) P(z), where the ordinary conditionals on the right are observational.14 Adjustment needs an observed set Z that blocks all back-door paths and enough support in the data (each x must occur with each z of positive probability). A set can block a path without measuring its common cause.
For the host table above, size Z points to the control X and to compromise Y, and X points to Y. The path X ← Z → Y is a back-door path, Z is not a descendant of X, and conditioning on Z blocks the path. The formula uses the size distribution of the whole population (40 percent large, 60 percent small):
P(Y = 1 | do(X = 1)) = 0.4 × 0.20 + 0.6 × 0.06 = 0.116P(Y = 1 | do(X = 0)) = 0.4 × 0.26 + 0.6 × 0.10 = 0.164- Effect of the control:
0.116 − 0.164 = −0.048, a drop of 4.8 percentage points.
These are the numbers from inverse probability weighting. Pearl notes that the formula is “the standard adjustment for concomitants Z when X is conditionally ignorable given Z (Rosenbaum & Rubin, 1983)”, and that reducing ignorability to a graphical test “replaces judgments about counterfactual dependencies with systematic procedures that can be applied to causal diagrams of any size and shape”.14 The graph also shows what adjustment can do wrongly: adjusting for a post-treatment mediator (say, alert volume) can remove part of the total effect, and conditioning on a collider can open a path. The result of conditioning depends on the graph and the estimand.
The front-door criterion
The back-door formula needs an observed set that blocks every back-door path. When none exists, Theorem 2 offers a second route: if Z intercepts all directed paths from X to Y, there is no back-door path from X to Z, and every back-door path from Z to Y is blocked by X, then P(y | do(x)) = Σ_z P(z | x) Σ_x' P(y | x', z) P(x'). Pearl’s illustration takes X as smoking, Y as lung cancer, Z as tar in the lungs and U as an unobserved genotype, “assuming, of course, ... that smoking does not have any direct effect on lung cancer except that mediated by tar deposits”.14
Graphs and potential outcomes: where the schools meet and disagree
Pearl’s paper was published with discussion, which records the disagreement. In Pearl’s setup, the back-door criterion “is equivalent to the ignorability condition of Rosenbaum & Rubin (1983)”.14 Imbens and Rubin welcomed the paper but preferred potential outcomes. They note that the ignorable-assignment concept “does not require the conditional independence used in Pearl’s analysis”: a sequential assignment mechanism in which future assignments depend on observed outcomes of earlier units is ignorable but would apparently need a very large graph. They also value separating assignment mechanisms, which an investigator may partly control, from scientific models of the data. Further, incorporating the fact that a treatment has no effect in the healthy and an effect in the sick, though “immediate using potential outcomes”, is “not straightforward using graphical models”, and the monotonicity assumption used with noncompliance “is difficult to represent in a graphical model without expanding it beyond the representation in Fig. 5(b)”. On the smoking example the “only provision” Pearl stated, no direct arrow from smoking to cancer, hides others: smokers might live in cities and be exposed to tar through pollution. They closed with Hill’s phrase, “technical skills, like fire, can be an admirable servant and a dangerous master”, and said Pearl’s methods “can easily lull the researcher into a false sense of confidence in the resulting causal conclusions”.14
Pearl replied: “Every pair of nodes in the graph waves its own warning flag in front of the modeller’s eyes: ‘Have you neglected an arrow or a dashed arc?’”, which he considered “a strength, not a weakness, of the graphical framework”.14 Rosenbaum objected to the semantics of intervention itself: “Definition 2 is not a definition of causal effect, but rather an enormous web of assumptions”.14
By 2009 Pearl’s survey describes a “symbiotic” use of the two frameworks and presents the structural causal model as one that “subsumes and unifies other approaches to causation”, while acknowledging that translating subject-matter knowledge into conditional ignorability statements “may in fact be the hardest part of the problem”.12 A working reading, offered as a synthesis: graphs show which variables to adjust for and which not to, potential outcomes define the estimand and handle features like noncompliance, and neither supplies the assumption that no important confounder is missing.
Natural experiments and quasi-experiments
When nobody randomised but something resembling randomisation happened, there are designs that exploit it. Each rests on an assumption that the data cannot check alone. In the examples below the estimands are the effect among compliers, the effect on the treated group after rollout, and the effect at a threshold.
Instrumental variables. An instrument Z is associated with the treatment A, affects the outcome Y only through A, and shares no causes with Y; Hernán and Robins call these the three instrumental conditions, the second being the exclusion restriction.16 The textbook case is a randomised trial with imperfect compliance, where random assignment instruments for treatment received. With a monotonicity assumption (as Imbens and Rubin note in their discussion of Pearl, citing Angrist, Imbens and Rubin) the effect is identified for the “compliers”, whose treatment follows their assignment.14 A security example: a random sample of administrators is invited to enrol in a hardware-token programme, and only invitees can enrol. The invitation is the instrument. Compliers are administrators who would enrol if invited and would not enrol otherwise. The estimate applies to them and relies on relevance, exclusion, independence (which random invitation supplies), monotonicity, and consistency and no interference. Exclusion remains an assumption: the invitation itself might lead administrators to change other practices, such as rotating passwords, with no token issued.
Difference-in-differences. Compare the change over time in a treated group with the change in an untreated group. Hernán and Robins derive it from a negative outcome control: subtracting the pre-treatment association removes confounding if it is the same additive amount before and after, which they call “additive equi-confounding”.17 Cunningham’s Causal Inference: The Remix stresses that the only causal parameter recovered is the average effect on the treated group in the post-treatment period, and that the method depends on parallel trends in the untreated potential outcomes and on no anticipation.18 A security example: a control is rolled out to European business units but not American ones. In the two-group, two-period case the conditions are parallel trends in the untreated potential outcomes, no anticipation of treatment, and an untreated comparison group that the rollout does not affect. Pre-treatment trends give indirect evidence for the first. The comparison would mislead if Europe adopted the control because attacks there were already rising, or if attackers displaced from Europe moved to the American units.
Regression discontinuity. When treatment is assigned by a threshold on a score, units just either side may be comparable. Hernán and Robins illustrate it with an antiviral given to everyone aged 65 or older, and note that estimates are biased “if treatments other than A also change around the threshold” or “if high-risk individuals aware of the threshold manipulate their own data”; the estimate applies only near the threshold.19 A hypothetical security version: vulnerabilities scored 9.0 or higher carry a seven-day patch target and lower scores do not. The identifying assumption is continuity of the counterfactual mean outcome at the cutoff, and nobody nudging scores across the line and no other policy changing at 9.0. The jump is in assignment to a patch deadline, so the effects of that assignment on the probability of patching or on exploitation are policy effects. The effect of actual patching on exploitation could use the threshold as an instrument in a fuzzy design, if uptake jumps at the cutoff and the instrumental conditions hold, including that the deadline affects exploitation only through patching.16 A score reported to one decimal takes discrete values, and continuity alone does not identify a cutoff effect from comparing 8.8 to 8.9 with 9.0 to 9.1. This example stops there: it needs additional restrictions on the conditional mean,20 or a continuous score, before it identifies anything.
Online controlled experiments
The method at industrial scale
Ron Kohavi, Roger Longbotham, Dan Sommerfield and Randal Henne’s 2009 survey in Data Mining and Knowledge Discovery covers controlled experiments on the web, “also called randomized experiments, A/B tests (and their generalizations), split tests”, with experience from Amazon, Microsoft and elsewhere.21 Users are randomly exposed to one of two variants and an Overall Evaluation Criterion (OEC), “a quantitative measure of the experiment’s objective”, is compared. The authors argue that in a properly executed experiment “the only thing consistently different between the two variants is the change between the Control and Treatment”, which establishes causality, and warn that users “cannot be distributed ‘any old which way’”.21
Three practices in the paper transfer to security work.
- Run A/A tests. Two groups receive the same experience, and the system is working if the null hypothesis “should be rejected about 5% of the time when a 95% confidence level is used”. The authors recommend running them continuously and checking the split, the match to the system of record, and that results are non-significant 95 percent of the time.21
- Plan the sample size. For 95 percent confidence and 80 percent power, with
σ²the variance of the OEC andΔthe smallest change worth detecting, the paper givesn = 16σ²/Δ²users per variant (21 instead of 16 for 90 percent power). “A common mistake is to run experiments that are underpowered.”21 - Expect surprises. The paper asks the reader to predict which of two checkout pages converts better, warning that “it is very humbling to see how hard it is to correctly predict the answer”; variant A outperformed B by an order of magnitude.21
The paper also lists limitations: experiments give quantitative differences without explanations, measure effects over a few weeks and so can miss long-term consequences, and fail where treatment and control interfere. In an auction, for example, an incentive for some bidders changes the market for all, so the authors suggest randomising the items.21 That is the interference problem again.
Sample ratio mismatch
An experiment meant to split 50/50 but recording 50.2/49.8 may be broken. Fabijan and colleagues’ 2019 KDD paper on sample ratio mismatch (SRM) gives the example of 821,588 against 815,482 users, a ratio that “diverges enough from an expected 50/50 ratio that the probability that it happened by chance is less than 1 in 500k”, that is, the probability under the planned assignment model of a discrepancy at least that large. They advise a chi-square test, say an SRM “in most cases completely invalidates experiment results”, and report that approximately 6 percent of experiments at Microsoft exhibit one.22 The authors treat a mismatch as a symptom whose root cause must be found before the results are interpreted. Causes in their taxonomy include incorrect bucketing, bot filtering that removed more users from one arm because the treatment changed their behaviour, and a variant that crashes the product; some are benign, such as an uneven split that mainly costs power.23
A sample-size sketch for a phishing-training change
A team wants to test whether a new phishing-awareness module lowers the click rate on simulated phishing emails from a baseline of 10 percent to 8 percent. The numbers are invented. Using the Kohavi formula with σ² ≈ p̄(1 − p̄) where p̄ = 0.09 is the average of the two rates, σ² = 0.0819, and Δ = 0.02:
n = 16 × 0.0819 / 0.02² = 3,276 users per arm, about 6,550 in all.
For 10 percent against 8 percent, the standard two-sided normal approximation for equal arms (5 percent level, 80 percent power) with the pooled proportion p̄ in both variances, n = 2(z₁₋α/₂ + z₁₋β)² p̄(1−p̄)/(p₁−p₂)², gives 3,214 per arm.24 Using the pooled variance under the null and the two separate variances under the alternative, n = [z₁₋α/₂ √(2p̄(1−p̄)) + z₁₋β √(p₁(1−p₁) + p₂(1−p₂))]² / (p₁−p₂)², gives 3,213 (both computed here), so Kohavi’s rule of thumb, 3,276, is close. With 1,000 employees, 500 per arm, the smallest detectable decrease from a 10 percent baseline is about 4.7 points by the second formula, or 5.1 points by the fixed-variance rule √(16 × 0.0819 / 500), a fall from 10 percent to about 5 percent. All of this assumes independent units and a single binary outcome; cluster assignment or repeated observations need a revised calculation. A test that small is likely to miss a modest effect, but a non-significant result still comes with an estimate and interval, which can rule out large effects. Kohavi’s paper suggests gaining power with a lower-variability metric and by filtering out users who were not exposed.21 Filtering is safe only when eligibility or the trigger is unaffected by assignment and observable in both arms; otherwise keep the assignment-based comparison and account for missing outcomes.
Causal claims in security
Reading an “X reduces risk by N percent” claim
A 2023 report from Marsh McLennan’s Cyber Risk Analytics Center, Using data to prioritize cybersecurity investments, is a useful specimen. It combined responses to the Marsh Cyber Self-Assessment (CSA) questionnaire with claims data from November 2020 to November 2021, covering a composite cyber-event outcome of “claims events that resulted in a cyber claim being paid, and notices of circumstances which did not cause an insured loss”. For each yes-or-no question it computed a “signal strength”, the probability of an event given a “no” divided by the probability given a “yes”, with each control “considered in isolation, irrespective of other controls”; above one “indicates that the control in question decreases the probability of a cyber event.” The top entry, 5.58, was a question about whether configuration-management tools “enforce and redeploy configuration settings to systems”. Broad multifactor authentication coverage scored 1.4 in the text (1.44 for the group of three MFA questions in its table), and a question on running internal phishing campaigns at least annually scored 1.76, a ratio of event probabilities between the groups answering “no” and “yes”.25
These are ratios of conditional probabilities between self-reporting groups, and the report’s own heading calls them “correlations between cyber controls and cyber events”, although its text speaks of the “effect” of controls. The points below are the author’s reasoning about the described method, not findings of the report.
- Selection into treatment. Organisations whose configuration-management tooling enforces settings may differ from those without it in size, budget, staff and discipline; these are possible confounders, none of which the report adjusts for. The report says the signal strengths “cannot be considered multiplicative, as the controls are correlated in actual practice”.25
- Temporality. The method description does not say when each questionnaire was completed relative to the claim, so adoption after an incident cannot be excluded.
- Measurement. Some questions concern stated targets (the 2.19 for patching refers to a “target timeframe” of within seven calendar days of release), and graded answers were converted to yes or no by cut-offs.25
- Who is in the outcome data. Insured organisations that reported to an insurer are a selected population.
- Strength. Hill’s question is whether a hidden correlated factor could account for a ratio. The report offers no analysis of that; general IT maturity is one possible factor, especially for a configuration-management question with a ratio of 5.58.1
None of this shows that the controls do not work. Billions of leaked passwords: infostealers, credential stuffing, and what actually protects an account reviews vendor effectiveness estimates for MFA, with their own selection issues. A ratio of conditional probabilities from self-assessment and claims data ranks controls by sample association, which differs from a ranking of intervention effects or an estimate of how much risk falls if a given organisation adopts one.
Verizon’s 2025 Data Breach Investigations Report (DBIR) states in its methodology (Appendix A) that “proving causality is best left to randomized control trials. The best we can do is correlation.” It also says: “Many breaches go unreported.” It adds that “it is clear that we conduct biased sampling”, because “some breaches, such as those publicly disclosed, are more likely to enter our corpus”.26 Selection into such a dataset by detection, disclosure or investigation could act like the collider above if both the compared variables affect whether a breach is included; the appendix does not establish that graph. MITRE ATT&CK: what the matrix measures, and what it does not makes a related point about coverage scores and risk reduction.
Randomised trials of phishing training
Awareness training has been tested in large randomised field studies, and two of them found little or no benefit from embedded training. The studies measure assigned training policies and a proxy outcome (simulated-phishing failure), and not actual completion or breach prevention.
Lain, Kostiainen and Čapkun ran a 15-month experiment, July 2019 to October 2020, with a partner company, sending simulated phishing emails to more than 14,000 employees in their normal work and recording clicks and, separately, dangerous actions such as submitting credentials.27 Participants were randomly assigned to groups with different warnings on suspicious emails. For contextual training, a participant who performed a dangerous action was redirected to a training page in the training arm and not in the control arm. Warnings helped: the no-warning group registered 3,964 click events, against 1,427 for short and 1,289 for detailed warnings. In the training comparison the assigned training group recorded more events than control: click events were 3,087 without training and 3,593 with it, and dangerous actions 2,155 and 2,730; these are events by assigned group, not numbers of employees. A separate repeat-failer analysis found 647 participants who clicked on two or more emails without training and 801 with it. The authors report that embedded training “does not make employees more resilient to phishing, but instead it can have unexpected side effects that can make employees even more susceptible to phishing”.27 Its arXiv listing says “To appear in IEEE S&P 2022”.28
Ho and colleagues at UC San Diego and UC San Diego Health analysed ten simulated phishing campaigns over eight months, sent to over 19,500 employees of a large healthcare organisation, where failure meant clicking the link. The paper contains two kinds of comparison. Annual awareness training was required of everyone, so comparing employees by how recently they completed it is observational, and it found “no significant relationship between whether users have recently completed cybersecurity awareness training and their likelihood of failing a phishing simulation”. Embedded training was randomised: employees were assigned to a control or to training formats, and to lures, and training followed a click. The control group’s click led to a 404 error page with no phishing content, which Ho et al. discuss as a possible source of some implicit feedback. There, “the absolute difference in failure rates between trained and untrained users is extremely low”: clicks were 1.7 percentage points lower on average in the training arms, statistically significant but small. The authors conclude that such programmes “are unlikely to offer significant practical value in reducing phishing risks” in their commonly deployed forms.29 It appeared in the Proceedings of the 2025 IEEE Symposium on Security and Privacy.30
The studies differ from the insurer analysis in ways that matter for causal reading, and they differ from each other in why their estimates may differ.
- What randomisation did. Lain et al., and the embedded-training arms of Ho et al., assigned conditions at random with control groups, so those comparisons do not depend on who chose to be trained. Ho et al. designed their data “to include explicit control groups (i.e., employees receiving no training), randomized assignment into different training conditions and phishing lures”.29
- Post-assignment engagement. Training is delivered after a click (Ho) or a dangerous action (Lain), so comparisons by how many sessions people completed are post-assignment engagement comparisons within the training modalities, among people with differing prior completion counts, and are not randomised contrasts. This is the Coronary Drug Project problem. Ho et al. adjusted their completion analysis for previous failures, month, lure and track. Among static-training groups, each additional completed session was associated with higher odds of failing (odds ratio 1.185, 95 percent interval 1.110 to 1.266), while for interactive training the corresponding estimate was 0.934 (0.856 to 1.02).29 Residual susceptibility is one possible explanation for the static result; the paper also discusses training content.
- Outcome and population. Ho et al. measure a click on a simulated phishing email, a proxy for incidents, while Lain et al. report clicks and dangerous actions separately. Ho et al. state that their data come from a single healthcare organisation and may not generalise, and that they cannot rule out very different training methods doing better.29
- Why the estimates may differ. Ho et al. suggest that users complete only 15 to 24 percent of interactive training sessions and spend little time on the pages, so studies with volunteers or lab settings, where engagement is higher, may see larger benefits, and that training content and style may help explain Lain et al.’s finding of higher failure after a training page like their static one.29
Set beside the insurer analysis, the studies show that organisations reporting phishing programmes had lower event probabilities and running a phishing programme lowers the probability of an event are different claims. The Marsh question on annual internal phishing campaigns has a ratio of 1.76, while Ho et al. found a small reduction in clicks after embedded training and Lain et al. found more clicks and dangerous actions in the assigned training group. They measure different things (a programme as a marker of an organisation, against a module’s effect on simulated-phishing proxies), so they do not contradict each other.
A practitioner’s checklist
For a causal claim someone else has made:
- Name the comparison. Who got the control, and how was that decided? If organisations chose, the study is observational.
- Write the target trial. Specify the experiment you would run (eligibility, treatment, assignment, outcome, follow-up) and where the data depart from it.6
- List the common causes. Draw the graph of the control, the outcome and everything that affects both. The unmeasured ones are the claim’s weak points.
- Check the direction of time. Was the control in place before the outcome window, or could an incident have caused its adoption?
- Look for selection into the data. If an investigation, disclosure or claim is needed to appear in the dataset, restricting to such records can create associations absent in the population.
- Ask what hidden confounder would erase the effect. A sensitivity analysis states the answer.13
- Treat ratios between self-selected groups as rankings. They do not predict what your organisation gains.
For a test you want to run:
- Randomise where you can, at the right level. Randomise within blocks such as business units, at a level (team, site) where interference stays inside the unit.
- Fix the metric and the analysis before the data arrive. Choose a single OEC.21
- Do the sample-size arithmetic first. If the minimum detectable effect exceeds any plausible effect, redesign.
- Run an A/A test and check the split. A significant sample ratio mismatch is a diagnostic: find its root cause before interpreting the results.22
- Keep a holdout. A group that never receives the intervention shows what would have happened anyway, including regression to the mean after a bad quarter.
- When you cannot randomise, exploit what happened. A staged rollout fits difference-in-differences,17 and a threshold rule fits regression discontinuity.19 Each needs a recorded allocation and a credible case for its own identifying assumptions (parallel untreated trends and no anticipation; continuity at the cutoff).
Annotated reference list
- *Fisher, The Design of Experiments, Oliver and Boyd, 1935.* Chapter II works the tea-tasting experiment; later chapters treat randomised blocks and replication.3 Neyman and Rubin shifted attention to average effects. https://archive.org/details/in.ernet.dli.2015.502684 (opens in a new tab) (scan, no DOI).
- *Neyman, 1923; translation of Section 9 in Statistical Science 5(4), 465-472, 1990.* Potential yields and a variance involving an inestimable correlation.4 Imai restates the modern form.7 DOI 10.1214/ss/1177012031.
- *Rubin, Journal of Educational Psychology 66(5), 688-701, 1974.* Potential-outcomes definition of effects for randomised and nonrandomised studies; Holland gives the judgment that it was the first application of these ideas to causation.8 2 DOI 10.1037/h0037350; the ETS record gives only bibliographic details.
- *Holland, Journal of the American Statistical Association 81(396), 945-960, 1986.* The Fundamental Problem of Causal Inference, effects of causes, and “no causation without manipulation” in his discussion of what can be a cause.2 http://www.jstor.org/stable/2289064 (opens in a new tab).
- *Rosenbaum and Rubin, Biometrika 70(1), 41-55, 1983.* Theorems 1 to 4, and estimated scores with sample balance.5
- *Hill, Proceedings of the Royal Society of Medicine 58(5), 295-300, 1965.* Nine viewpoints and the denial that any is necessary or sufficient.1 DOI 10.1177/003591576505800503; reprint 2015, DOI 10.1177/0141076814562718 (https://pmc.ncbi.nlm.nih.gov/articles/PMC4291332/ (opens in a new tab)); original record at https://pmc.ncbi.nlm.nih.gov/articles/PMC1898525/ (opens in a new tab).31
- *Pearl, Biometrika 82(4), 669-710, 1995.* Definitions 2 and 3 and Theorems 1 and 2 (back-door, front-door); the printed discussion (Imbens and Rubin, Rosenbaum, Pearl’s reply) records the objections.14 https://ftp.cs.ucla.edu/pub/stat_ser/R218-B.pdf (opens in a new tab).
- *Pearl, Statistics Surveys 3, 96-146, 2009.* d-separation, the
dooperator, Simpson’s paradox.12 DOI 10.1214/09-SS057; https://ftp.cs.ucla.edu/pub/stat_ser/r350.pdf (opens in a new tab). - *Kohavi et al., Data Mining and Knowledge Discovery 18, 140-181, 2009.* OEC, A/A tests, the
16σ²/Δ²sample size and the interference appendix.21 Fabijan et al. (KDD 2019) give a taxonomy of sample ratio mismatch causes.22 DOI 10.1007/s10618-008-0114-1; https://ai.stanford.edu/~ronnyk/2009controlledExperimentsOnTheWebSurvey.pdf (opens in a new tab). - *Hernán and Robins, Causal Inference: What If (online edition dated 19 August 2026).* Identifying conditions, interference (Fine Point 1.1), sensitivity analysis (Fine Point 7.1), difference-in-differences (chapter 7), instruments (chapter 16).6
- *Cunningham, Causal Inference: The Remix, chapter 9.* Parallel trends and no anticipation in difference-in-differences.18
Conclusion
The central distinction in this reader is between a comparison and a contrast of potential outcomes. A comparison of groups that were formed by choice mixes the effect among the treated units with whatever made the groups different. Complete randomisation removes that difference in expectation (unequal assignment probabilities need weighting) and, for a sharp null, gives an exact reference distribution for testing. When it is unavailable, every route to a causal claim is a set of assumptions: that adjusting for measured variables is enough (the propensity score and the back-door criterion), that something resembling randomisation occurred (instruments, thresholds, staggered adoption), or that the evidence converges from different directions (Hill’s viewpoints). The practical skill is to state the assumption, find the data that bear on it, and size the bias that would overturn the result. For a security programme this means asking of any figure of the form “X reduces risk by N percent” how the exposed and unexposed groups were formed, whether time ran the right way, what is missing from the data, and what a randomised or staged rollout in one’s own organisation would show. In two randomised phishing studies, Ho et al. found a small reduction in clicks after embedded training, and in Lain et al. the assigned training group recorded more clicks and dangerous actions than control. These results concern assigned training and simulated-phishing proxies, not actual completion or prevented breaches.
Footnotes
- Austin Bradford Hill, “The environment and disease: association or causation?”, Proceedings of the Royal Society of Medicine 58(5):295-300, May 1965, DOI 10.1177/003591576505800503; text read in the reprint in Journal of the Royal Society of Medicine 108(1):32-37, January 2015, DOI 10.1177/0141076814562718. https://pmc.ncbi.nlm.nih.gov/articles/PMC4291332/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
- Paul W. Holland, “Statistics and causal inference”, Journal of the American Statistical Association 81(396):945-960, December 1986. http://www.jstor.org/stable/2289064 (opens in a new tab) (read in the copy at https://www.cs.columbia.edu/~blei/fogm/2023F/readings/Holland1986.pdf (opens in a new tab)) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- R. A. Fisher, The Design of Experiments, Oliver and Boyd, Edinburgh and London, 1935, chapter II (the tea experiment) and the sections on randomisation, randomised blocks and replication (Internet Archive scan with text layer). https://archive.org/details/in.ernet.dli.2015.502684 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
- Jerzy Splawa-Neyman, “On the application of probability theory to agricultural experiments. Essay on principles. Section 9”, translated by D. M. Dabrowska and T. P. Speed, Statistical Science 5(4):465-472, November 1990, DOI 10.1214/ss/1177012031. Abstract quoted, from the Project Euclid page as archived on 24 January 2025. https://web.archive.org/web/20250124111541/https://projecteuclid.org/journals/statistical-science/volume-5/issue-4/On-the-Application-of-Probability-Theory-to-Agricultural-Experiments-Essay/10.1214/ss/1177012031.full (opens in a new tab) ↩1 ↩2 ↩3
- Paul R. Rosenbaum and Donald B. Rubin, “The central role of the propensity score in observational studies for causal effects”, Biometrika 70(1):41-55, April 1983, sections 1 and 2. https://www.stat.cmu.edu/~ryantibs/journalclub/rosenbaum_1983.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
- Miguel A. Hernán and James M. Robins, Causal Inference: What If, Chapman and Hall/CRC, online edition dated 19 August 2026; chapters 2 and 3 (exchangeability, positivity, consistency, section 3.6 “The target trial”) and section 2.4 (inverse probability weighting). https://miguelhernan.org/whatifbook (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- Kosuke Imai, “Variance identification and efficiency analysis in randomized experiments under the matched-pair design”, Statistics in Medicine 27:4857-4873, 10 July 2008, DOI 10.1002/sim.3337, section 2 (Neyman’s analysis of the completely randomized design). https://imai.fas.harvard.edu/research/files/matched-pair.pdf (opens in a new tab) ↩1 ↩2
- Donald B. Rubin, “Estimating causal effects of treatments in randomized and nonrandomized studies”, Journal of Educational Psychology 66(5):688-701, 1974, DOI 10.1037/h0037350; bibliographic record (the article itself is paywalled). https://ets.org/research/policy_research_reports/publications/article/1974/hrbx.html (opens in a new tab) ↩1 ↩2
- Hernán and Robins, Causal Inference: What If, 19 August 2026 edition, Fine Point 1.1 “Interference”. https://miguelhernan.org/whatifbook (opens in a new tab) ↩
- C. R. Charig, D. R. Webb, S. R. Payne and J. E. A. Wickham, “Comparison of treatment of renal calculi by open surgery, percutaneous nephrolithotomy, and extracorporeal shockwave lithotripsy”, British Medical Journal 292:879-882, 29 March 1986, DOI 10.1136/bmj.292.6524.879, Methods and Tables I and II (read in an Internet Archive snapshot of the publisher PDF). https://www.bmj.com/content/bmj/292/6524/879.full.pdf (opens in a new tab) ↩
- Stefanos Bonovas and Daniele Piovani, “Simpson’s paradox in clinical research: a cautionary tale”, Journal of Clinical Medicine 12(4):1633, 18 February 2023, DOI 10.3390/jcm12041633, reproducing data from C. R. Charig and colleagues, British Medical Journal 292:879-882, 1986, and from Reintjes and colleagues. https://pmc.ncbi.nlm.nih.gov/articles/PMC9960320/ (opens in a new tab) ↩1 ↩2 ↩3
- Judea Pearl, “Causal inference in statistics: an overview”, Statistics Surveys 3:96-146, September 2009, DOI 10.1214/09-SS057. https://ftp.cs.ucla.edu/pub/stat_ser/r350.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- Hernán and Robins, Causal Inference: What If, 19 August 2026 edition, Fine Point 7.1 “The strength and direction of confounding bias”. https://miguelhernan.org/whatifbook (opens in a new tab) ↩1 ↩2
- Judea Pearl, “Causal diagrams for empirical research”, with discussion, Biometrika 82(4):669-710, 1995 (UCLA technical report R-218-B); discussions by Imbens and Rubin, and by Rosenbaum, are quoted. https://ftp.cs.ucla.edu/pub/stat_ser/R218-B.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13
- Hernán and Robins, Causal Inference: What If, 19 August 2026 edition, chapter 8, “Selection bias”, section 8.1. https://miguelhernan.org/whatifbook (opens in a new tab) ↩
- Hernán and Robins, Causal Inference: What If, 19 August 2026 edition, chapter 16, “Instrumental variable estimation”, sections 16.1 and 16.4. https://miguelhernan.org/whatifbook (opens in a new tab) ↩1 ↩2
- Hernán and Robins, Causal Inference: What If, 19 August 2026 edition, chapter 7, “Difference-in-differences and negative outcome controls”. https://miguelhernan.org/whatifbook (opens in a new tab) ↩1 ↩2
- Scott Cunningham, Causal Inference: The Remix, chapter 9, “Difference-in-differences fundamentals”, sections on potential outcomes and parallel trends. https://mixtape.scunning.com/09-difference_in_differences (opens in a new tab) ↩1 ↩2
- Hernán and Robins, Causal Inference: What If, 19 August 2026 edition, “Regression discontinuity design”. https://miguelhernan.org/whatifbook (opens in a new tab) ↩1 ↩2
- Michal Kolesár and Christoph Rothe, “Inference in regression discontinuity designs with a discrete running variable”, American Economic Review 108(8):2277-2304, August 2018, arXiv:1606.04086. https://arxiv.org/abs/1606.04086 (opens in a new tab) ↩
- Ron Kohavi, Roger Longbotham, Dan Sommerfield and Randal M. Henne, “Controlled experiments on the web: survey and practical guide”, Data Mining and Knowledge Discovery 18:140-181, published online 30 July 2008 (issue dated 2009), DOI 10.1007/s10618-008-0114-1. https://ai.stanford.edu/~ronnyk/2009controlledExperimentsOnTheWebSurvey.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9
- Aleksander Fabijan, Jayant Gupchup, Somit Gupta, Jeff Omhover, Wen Qin, Lukas Vermeer and Pavel Dmitriev, “Diagnosing sample ratio mismatch in online controlled experiments: a taxonomy and rules of thumb for practitioners”, KDD 2019 (author version). https://exp-platform.com/Documents/2019_KDDFabijanGupchupFuptaOmhoverVermeerDmitriev.pdf (opens in a new tab) ↩1 ↩2 ↩3
- Lukas Vermeer, SRM Checker, “Taxonomy of causes”, based on the KDD 2019 paper by Fabijan and colleagues. https://lukasvermeer.nl/srm/docs/causes/ (opens in a new tab) ↩
- Penn State Eberly College of Science, STAT 509 Design and Analysis of Clinical Trials, Lesson 8 “Sample size and power”, comparing two proportions. https://online.stat.psu.edu/stat509/Lesson08 (opens in a new tab) ↩
- Marsh McLennan Cyber Risk Analytics Center, Using data to prioritize cybersecurity investments, 2023. https://www.guycarp.com/content/dam/guycarp-rebrand/pdf/Insights/2023/Using_data_to_prioritize_cybersecurity_investments_report.pdf (opens in a new tab) ↩1 ↩2 ↩3
- Verizon, 2025 Data Breach Investigations Report, Appendix A, Methodology. https://www.verizon.com/business/resources/Te2f/reports/2025-dbir-data-breach-investigations-report.pdf (opens in a new tab) ↩
- Daniele Lain, Kari Kostiainen and Srdjan Čapkun, “Phishing in organizations: findings from a large-scale and long-term study”, arXiv:2112.07498, 14 December 2021. https://arxiv.org/pdf/2112.07498 (opens in a new tab) ↩1 ↩2
- arXiv listing for arXiv:2112.07498, noting “To appear in IEEE S&P 2022”. https://arxiv.org/abs/2112.07498 (opens in a new tab) ↩
- Grant Ho, Ariana Mirian, Elisa Luo, Khang Tong, Euyhyun Lee, Lin Liu, Christopher A. Longhurst, Christian Dameff, Stefan Savage and Geoffrey M. Voelker, “Understanding the efficacy of phishing training in practice”, 2025. https://sysnet.ucsd.edu/~voelker/pubs/phishtrain-oakland25.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- National Science Foundation Public Access Repository record for Ho et al., Proceedings of the 2025 IEEE Symposium on Security and Privacy, published 12 May 2025, pages 37 to 54. https://par.nsf.gov/biblio/10600744 (opens in a new tab) ↩
- Austin Bradford Hill, “The environment and disease: association or causation?”, Proceedings of the Royal Society of Medicine 58(5):295-300, 1965, PubMed Central record of the original. https://pmc.ncbi.nlm.nih.gov/articles/PMC1898525/ (opens in a new tab) ↩

SecSIG