Multiple t test in MATLAB

4 views (last 30 days)
Mariya Ali
Mariya Ali on 29 Nov 2021
Commented: Scott MacKenzie on 17 Feb 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 Comment
Scott MacKenzie
Scott MacKenzie on 17 Feb 2022
It might help if you post the data.

Sign in to comment.

Answers (1)

Prachi Kulkarni
Prachi Kulkarni on 2 Dec 2021
Please refer to the documentation and examples related to multcompare for multiple comparison tests.
Prachi Kulkarni
Prachi Kulkarni on 16 Feb 2022
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);

Sign in to comment.


Find more on Biotech and Pharmaceutical 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!

Translated by