We study conditional randomisation tests for independence between a response and a group of target covariates given background covariates. The conditional law of the targets is modelled by a parametric family with unknown parameters. A randomisation law based on parameter estimates from the observed covariate sample can fail to preserve the exchangeability required for validity. We instead condition on sufficient statistics to remove these parameters from the randomisation law and generate exchangeable copies of the target covariates. The resulting tests control Type I error in finite samples when the covariate model holds, without requiring a response model. We develop implementations for multivariate normal covariates and Gaussian graphical models. In Gaussian linear regression, the multivariate normal test attains minimax separation rates, and we give sufficientconditions forconsistency ofthegraphical model testeven whenbackground covariates outnumber observations. We also bound Type I error inflation under departures from the covariate model, including errors in graphs estimated from independent covariate data. In simulations, our tests avoid the Type I error inflation seen in some plug-in tests and achieve power close to that of the corresponding oracle tests. Two exploratory analyses in finance and genomics illustrate the methods.
翻译:暂无翻译