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)
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.