IBE
print


Navigationspfad


Inhaltsbereich

Supplementary files - Boulesteix, Hable, Lauer and Eugster (2013)

A Statistical Framework for Hypothesis Testing in Real Data Comparison Studies

by Anne-Laure Boulesteix, Robert Hable, Sabine Lauer, Manuel Eugster

Contact: Anne-Laure Boulesteix

Supplementary files dowload:

Instructions to reproduce the results presented in the paper:

  • If you just want to reproduce the figures based on the R-objects MCCV_data.RData and MCCV_matrix.RData:
  1. Download and unzip the ZIP-file reproducibility.zip.

  2. Start R and set the working directory to the directory you have just unzipped (containing the files MCCV_data.RData, MCCV_matrix.RData, power_paper.Rnw, etc).

  3. In R enter the command Sweave("power_paper.Rnw") that produces a TeX-file named 'power_paper.tex'.Compile the TeX-file to a pdf file.

  • If you want to reproduce the whole analysis, i.e. produce the R-objects MCCV_data.RData and MCCV_matrix.RData  yourself:
  1. Download and unzip the files datasets1.zip,...,datasets4.zip.
  2. Download and unzip the file reproducibility.zip.
  3. In the resulting directory 'reproducibility', there is an empty directory called 'data_txt'. Cut and paste all the data txt files from the directories datasets1,...,datasets4 into this empty directory data_txt.
  4. Start R and set the working directory to the directory 'reproducibility' (that contains the files MCCV_data.RData, MCCV_matrix.RData, power_paper.Rnw, etc).
  5. Run the R-code from the file 'analysis.r' to generate the R-objects MCCV_data.RData and MCCV_matrix.RData. It will take several hours to compute using a standard PC. Note that during this process the data txt files are imported in R and saved as R-objects in the empty directory 'data_R'.
  6. In R enter the command Sweave("power_paper.Rnw") that produces a TeX-file named 'power_paper.tex'.Compile the TeX-file to a pdf file.

 

Downloads