On this website you can find the slides (ppt / pdf), a manual how to log-in to MyWorkplace and the exercises (see below) for the advanced multilevel workshop.

Run this script in Rstudio to access the O-drive and to install all packages. To check whether Rstan is working correctly run the following code:

fx <- inline::cxxfunction( signature(x = "integer", y = "numeric" ) , '
 return ScalarReal( INTEGER(x)[0] * REAL(y)[0] ) ;
' )
fx( 2L, 5 ) # should be 10



1 .IQ data using FBI-app

2.Popular data in LME4

3.Same data but now Bayes (using the BRMS package)

  1. with default priors
  2. with user specified priors

4.Real data application: slides / R-code