search for: sample_data_object

Displaying 1 result from an estimated 1 matches for "sample_data_object".

2017 Jul 18
2
lme4 question
Hello, I am trying to run the following model: domi ~ type*ratio+((1|id)+(0+type|id)+(1|face_id)+(1|car_id)) My question is whether the data coding for "face_id" and "car_id" variables is correct. As you see on the following sample data structure, "type" is repeated measure where 1=car, 0=face. Thus, I coded "face_id" as "0" when the type is 1