Running a Two One-Sided Tests (TOST) for Equivalence
Show older comments
I am doing some statistics on two datasets (basically, two vectors of values). I want to test these two datasets for equivalence. The appropriate way to do this is with the "Two One-Sided Tests (TOST)" method. This method is described on the fourth page of this document: http://homepage.stat.uiowa.edu/~rdecook/stat6220/Class_notes/equivalence_testing.pdf
Unfortunately, I cannot find any documentation on how to do this in Matlab. Are there any stats people here who could help figure out the appropriate code to do this?
Answers (1)
Anisha
on 1 Jun 2017
1 vote
I know this question was submitted a year ago, but I thought I'd contribute my 2 cents anyways.
As far as I know, Matlab does not have a built-in function that will perform the TOST method (or any other method of testing for equivalence, for that matter). To address this, I have created a simple function based on Roger et al, 1993, entitled TOST.m on the Matlab file exchange. You can access the code here:
https://www.mathworks.com/matlabcentral/fileexchange/63204-tost-sample1--sample2--d1--d2--alpha-
Cheers,
Anisha
Categories
Find more on Hypothesis Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!