Exchangeable random partitions for statistical and economic modelling