Code for the BCT AD paper. All required packages and data are downloaded within the scripts.
Currently, user has to change the paths in the scripts to match those on their machine. The following steps can be followed:
- Unzip/clone this repository at your preferred location on your machine,
- In scripts
01-relative-accuracy.R
,02-hodges.R
and03-hodges-heavytailed.R
, change theglobal_path
variable to the directory where you unzipped/cloned this repository. - Run those scripts. The results of Sections 2 and 3 (Tables 1 and 2 and Figures 1 and 2), respectively, will appear in the
figures
folder. Script02-hodges.R
takes some time to run, because of the model-fitting timing comparisons; on my hardware it took about 30 minutes.