step,rule,n_before,n_after,n_removed,rationale 1,drop rows with missing school_id/treated/score,1000,1000,0,estimand requires all three 2,drop duplicated student_id,1000,1000,0,one row per student 3,drop schools with non-constant treated,1000,1000,0,treatment must be school-level