A three-year, $45 million study of 3,000 teachers turns up answers to a central question.