Withing and Between-Subjects Errors

This is a very short post in which I want to highlight, because I realized that the issue is often overlooked by students when writing up their data. Today I want to highlight the difference between within- and between-subjects errors (With code examples). Imagine you have data like this example below. Participants responded to a number of mindfulness items multiple times during the day over the duration of a week.