TOST(sample1, sample2, d1, d2, alpha)

版本 1.0.0.0 (1.7 KB) 作者: Anisha
Two One-Sided Test (TOST) for equivalence
681.0 次下载
更新时间 2017/6/1

查看许可证

As per Roger et al, 1993, this function tests if two samples come from distributions with different means, against the alternative hypothesis that the distribution means are the same. I.e.,
H0: the two distributions have different means (the difference between the means falls outside of an equivalence interval [d1, d2])
HA: the two distributions have equivalent means (the difference between the means falls within the equivalence interval [d1, d2])
This function performs two one-sided t-tests on the input samples. The outputs of this function include two p values (one per t-test) and a 90% confidence interval. The null hypothesis should be rejected if max([p1, p2]) > alpha, or if the confidence interval falls outside of the equivalence interval.

引用格式

Anisha (2026). TOST(sample1, sample2, d1, d2, alpha) (https://ww2.mathworks.cn/matlabcentral/fileexchange/63204-tost-sample1-sample2-d1-d2-alpha), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

启发作品: TOST

版本 已发布 发行说明
1.0.0.0

Updated description.