Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the CCA #4

Open
Super-1123 opened this issue Sep 22, 2024 · 1 comment
Open

Question about the CCA #4

Super-1123 opened this issue Sep 22, 2024 · 1 comment

Comments

@Super-1123
Copy link

Hi,

I noticed that in the paper, it is said: " In this framework, CCA components are iteratively identified conditional on the previous components, which encourages uncorrelated components that explain sequentially and stochastically less variation in the original observations". Is it means that the components were obtained in descending order, in which the first component has the largest correlation? If so, how to realize this? In the PMA toolbox, the components obtained from the SCCA seems are not rank in order. Hope you can kindly help me. Many thanks.

@daniel-munro
Copy link
Owner

Hello, you are correct that the components are not strictly ordered by correlation, but I believe they are in the order they were found in the iterative process. Without sparseness penalties, the d vector of the output ($u'X'Zv$) should be in descending order. For example, trying this example from the docs but passing K=20 to get more components, out$d is roughly ordered, but if you remove the sparseness constraints by passing penaltyx=1, penaltyz=1,, out$d becomes completely ordered. The correlations in out$cors are sometimes roughly ordered and sometimes not, and I've forgotten how it relates to d. In short, I would recommend keeping the output order, which is what we did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants