An information-based model for the differential treatment of gains and losses