Estimation with aggregated data