How uncertainty affects decision making