Multiple t test in MATLAB

13 次查看(过去 30 天)
Mariya Ali
Mariya Ali 2021-11-29
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 个)

Prachi Kulkarni
Prachi Kulkarni 2021-12-2
Hi,
Please refer to the documentation and examples related to multcompare for multiple comparison tests.
  2 个评论
Mariya Ali
Mariya Ali 2022-2-7
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 2022-2-16
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);

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Biological and Health Sciences 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by