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
Exercises:
3.Same data but now Bayes (using the BRMS package)