Files for reproducing the analyses presented in the paper

"Pitfalls of performing hypothesis tests and model selection on bootstrap samples: causes and consequences in biometrical applications" (2014)

by S. Janitza, H. Binder and A.-L. Boulesteix



Silke Janitza
23.06.2014



********* INSTRUCTIONS *********

R version 3.0.1 on  was used for all analyses.
All important R-objects are stored in the folder R_Objects. 


CHAPTER 2
---------

  * for reproducing Figure 1 run file 'teststat_Z_test.R'
  * for reproducing Figure 2 run file 'teststat_LR_test.R'


CHAPTER 3
---------

  3.1 Variability of p-values

    * for reproducing Figure 3 run files 'p_value_variability_Z_test.R' and 'p_value_variability_LR_test.R'
    * for reproducing Figure 4 run files 'p_value_variability_Z_test.R' and 'p_value_variability_LR_test.R'


  3.2 Tuning parameter selection

    * for reproducing Figure 5 run files 'tuning_parameter_selection_AIC_create_Robjects.R' and 'tuning_parameter_selection_AIC_plot.R'
    * for reproducing Figure 6 run files 'tuning_parameter_selection_CV_create_Robjects.R' and 'tuning_parameter_selection_CV_plot.R'

    *** NOTE ***

    for running R files 'tuning_parameter_selection_AIC_create_Robjects.R' and 'tuning_parameter_selection_CV_create_Robjects.R' 
        - set working directory (where created R objects shall be stored) at the beginning of this file
        - install R packages snowfall (version 1.84-4) and mboost (version 2.2-3)


