Canonical correlation analysis (CCA) [12,28] quantifies the associations between two sets of variables by transforming both of them into a common lower dimensional space with maximum correlations. Given two random vectors and , the CCA finds two weight vectors and such that the two linear transformations and , also called the canonical variables, are maximally correlated. In 1993, Leurgans et al. [36] adapted the CCA for functional data. Given two random functions, and , the functional correlation analysis (FCCA) seeks two weigh functions and such that and , called functional correlation variables, are maximally correlated. In our analysis, we used the cca.fd function from the fda R package [37] to conduct FCCA with roughness penalties on the second derivative of each curve.
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.