Added sampling feature to estimateEffects()