Files for reproducing the analyses presented in the paper "Complexity selection and CV in lasso and sparse PLS with high-dimensional data" by A.-L. Boulesteix, A. Richter and C. Bernau Anne-Laure Boulesteix 10.01.2012 Instructions: 1. Unzip the file code.zip. 2. Unzip the file realdata.zip. 3. Put the two resulting directories "code" and "realdata" into a common directory. 4. Open R in the directory "code". In this directory you will find: - the R functions used for the analyses in fun.R - the directory "results" containing the results as R-objects - the files Figure1.R, Figure2.R and Figure3.R for reproducing the figures - the files study1....R, study2....R, etc for reproducing the results stored in the directory "results" 5. To produce the figures of the paper, run the codes of the files Figure1.R, Figure2.R, Figure3.R, respectively. These codes load the results stored in the directory "results". 6. If you want to reproduce the results stored in the directory "results", run the code of the corresponding file whose name begins with "study".