Corrected p-value during correlation analysis

1 visualización (últimos 30 días)
Sahil Bajaj
Sahil Bajaj el 20 de Feb. de 2017
Comentada: Star Strider el 20 de Feb. de 2017
Hi everyone,
I am interested in doing multiple corrections while doing some correlation analysis.
I have brain thickness data of 50 subject's 14 brain networks: 7 networks on left hemisphere and 7 networks on right hemisphere i.e. X = 50x7x2. I would like to see whether thickness of each network of these 50 subjects is correlated with age i.e. my age variable is a vector of size 50 values i.e. Y = 50x1.
Could you please tell me how and which MATLAB program can I use to estimate 14 correlation coefficient values and corrected p-value of each of these correlations?
Thanks a lot.

Respuestas (2)

Walter Roberson
Walter Roberson el 20 de Feb. de 2017
T1 = reshape(thicknesses, [], 14);
T2 = reshape(ages, [], 1);
T3 = [T1, T2];
c = cov(T3);
correlations_you_care_about = reshape( c(end,1:end-1), 7, 2);
  1 comentario
Sahil Bajaj
Sahil Bajaj el 20 de Feb. de 2017
Editada: Sahil Bajaj el 20 de Feb. de 2017
Hi Walter, Thanks for your reply. In the last line, correlations_you_care_about = reshape( c(end,1:end-1), 7, 2); I am not sure how reshape( c(end,1:end-1), 7, 2); will calculate correlations and p-values. Are there typos in this line?

Iniciar sesión para comentar.


Star Strider
Star Strider el 20 de Feb. de 2017
If you have the Statistics and Machine Learning Toolbox, you can do the sort of categorical regression they discuss, with multiple comparisons. The most obvious reason to adapt their statistical analysis procedure is that these authors have published in a refereed journal, and you would be using an accepted technique.
There may be other papers with statistical analysis techniques better suited to your experimental design. Search PubMed with the search string brain & volume & age for all 12276 similar articles.
I wish you success in your research.
  2 comentarios
Sahil Bajaj
Sahil Bajaj el 20 de Feb. de 2017
Thanks Star for suggesting this publication. This looks a useful paper to me.
Star Strider
Star Strider el 20 de Feb. de 2017
My pleasure.

Iniciar sesión para comentar.

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by