Multiple t test in MATLAB

조회 수: 14 (최근 30일)
Mariya Ali
Mariya Ali 2021년 11월 29일
댓글: Scott MacKenzie 2022년 2월 17일
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
Scott MacKenzie
Scott MacKenzie 2022년 2월 17일
It might help if you post the data.

댓글을 달려면 로그인하십시오.

답변 (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에서 Hypothesis Tests에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by