How the economy has predicted the next president