weights for memdata mean and std