How do ttest work for multiclass sample?

3 visualizaciones (últimos 30 días)
noramalina mohd hatta
noramalina mohd hatta el 23 de Mzo. de 2016
Comentada: noramalina mohd hatta el 23 de Mzo. de 2016
I have this code
dataTrainG1 = dataTrain(grp2idx(grpTrain)==1,:);
dataTrainG2 = dataTrain(grp2idx(grpTrain)==2,:);
[h,p,ci,stat] = ttest2(dataTrainG1,dataTrainG2,'Vartype','unequal');
unfortunately this work for two sample test only. how do I make it work for 5 sample test?
I am doing simple feature selection for multiclass cancer. I hope you can help me

Respuesta aceptada

the cyclist
the cyclist el 23 de Mzo. de 2016
The proper statistical test depends on what you want for your null hypothesis. I'm making a guess here that you might want anova1, but you should carefully read the documentation to determine exactly what you are trying to test.
  1 comentario
noramalina mohd hatta
noramalina mohd hatta el 23 de Mzo. de 2016
yes, I want to use anova1, but the problem is, it does not really work with my gene expression data

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by