Simulation/README.md

Simulations

This subdirectory contains all the functions required to replicate the simulations for Figures 2 and 3 in the accompanying paper : Pura, Chan, Xie (2019) Multiple Testing Embedded in an Aggregation Tree to Identify where Two Distributions Differ (https://arxiv.org/pdf/1906.07757.pdf)

Instructions

To generate Figures 2 and 3,

1) Install the TEAM package from CRAN using "install.packages("TEAM")"
2) Source the file "simulation_functions.R"
3) Run the codes in "run_simulation_figure2.R" and "run_simulation_figure3.R"

This will replicate the numerical experiments on each of the three settings: local shift, local dispersion, and local shift+dispersion.

Additional details are contained in the header of each file.



jbp7/TEAM documentation built on Nov. 4, 2019, 2:22 p.m.