A Market Equilibrium Theory of Job Assignment and Sequential Accumulation of Information