Multiple t test in MATLAB

13 visualizaciones (últimos 30 días)
Mariya Ali
Mariya Ali el 29 de Nov. de 2021
Comentada: Scott MacKenzie el 17 de Feb. de 2022
I have a set of data for three kinds of patients who :
1- have the disease
2- might be at risk to have the disease
3- healthy people who dont
I need to compare x,y, and z coordinates of their MRIs.
What kind of T test should I be using as I'm very confused about it?
  1 comentario
Scott MacKenzie
Scott MacKenzie el 17 de Feb. de 2022
It might help if you post the data.

Iniciar sesión para comentar.

Respuestas (1)

Prachi Kulkarni
Prachi Kulkarni el 2 de Dic. de 2021
Hi,
Please refer to the documentation and examples related to multcompare for multiple comparison tests.
  2 comentarios
Mariya Ali
Mariya Ali el 7 de Feb. de 2022
I need to compare the x variables of all of the above mentioned patients. for that what I should I be using?
Prachi Kulkarni
Prachi Kulkarni el 16 de Feb. de 2022
Hi,
If the x-coordinates are in the vector x and the category of the disease categories are in the vector d, you can perform the test as follows.
[p,t,stats] = anova1(d,x);
c = multcompare(stats);

Iniciar sesión para comentar.

Categorías

Más información sobre Biological and Health Sciences en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by