Leaving the state has outpaced retirement as the top reason for teacher departures in the last three years