Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

calculated the Correlation Coefficient of all subsets of a set

$
0
0
Hey Guys

I extracted all subsets of a set.Now I want calculated the Correlation Coefficient of each subset which is sum of Correlation Coefficient of it's subset.
How can I do it?
I think I should write an recursive function but that sounds a little complicated.

Assume x={x1,x2,x3,x4}
one of subsets of x is ={x1,x2,x4}
the Correlation Coefficient of this subset is=(CC(x1,y)+CC(x2,y)+CC(x3,y)) divide by
CC(X1,X2)+CC(X1,X3)+CC(X2,X3)

So you nead tu extract the subsets of this subset again and caculate the CC of each subset seprately

I'm begginer in Matlab.I really appreciate if someone could tell me the easiet way to do so.

Regards

Viewing all articles
Browse latest Browse all 19628

Trending Articles