​Thompson Sampling: A Behavioral Model of Expectation Formation for Economics