excel - Calculate the average of Spearman correlation -


i have 2 columns , b contain spearman's correlation values follows:

 0.127272727    -0.260606061 -0.090909091    -0.224242424 0.345454545      0.745454545 0.478787879      0.660606061 -0.345454545    -0.333333333 0.151515152     -0.127272727 0.478787879     0.660606061 -0.321212121    -0.284848485 0.284848485     0.515151515 0.36969697     -0.139393939 -0.284848485    0.272727273 

how can calculate average of correlation values in these 2 columns in excel or matlab ? found close answer in link : https://stats.stackexchange.com/questions/8019/averaging-correlation-values main point can not use mean or average in case, explained in link. proposed nice way that, dont know how implement in excel or matlab.

in matlab, define matrix these values , use mean function follows:

%define matrix m m = [0.127272727    -0.260606061; -0.090909091    -0.224242424; 0.345454545      0.745454545; 0.478787879      0.660606061; -0.345454545    -0.333333333; 0.151515152     -0.127272727; 0.478787879     0.660606061; -0.321212121    -0.284848485; 0.284848485     0.515151515; 0.36969697     -0.139393939; -0.284848485    0.272727273];  %calculates mean of each column meanvals = mean(m); 

result

meanvals = 0.1085    0.1350 

it possible calculate total meanm , mean of each row follows:

meanvals = mean(m); %total mean meanvals = mean(m,2); %mean of each row 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -