A Statistical Model for Teacher Competency