Algorithm Search⌘K

Causal inference and design of experiments

Problems

  • Optimal experimental design

    Choose design points that optimize a criterion of the information matrix, such as its determinant for D-optimality or the trace of its inverse for A-optimality.

    advanced

Algorithms

  • One-way analysis of variance

    Tests whether k group means are equal by the ratio of the between-group to the within-group mean square. Exact F law under normal errors with equal variances. O(N).

    Θ(n) worst · best1 languagesintro
  • Inverse probability weighting

    Weights each unit by one over the probability of the treatment it received, so the weighted sample mimics a randomized experiment.

    Θ(n) worst · best1 languagescore
  • Propensity score matching

    Pairs each treated unit with one or more control units of close propensity score and estimates the effect from the matched differences.

    Θ(m n + n log n) worst · best1 languagescore
  • Scheffe's method

    Simultaneous confidence intervals for all contrasts of k group means, with multiplier sqrt((k-1)F). Exact coverage 1 - alpha, even for contrasts chosen after seeing the data.

    Θ(n + m·k) worst · best1 languagescore
  • Tukey's range test

    Compares all pairs of k group means with the studentized range law. Family-wise error rate exactly alpha for balanced normal data, at most alpha with unequal sizes.

    Θ(n + k²) worst · best1 languagescore
  • Two-stage least squares

    First regress the treatment on the instruments, then regress the outcome on the fitted treatment. It is the standard instrumental variables estimator.

    Θ(n l^2 + l^3) worst · best1 languagescore
  • Two-way analysis of variance

    Tests the main effects of two factors and their interaction by F ratios of nested residual sums of squares. Exact F laws under normal errors; unbalanced data need type I, II or III.

    Θ(n p^2) worst · best1 languagescore
  • Augmented inverse probability weighting

    Combines an outcome regression with inverse probability weighting of its residuals. It is consistent if either model is right and efficient if both are.

    Θ(n) worst · best1 languagesadvanced
  • Fedorov exchange algorithm

    Builds an exact D-optimal design by swapping a design point for a candidate point whenever the swap increases the determinant of the information matrix.

    O((T + 1)(p^3 + n p^2 + N n p)) worst1 languagesadvanced
  • PC algorithm

    Learns the Markov equivalence class of a causal DAG by deleting edges by conditional independence tests of growing size, then orienting colliders and further edges.

    O(n^2 2^n) worst1 languagesadvanced
  • Synthetic control method

    Builds a weighted mix of control units that matches the treated unit before the intervention, and estimates the effect by the gap after it.

    Θ(t (k J^2 + J^3)) worst1 languagesadvanced
  • CUPED

    Reduces the variance of an online experiment's estimate by subtracting theta times a pre-experiment covariate, with theta the regression coefficient, as in control variates.

    Θ(n) worst · best1 languagesresearch
  • Double machine learning

    Estimates a causal parameter with machine learning for the nuisance functions, using orthogonal scores and cross-fitting so that the parameter is root-n consistent.

    Θ(n + k C) worst · best1 languagesresearch
  • FCI algorithm

    Extends the PC algorithm to allow latent confounders, and outputs a partial ancestral graph of the features all compatible models share.

    O(n^2 2^n) worst1 languagesresearch
  • Greedy equivalence search

    Chickering's score-based causal discovery that adds and then deletes edges over Markov equivalence classes. It finds the true class in the limit under faithfulness and no hidden confounders.

    O(n^4 2^n) worst1 languagesresearch
  • LiNGAM

    Identifies the full causal DAG of a linear model with non-Gaussian noise, by independent component analysis or by DirectLiNGAM's search for exogenous variables.

    Θ(n^3 m + n^4) worst · best1 languagesresearch
  • Targeted maximum likelihood estimation

    Van der Laan's estimator that fits an initial outcome model and then updates it along the efficient influence function, giving a doubly robust plug-in estimate.

    Θ(k n) worst1 languagesresearch

Techniques

  • Difference in differences

    Estimates an effect by the change over time in the treated group minus the change in a control group, valid under parallel trends.

    1 languagescore
  • Fractional factorial design

    Runs a chosen fraction of a factorial design, defined by generators, so that main effects are aliased only with high-order interactions. Resolution measures this.

    1 languagescore
  • Instrumental variables estimation

    Identifies a causal effect under unmeasured confounding with a variable that moves the treatment but affects the outcome only through it.

    1 languagescore
  • Regression discontinuity design

    When treatment is assigned by a score crossing a cutoff, estimate the effect by the jump in the outcome regression at the cutoff, using local linear fits.

    1 languagescore
  • Mediation analysis

    Splits a total effect into the part that goes through a mediator and the part that does not, defined by nested counterfactuals and identified under strong assumptions.

    advanced
  • Response surface methodology

    Box and Wilson's sequence of designed experiments and fitted quadratic models that climbs toward the optimum of a response. Central composite designs fit the quadratic.

    advanced
  • Rosenbaum sensitivity analysis

    Asks how strong an unmeasured confounder, measured by a bound Gamma on the odds of treatment in matched pairs, would have to be to explain away a finding.

    1 languagesadvanced

Concepts

  • Randomized experiment

    An experiment in which chance assigns the treatments, so treatment is independent of the potential outcomes and simple contrasts estimate causal effects.

    intro
  • Simpson's paradox

    An association that holds in every subgroup can reverse when the groups are pooled. Which answer is causal depends on the causal structure, not on the data.

    intro

Definitions

  • Average treatment effect

    The mean over a population of the difference between the outcome under treatment and under control. The ATT averages only over the treated units.

    intro
  • Randomized complete block design

    Groups similar units into blocks of t and randomizes each of t treatments once within every block, so differences between blocks drop out of the treatment comparisons.

    1 languagesintro
  • Factorial design

    An experiment that runs every combination of the levels of several factors, so that main effects and all interactions can be estimated.

    1 languagescore
  • Ignorability

    Treatment is independent of the potential outcomes given the covariates. With overlap, it lets observational data identify causal effects.

    core
  • Latin square design

    Compares n treatments while blocking two nuisance factors with n levels each, by placing the treatments as the symbols of an n x n Latin square. Needs only n² runs.

    1 languagescore
  • Propensity score

    The probability of receiving treatment given the covariates. Rosenbaum and Rubin showed it is a balancing score, so adjusting for it removes confounding by those covariates.

    core
  • Stable unit treatment value assumption

    The assumption that a unit's outcome depends only on its own treatment, and that there is only one version of each treatment.

    core
  • Balanced incomplete block design

    Puts v treatments into b blocks of size k < v so that each pair of treatments shares exactly lambda blocks. Then bk = vr, lambda(v-1) = r(k-1), and b >= v (Fisher).

    1 languagesadvanced
  • Orthogonal array

    An N x k array over s symbols in which every N x t subarray has each t-tuple equally often. It is the combinatorial core of fractional designs.

    1 languagesadvanced
  • Plackett-Burman design

    Two-level screening designs for N - 1 factors in N runs, N a multiple of 4, built from Hadamard matrices. Main effects are estimated independently of each other.

    1 languagesadvanced

Theorems

  • Front-door criterion

    If a mediator set intercepts all directed paths from X to Y and has no unblocked back-door paths, the effect of X on Y is identified even with unmeasured confounding of X and Y.

    advanced
  • Kiefer-Wolfowitz equivalence theorem

    A design is D-optimal if and only if it is G-optimal, minimizing the largest prediction variance, which then equals the number of parameters at the support points.

    advanced
  • Local average treatment effect theorem

    Under monotonicity, the instrumental variables estimand equals the average effect among compliers, the units whose treatment the instrument changes.

    advanced

Models

  • Potential outcomes framework

    Each unit has one outcome per treatment, of which only one is seen. Causal effects are contrasts of these potential outcomes, and causal inference is a missing data problem.

    intro