FarmTest: An R Package for Factor-Adjusted Robust Multiple Testing

Abstract:

We provide a publicly available library FarmTest in the R programming system. This library implements a factor-adjusted robust multiple testing principle proposed by Fan et al. (2019) for large-scale simultaneous inference on mean effects. We use a multi-factor model to explicitly capture the dependence among a large pool of variables. Three types of factors are considered: observable, latent, and a mixture of observable and latent factors. The non-factor case, which corresponds to standard multiple mean testing under weak dependence, is also included. The library implements a series of adaptive Huber methods integrated with fast data-driven tuning schemes to estimate model parameters and to construct test statistics that are robust against heavy-tailed and asymmetric error distributions. Extensions to two-sample multiple mean testing problems are also discussed. The results of some simulation experiments and a real data analysis are reported.

Cite PDF Tweet

Published

Jan. 14, 2021

Received

Jun 3, 2020

DOI

10.32614/RJ-2021-023

Volume

Pages

12/2

372 - 387

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at RJ-2021-023.zip

CRAN packages used

FarmTest, Rcpp, multcomp, mutoss, rstiefel

CRAN Task Views implied by cited packages

Bayesian, ClinicalTrials, HighPerformanceComputing, NumericalMathematics, SocialSciences, Survival

Bioconductor packages used

qvalue, multtest

Footnotes

    Reuse

    Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

    Citation

    For attribution, please cite this work as

    Bose, et al., "The R Journal: FarmTest: An R Package for Factor-Adjusted Robust Multiple Testing", The R Journal, 2021

    BibTeX citation

    @article{RJ-2021-023,
      author = {Bose, Koushiki and Fan, Jianqing and Ke, Yuan and Pan, Xiaoou and Zhou, Wen-Xin},
      title = {The R Journal: FarmTest: An R Package for Factor-Adjusted Robust Multiple Testing},
      journal = {The R Journal},
      year = {2021},
      note = {https://doi.org/10.32614/RJ-2021-023},
      doi = {10.32614/RJ-2021-023},
      volume = {12},
      issue = {2},
      issn = {2073-4859},
      pages = {372-387}
    }