correct weights to apply to data