Below are some example analyses written in R.
More R code is available on my Github page.


Rasch models

Item Response Theory as a 1-parameter Rasch model using lme4. (included but not run is a 2PM using brms)


Mixture modelling

A demo of how to estimate a finite mixture model using the brms package (via simulation and parameter recovery).


Centering

Between- and within- models. It includes when and why you should compute within- and between-subject centered variables in a multilevel analysis.


Intensive longitudinal methods

This demo walks through the examples in Intensive Longitudinal Methods: An Introduction to Diary and Experience Sampling by Bolger & Laurenceau, 2013.



Back to top

footer.knit