nl en

Statistical Learning and Prediction


Entry requirements

Only open to Master’s and Research Master’s students from Psychology.

In this course, we will work with the R software. Students who have not attended the “Introduction in R and Statistical Computing” course should spend a few hours, before the course starts, by: 1) Studying and working through the examples and exercises of the first chapter of Beaujean’s book (see below). 2) Going through the examples in the introduction to R on


Statistical learning refers to a vast set of tools for understanding data. Two classes of such tools can be distinguished: “supervised” and “unsupervised”. Supervised statistical learning involves building a statistical model for predicting an output (response, dependent) variable based on one or more input (predictor) variables. There are many areas of psychology where such a predictive question is of interest. For example, finding early markers for Alzheimer’s or other diseases, selection studies for personnel or education, or prediction of treatment outcomes. In unsupervised statistical learning, there are only input variables but no supervising output (dependent) variable; nevertheless we can learn relationships and structures from such data using cluster analysis and methods for dimension reduction. In this course we aim to give the student a firm theoretical basis for understanding and evaluating statistical learning techniques and teach the students skills to apply statistical learning techniques in empirical research.

Course objectives

Upon completion of this course, students will:

  • Have knowledge about the difference between explanation and prediction, about the bias-variance trade-off, and about “learners”;

  • Have a good understanding of several important classes of learning techniques and be able to apply them in R to data: linear; regression and classification methods, nonlinear models (splines, GAM), ensemble methods (regression/classification trees, bagging, random forest, boosting), support vector machines and unsupervised learning methods (dimension reduction and clustering); and

  • Know how to evaluate the performance of a statistical learning method by using resampling methods (validation approach, cross-validation, bootstrap) and are able to apply these methods with R to empirical data.


For the timetables of your lectures, work groups and exams, please select your study programme in:
Psychology timetables




Students need to enroll for lectures and work group sessions.
Master’s course registration

Mode of instruction

The course consists of 7 lectures (4 hours each) in which we alternate between theory and practice (exercises in R), and an additional question and answer session (2 hours). In a final session (7 hours) all students give an oral presentation and students ask each other questions regarding their presentation.

For each lecture, students receive a list of online videos and associated parts of the book of James et. al, 2013 (see below) that should be studied at home beforehand (about 3 hours work per lecture).

Assessment method

The final grade is based on (each with a weight of 1/3):

1) a written structured assignment (individual, half way the course); estimated preparation time: 6 hours
2) a written structured assignment (individual, at the end of the course); estimated preparation time: 6 hours
3) oral presentation regarding the analysis of a data set of students’ own choice (in group, at the end of the course); estimated preparation time: 10 hours

Students receive feedback on the assignments and the oral presentation.

The Institute of Psychology follows the policy of the Faculty of Social and Behavioural Sciences to systematically check student papers for plagiarism with the help of software. Disciplinary measures will be taken when fraud is detected. Students are expected to be familiar with and understand the implications of this fraud policy.

Reading list

James, G., Witten, D., Hastie, T., & Tibshirani, R. (2013). An introduction to statistical learning: with applications in R. New York: Springer. A free copy and online tutorials are available online.

Beaujean, A. A. (2014). Latent variable modeling using R. A step by step guide. New York: Routledge.

Additional suggested material (not required):

  • Berk, R. A. (2008). Statistical learning from a regression perspective. Springer. (a PDF is available via Leiden University Library)

  • Kuhn, M. & Johnson, K. (2013). Applied predictive modelling. Springer. (a PDF is available via Leiden University Library)

Contact information

Dr. Tom F. Wilderjans