Determine the subsets of data that are the most correlated with y-data

조회 수: 2 (최근 30일)
Adib Yusof
Adib Yusof 2019년 8월 23일
댓글: Adam Danz 2019년 8월 23일
I have a pair of X-Y data containing 20 datapoints. Each datapoints correspond to a group, there are 8 groups, so, let say, X1 - X3 (together with Y1 - Y3) belongs to Group 1, and so on. The number of datapoints in each group is not necessarily the same. I found that for datapoints from, let say, Group 3 are very correlated between its X's and its Y's; but it's not good enough because I want to show that if I combine datapoints from multiple groups (let say Group 1, 3 and 7), I still can have high correlation. I dont think it's efficient to do this manually since I have to test 2^8=256 combinations. Is there any MATLAB function that do this automatically, or is there any math method to solve this automatically? Thank you.
  댓글 수: 1
Adam Danz
Adam Danz 2019년 8월 23일
256 is a very manageable and relativly small number. Why not just compute all possible correlations in a loop (or loops)?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by