In this paper, we show that behavioral features can be obtained at a group level even if they do not appear at the individual level. Starting from a standard model of Pareto optimal allocations, with expected utility maximizers but allowing for heterogeneity among individual beliefs, we show in particular that the representative agent has an inverse S-shaped probability distortion function as in Cumulative Prospect Theory (CPT).