T = (trimmed mean - null) / trimmed-mean standard error on n - 2g - 1 df.
References
Wilcox, R. R. (2017). Modern Statistics for the Social and Behavioral Sciences, 2nd ed. Eq (4.11).
Examples
TrimCI(c(2.1, 3.4, 1.9, 5.6, 4.4, 3.3, 2.8, 6.1, 3.9, 4.2, 2.2, 5.0, 40), null_value = 3)$statistic
#> [1] 1.427408
