Yuen's t-test compares trimmed means using Winsorised variances, staying robust to outliers and skew, in both independent and paired forms.
Trim the upper and lower γ% (default 20%) of each group; compute the t-statistic on the remaining means with a Welch-style correction using the *Winsorised* variances (where the trimmed values are replaced by the cutoff, not removed). This gives a t-test that's robust to outliers while still gaining power from the structure of the data.
Compared to Mann-Whitney: Yuen tests for *trimmed-mean* differences, which is a more interpretable location parameter than the rank-based 'stochastic shift'. Compared to Welch t on raw data: Yuen is robust to ~γ% outliers per tail; if the data are clean and normal, Welch is slightly more powerful.
Standard trim is 20%, recommended by Wilcox (2017) as a sensible default that balances power against outlier robustness.
Two numeric columns + paired flag + trim fraction (10/20/25/30 %).
t statistic + Welch-style df + p + trimmed mean difference + SE / CI.
The trimmed mean difference is the headline effect — same scale as the data, less outlier-sensitive than the raw mean difference.