A behavioral approach to historical analysis