Economists have studied how markets work for a long time. Generally, they work well. But markets do not always perform as expected.…