residual gmeans for eer margin