[R] Sum of sd between matrix cols vs spearman correlation between them

ali_protocol mohammadianalimohammadian at gmail.com
Thu Apr 5 16:46:52 CEST 2012


Hi all,

I have a matrix  (n*2), I want to compare 2 operators (2 normalization for
array results) on these matrix. 
The 2 columns should ideally become the same after operations
(normalization). So to compare operations, 
I do this for each normalization: 

s= sum (apply (normalized.matrix, 2,sd))
c= cor (normalized[,1],normalized [,2], method='pearson')


I expect that if normalization 1 is superior, s should be less and c greater
than normalization2, but both s and c change in 1 direstion. Is this
possible or am I doing something wrong?

Thank you in advance.




--
View this message in context: http://r.789695.n4.nabble.com/Sum-of-sd-between-matrix-cols-vs-spearman-correlation-between-them-tp4535057p4535057.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list