Why do I get an error using mcppb20() when tr = 0?
06:48 18 Apr 2026

I want to do a bootstrapped one way anova with post hoc pairwise comparisons (my moderator has 3 levels). t1waybt() runs fine with no trimming, but mcppb20() comes up with the error message:

"A critical value must be specified when the amount of trimming differs from .2"

This is my code:

t1waybt(outcome ~ categorical_predictor, data = data_tib, tr = 0, nboot = 1000)

mcppb20(outcome ~ categorical_predictor, data = data_tib, tr = 0, nboot = 1000)

Please help!

r bootstrapping