Methods For Analyzing Physics Student Retention And Physics Curricula