A dynamic and stochastic theory of choice, response time, and confidence · Study