This workshop introduces you to linear mixed effects models in R. It is decidedly conceptual without too much mathematical proofs or equations involved. We will focus on understanding the model through analysing two datasets and building up linear modeling workflow in R.
return
to run the code.install.packages(c("tidyverse", "lme4", "lmerTest"))
return
to run the code.data = read.csv("http://www.bodowinter.com/tutorial/politeness_data.csv")
The workshop will be easier for you if…
You have basic knowledge about R and R studio.
You have basic inferential statistical knowledge.
Winter, B. (2019). Statistics for Linguists: An Introduction Using R (1st ed.). Routledge. https://doi.org/10.4324/9781315165547
Shravan Vasishth, Daniel Schad, Audrey Bürki, Reinhold Kliegl. (on going) Linear Mixed Models in Linguistics and Psychology: A Comprehensive Introduction. https://vasishth.github.io/Freq_CogSci/
Barr, Dale J. (2021). Learning statistical models through simulation in R: An interactive textbook. Version 1.0.0. Retrieved from https://psyteachr.github.io/stat-models-v1.
McElreath, R. (2020). Statistical Rethinking: A Bayesian course with examples in R and STAN. CRC Press.