The study , by James M. Poterba , an economics professor at the Massachusetts Institute of Technology , has found that changes in the proportion of retirees in the population have only a modest impact on stock market returns .