Running a Two One-Sided Tests (TOST) for Equivalence

6 vues (au cours des 30 derniers jours)
Kyle
Kyle le 29 Mar 2016
Réponse apportée : Anisha le 1 Juin 2017
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?

Réponses (1)

Anisha
Anisha le 1 Juin 2017
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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by