I am confused as to how I should model data from the following experiment design:
It is a within participant design so each participant does all conditions:
- Block (home/random)
- RouteLength (3/4/5/6/7)
- TestPosition (this depends on the Block and RouteLength).
In the home block, the test positions are always 1 In the random block, the test position vary such that for routelength-3, the test positions can be 1,2 but for routelength-5, the test positions can be 1,2,3,4 and so on.
I use lme4 in R to model. I am very confused as to how I should model this. I think participant should be my random intercept but I don't know about slopes or any nested effects. Any help would be appreciated! Thanks :)
Edit: In the task, participants do 2 block (home/random). Each block has routes of 5 lengths (3/4/5/6/7), and at the end of each route, participants are tested for their memory for certain positions in the route i.e. test position.