Skip to content
Quiz

Data Cleaning – Quiz 7

2 December 2022

Continuing from Quiz 6 (i.e. not reloading the Data Cleaning dataset), generate four new variables, each one corresponding to whether the teacher or student was on task in round 1 or 2. If a teacher was on-task in Round 1 (2) then the variable s1_tea_act_obs1 (s1_tea_act_obs2) takes on a value of 1. If a student was on-task in Round 1 (2) then the variable s1_stu_act_obs1 (s1_stu_act_obs2) takes on a value of 1, 2, or 3. After you’ve created these new variables, you can drop the previous variables (s1*); you won’t need them anymore.