A second miracle of modern frequentist statistics
[stat_ml
]
Hereβs post #2 of 4 on the theme of βDo π not π ignore π the π magnificent π bounty π of π techniques π from π modern π statistics π just π because π someone π taught π you π an π ideologyβ. This series highlights tools from modern frequentist statistics, each with a distinctive advantage that nearly defies belief in terms of how much can be accomplished on the basis of very limited or seemingly wrong building blocks. Itβs not just about the prior anymore: each of these methods works when you donβt even know the likelihood. I hope this makes you curious about whatβs out there and excited to learn more stats!
Conditional randomization and model-X knockoffs
If you analyze data, then at some point, you will need to test if $X_1$ has an association with $Y$ after controlling for $X_2$. This act is a fundamental building block in causal statistics, and it appears all over the social and biomedical sciences. This is especially trickly when the form of $P(Y\mid X)$ is either uncooperative β like when you fit certain advanced regression models β or worse, completely unknown, as it might be when fitting a random forest.
For testing regression coefficients when $P(Y\mid X)$ is unknown, the usual approach is permutation. This does not correctly test conditional effects like $Y \perp \perp X_1 \mid X_2$. Even under the null hypothesis, negative controls should reflect indirect effects like $Y \rightarrow X_2 \rightarrow X_1$. Permuted copies lack these indirect effects, and they are thus poor negative controls.
Our second miracle of modern statistics is conditional randomization, discussed in section 4 of this paper. The principle is to formulate a model for $P(X_1\mid X_2)$, which is often easier than modeling $P(Y\mid X)$. Once you have it, you can sample negative control copies of $X_1$ and build a null distribution for an arbitrary test statistic. For instance, in this work on CRISPR screens, models for transcript counts, i.e. $P(Y\mid X)$, cannot be calibrated correctly, but the null distribution is adequately described by a model for the detection of CRISPR guide RNAβs, $P(X_1\mid X_2)$.
If that still seems pedestrian rather than miraculous, donβt worry β thereβs more. Often, this conditional effect testing is embedded in a higher-dimensional setting where there are hundreds of $X$βs or more. Typically, there is no particular ordering, so for example it is unclear whether to test $X_1$ before adding $X_2$ to the model, or after. The genome-wide association study is one type of problem with this structure; another is causal structure learning.
A natural thing to want, but a hard thing to get, is selection of relevant Xβs with controlled false discovery rate. This is provided by everything outside section 4 of the same paper that proposed conditional randomization. The method is to sample a set of βknockoffsβ in the same shape as $X$, and as different from $X$ as possible, but while obeying a key exchangeability condition. If $S$ is a set of variables in $X$, and $swap_S(X, \tilde X)$ exchanges the variables in $S$ with their knockoffs in $\tilde X$, the knockoff construction task demands that the joint distribution be preserved after swapping.
\[swap_S(X, \tilde X) =^D X, \tilde X\]From this exchangeability property, Candes & company construct a βmachineβ that can wrap any measure of variable importance β lasso paths, correlation coefficients, tree-based, whatever β and turn it into an FDR-controlled variable selection procedure. Itβs hard to construct the knockoffs, but modern techniques can manage:
- for large human genetics data
- for any graphical model
- when the distribution family is unknown, with generative networks
This is all done with no assumptions whatsoever on $P(Y\mid X)$. It can be complicated and nonlinear; it can have wild outliers and cauchy-distributed errors; or it can be linear with Gaussian noise. This works regardless.
Thatβs all
Thatβs all for now, but if youβre hungry for more, check out the next post on standard errors for regression coefficients with non-IID data!