Testing equivalence with TOST in XLSTAT

Conjunto de datos para Prueba de equivalencia (TOST) XLS29.0 KB

Vídeo de tutorial

Ventajas

  • Sencillo y dirigido a los usuarios
    Sencillo y dirigido a los usuarios XLSTAT es un software que se integra de forma transparente con Microsoft Excel, que es la hoja de cálculo más difundida del mundo. Esta integración hace que sea una de las herramientas más sencillas para trabajar ya que utiliza la misma filosofía que Microsoft Excel. El programa está disponible en una ficha de XLSTAT. Los análisis se agrupan en menús funcionales. Los cuadros de diálogo están dirigidos a los usuarios, por lo que la preparación de los análisis es tarea sencilla.
  • Resultados y datos compartidos sin dificultad
    Resultados y datos compartidos sin dificultad Una de las mayores ventajas de XLSTAT es la forma transparente con la que se pueden compartir los datos y los resultados. Los resultados se almacenan en Microsoft Excel de modo que cualquier usuario puede acceder a ellos. No es necesario que el destinatario tenga una licencia de XLSTAT o cualquier visor adicional, lo que facilita y rentabiliza el trabajo en equipo. Del mismo modo, es fácil integrar los resultados en otras aplicaciones de Microsoft Office, como PowerPoint, por lo que se pueden crear estupendas presentaciones en cuestión de minutos.
  • Modular
    Modular XLSTAT es un producto modular. XLSTAT-Pro es un módulo principal de estadística de XLSTAT, que incluye todas las funcionalidades dominantes en el análisis estadístico y multivariado. Es posible añadir funciones más avanzadas por medio de módulos complementarios para aplicaciones específicas. De este modo es posible adaptar el software a sus necesidades, aumentando la rentabilidad.
  • Didáctico
    Didáctico Los resultados de XLSTAT están organizados por análisis y es fácil desplazarse por ellos. La información útil se proporciona junto con los resultados para ayudarle en su interpretación.
  • Asequible
    Asequible XLSTAT es una solución completa y modular que se puede ajustar a cualquier necesidad de análisis comercial. Tiene un precio muy razonable, por lo que el retorno de su inversión es casi inmediato. Todas las licencias de XLSTAT incluyen también un servicio de asistencia de la mayor calidad.
  • Accesible: disponible en muchos idiomas
    Accesible: disponible en muchos idiomas Nos hemos asegurado de que XLSTAT sea accesible para todos traduciendo el programa a muchos idiomas, incluyendo chino, inglés, alemán, italiano, japonés, polaco, portugués y español.
  • Automatizable y personalizable
    Automatizable y personalizable La mayoría de las funciones estadísticas disponibles en XLSTAT pueden llamarse directamente desde la ventana Visual Basic de Microsoft Excel. Pueden modificarse e integrarse en código fuente adicional para ajustarse a sus necesidades. Añadir tablas y trazados, así como modificar los resultados existentes se convierte en tarea sencilla. Además, XLSTAT incluye algunas herramientas especiales en los cuadros de diálogo para generar automáticamente el código fuente VBA para reproducir su análisis empleando el editor de VBA o simplemente cargar ajustes predeterminados. Esta automatización de análisis rutinarios sin esfuerzo le ahorrará gran cantidad de tiempo.

Principle of the TOST equivalence test

XLSTAT equivalence test allows to test if two products are equivalent. TOST means two-one-sided-test.

This type of test is used primarily to validate bioequivalence. When we want to show the equivalence of two drugs, classical hypothesis testing does not apply, we will use equivalence testing which will validate the equivalence between the two drugs.

XLSTAT offers two equivalent methods to test equivalence using the TOST test.

  • Using the 100 * (1-2 * alpha)% confidence interval around the mean. By comparing this interval to the user-defined interval of equivalence, we can conclude the equivalence or non equivalence. Thus, if the confidence interval is within the interval defined by the user, we conclude the equivalence between the two samples. If one of the bounds of the confidence interval is outside the interval defined by the user, then the two samples are not equivalent.
  • Using two one-sided tests, one on the right and one on the left. We apply a right one-sided t-test on the lower bound of the interval defined by the user and a left one-sided t-test on the upper bound of the interval defined by the user. We obtain p-values for both tests. We take the greatest of these p-values as p-value of the equivalence test.

Dataset to run a TOST equivalence test on two independent samples

An Excel sheet containing both the data and the results for use in this tutorial can be downloaded by clicking here.

The data represent the time that a customer will spend in a restaurant depending on the type of wine that is offered (red or white). The restaurant owner want to have his customer stay longer so that they spend more money in his establishment. There are 42 customers that have been studied.

We want to know if the fact that a customer chooses red or white wine is equivalent regarding the time spent in the restaurant. The difference should not exceed 10 minutes, we choose to have a TOST interval of [-10; 10].

Setting up a TOST equivalence test

After opening XLSTAT, select the XLSTAT / Parametric tests / TOST (Equivalence test) command, or click on the corresponding button of the Parametric tests toolbar (see below).

menu tost

Once you've clicked on the button, the dialog box appears.

We select one column in each box.

dialog box general tost

In the Options tab, we want to test a difference of 0 and the bounds of the equivalence test are -10 and 10.

dialog box options tost

The computations begin once you have clicked on OK. The results will then be displayed in a new sheet.

Interpreting the results of an equivalence (TOST) test on two independent samples

The first results displayed are the statistics for the various samples. Next, the equivalence test is displayed. There are two equivalent results to interpret the TOST.

The first table displays the 90% confidence interval of the mean and compares it to the user defined TOST interval.

result tost test 1

In order to have equivalence between red and white wine, the 90% confidence interval has to be included in the TOST interval. We can see that -16,140<-10, so the equivalence is not accepted.

The second table is equivalent to the first one, but using one-sided t-test with associated p-values.

results tost test 2

We see that with a total p-value of 0.219, the equivalence is rejected.

We can conclude that offering white or red wine is not equivalent regarding the time spent in the restaurant by the customers.