In chaotic times, it helps to be able to predict the future so you can plan for it. A new Stanford study can help.