This is violating user expectation.
E.g.:
weights_untrimmed = sample.adjust(
variables=weighting_variables,
method="rake",
weight_trimming_mean_ratio=0,
transformations=auto_recodes,
)
By expectation violation I mean,
- there isn’t anything in the docs that suggests that rake doesn’t support weight_trimming_mean_ratio or weight_trimming_percentile
- there isn’t an error thrown when a value is passed to either weight_trimming_mean_ratio or weight_trimming_percentile suggesting that rake doesn’t support it.
- this can result people thinking the weights are getting trimmed when they aren’t.
(Reported by David Lovis-McMahon)