SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
Canonical correlation 1
Canonical correlation
In statistics, canonical-correlation analysis (CCA) is a way of making sense of cross-covariance matrices. If we
have two vectors X = (X
1
, ..., X
n
) and Y = (Y
1
, ..., Y
m
) of random variables, and there are correlations among the
variables, then canonical-correlation analysis will find linear combinations of the X
i
and Y
j
which have maximum
correlation with each other. T. R. Knapp notes "virtually all of the commonly encountered parametric tests of
significance can be treated as special cases of canonical-correlation analysis, which is the general procedure for
investigating the relationships between two sets of variables." The method was first introduced by Harold Hotelling
in 1936.
Definition
Given two column vectors and of random variables with finite second
moments, one may define the cross-covariance to be the matrix whose entry
is the covariance . In practice, we would estimate the covariance matrix based on sampled data from
and (i.e. from a pair of data matrices).
Canonical-correlation analysis seeks vectors and such that the random variables and maximize the
correlation . The random variables and are the first pair of
canonical variables. Then one seeks vectors maximizing the same correlation subject to the constraint that they are
to be uncorrelated with the first pair of canonical variables; this gives the second pair of canonical variables. This
procedure may be continued up to times.
Computation
Derivation
Let and . The parameter to maximize is
The first step is to define a change of basis and define
And thus we have
By the Cauchy-Schwarz inequality, we have
There is equality if the vectors and are collinear. In addition, the maximum of correlation is
attained if is the eigenvector with the maximum eigenvalue for the matrix (see
Rayleigh quotient). The subsequent pairs are found by using eigenvalues of decreasing magnitudes. Orthogonality is
guaranteed by the symmetry of the correlation matrices.
Canonical correlation 2
Solution
The solution is therefore:
• is an eigenvector of
• is proportional to
Reciprocally, there is also:
• is an eigenvector of
• is proportional to
Reversing the change of coordinates, we have that
• is an eigenvector of
• is an eigenvector of
• is proportional to
• is proportional to
The canonical variables are defined by:
Implementation
CCA can be computed using singular value decomposition on a correlation matrix. It is available as a function in
• MATLAB as canoncorr
[1]
• R as cancor
[2]
or in FactoMineR
[3]
• SAS as proc cancorr
[4]
• Scikit-Learn,Python as Cross decomposition
[5]
Hypothesis testing
Each row can be tested for significance with the following method. Since the correlations are sorted, saying that row
is zero implies all further correlations are also zero. If we have independent observations in a sample and is
the estimated correlation for . For the th row, the test statistic is:
which is asymptotically distributed as a chi-squared with degrees of freedom for large
. Since all the correlations from to are logically zero (and estimated that way also) the product
for the terms after this point is irrelevant.
Practical uses
A typical use for canonical correlation in the experimental context is to take two sets of variables and see what is
common amongst the two sets. For example in psychological testing, you could take two well established
multidimensional personality tests such as the Minnesota Multiphasic Personality Inventory (MMPI-2) and the NEO.
By seeing how the MMPI-2 factors relate to the NEO factors, you could gain insight into what dimensions were
common between the tests and how much variance was shared. For example you might find that an extraversion or
neuroticism dimension accounted for a substantial amount of shared variance between the two tests.
One can also use canonical-correlation analysis to produce a model equation which relates two sets of variables, for
example a set of performance measures and a set of explanatory variables, or a set of outputs and set of inputs.
Canonical correlation 3
Constraint restrictions can be imposed on such a model to ensure it reflects theoretical requirements or intuitively
obvious conditions. This type of model is known as a maximum correlation model.
Visualization of the results of canonical correlation is usually through bar plots of the coefficients of the two sets of
variables for the pairs of canonical variates showing significant correlation. Some authors suggest that they are best
visualized by plotting them as heliographs, a circular format with ray like bars, with each half representing the two
sets of variables.
Examples
Let with zero expected value, i.e., . If , i.e., and are perfectly correlated,
then, e.g., and , so that the first (and only in this example) pair of canonical variables is and
. If , i.e., and are perfectly anticorrelated, then, e.g., and , so
that the first (and only in this example) pair of canonical variables is and . We notice
that in both cases , which illustrates that the canonical-correlation analysis treats correlated and
anticorrelated variables similarly.
Connection to principal angles
Assuming that and have zero expected values, i.e.,
, their covariance matrices and
can be viewed as Gram matrices in an inner product for the entries of and
, correspondingly. In this interpretation, the random variables, entries of and of are treated as
elements of a vector space with an inner product given by the covariance , see
Covariance#Relationship_to_inner_products.
The definition of the canonical variables and is then equivalent to the definition of principal vectors for the
pair of subspaces spanned by the entries of and with respect to this inner product. The canonical correlations
is equal to the cosine of principal angles.
References
[1] http://www.mathworks.co.uk/help/stats/canoncorr.html
[2] http://stat.ethz.ch/R-manual/R-devel/library/stats/html/cancor.html
[3] http://factominer.free.fr/
[4] http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_cancorr_sect005.htm
[5] http://scikit-learn.org/stable/modules/cross_decomposition.html
External links
• Understanding canonical correlation analysis (http://www.qmrg.org.uk/files/2008/12/
3-understanding-canonical-correlation-analysis1.pdf) (Concepts and Techniques in Modern Geography)
• Hardoon, D. R.; Szedmak, S.; Shawe-Taylor, J. (2004). "Canonical Correlation Analysis: An Overview with
Application to Learning Methods". Neural Computation 16 (12): 2639–2664. doi: 10.1162/0899766042321814
(http://dx.doi.org/10.1162/0899766042321814). PMID  15516276 (http://www.ncbi.nlm.nih.gov/
pubmed/15516276).
• A note on the ordinal canonical-correlation analysis of two sets of ranking scores (http://mpra.ub.
uni-muenchen.de/12796/) (Also provides a FORTRAN program)- in J. of Quantitative Economics 7(2), 2009,
pp. 173-199
• Representation-Constrained Canonical Correlation Analysis: A Hybridization of Canonical Correlation and
Principal Component Analyses (http://ssrn.com/abstract=1331886) (Also provides a FORTRAN program)- in J.
of Applied Economic Sciences 4(1), 2009, pp. 115-124
Article Sources and Contributors 4
Article Sources and Contributors
Canonical correlation  Source: http://en.wikipedia.org/w/index.php?oldid=599494674  Contributors: 2andrewknyazev, Ahsglg0054, AndrewHowse, Angryhaggis, Arthur Rubin, Attarparn,
Bestiasonica, Bkonrad, Bob1960evens, Bruce rennes, Bruguiea, Cyan, Dean p foster, Den fjättrade ankan, Duoduoduo, Fangz, Fnielsen, Free Software Knight, Gareth Jones, Geomon, Giganut,
Hu12, JamesBWatson, Jncraton, Kiefer.Wolfowitz, Mark viking, Matteo.pelagatti, MaxSem, Mcld, Melcombe, Memming, Michael Hardy, Mishrasknehu, Olaf, R'n'B, Selvik, Shyamal,
SyedAshrafulla, That Guy, From That Show!, Tomi, VSteiger, Volemak, WikiMSL, Yuzhounh, 50 anonymous edits
License
Creative Commons Attribution-Share Alike 3.0
//creativecommons.org/licenses/by-sa/3.0/

Weitere ähnliche Inhalte

Was ist angesagt?

Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...
Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...
Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...
Simplilearn
 
Cannonical correlation
Cannonical correlationCannonical correlation
Cannonical correlation
domsr
 

Was ist angesagt? (20)

CART: Not only Classification and Regression Trees
CART: Not only Classification and Regression TreesCART: Not only Classification and Regression Trees
CART: Not only Classification and Regression Trees
 
decision tree regression
decision tree regressiondecision tree regression
decision tree regression
 
Statistics Using Python | Statistics Python Tutorial | Python Certification T...
Statistics Using Python | Statistics Python Tutorial | Python Certification T...Statistics Using Python | Statistics Python Tutorial | Python Certification T...
Statistics Using Python | Statistics Python Tutorial | Python Certification T...
 
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha BaliRegression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
 
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
 
Naive Bayes
Naive BayesNaive Bayes
Naive Bayes
 
Linear models for data science
Linear models for data scienceLinear models for data science
Linear models for data science
 
Decision tree
Decision treeDecision tree
Decision tree
 
Time series Analysis
Time series AnalysisTime series Analysis
Time series Analysis
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
ML - Simple Linear Regression
ML - Simple Linear RegressionML - Simple Linear Regression
ML - Simple Linear Regression
 
Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...
Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...
Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...
 
CART – Classification & Regression Trees
CART – Classification & Regression TreesCART – Classification & Regression Trees
CART – Classification & Regression Trees
 
Exploratory data analysis
Exploratory data analysisExploratory data analysis
Exploratory data analysis
 
Descriptive Statistics and Data Visualization
Descriptive Statistics and Data VisualizationDescriptive Statistics and Data Visualization
Descriptive Statistics and Data Visualization
 
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
 
Cannonical correlation
Cannonical correlationCannonical correlation
Cannonical correlation
 
Introduction to Linear Discriminant Analysis
Introduction to Linear Discriminant AnalysisIntroduction to Linear Discriminant Analysis
Introduction to Linear Discriminant Analysis
 
Pca ppt
Pca pptPca ppt
Pca ppt
 
K nearest neighbor
K nearest neighborK nearest neighbor
K nearest neighbor
 

Andere mochten auch (10)

cca stat
cca statcca stat
cca stat
 
J itendra cca stat
J itendra cca statJ itendra cca stat
J itendra cca stat
 
Canonical Correlation Analysis
Canonical Correlation AnalysisCanonical Correlation Analysis
Canonical Correlation Analysis
 
Sme's
Sme'sSme's
Sme's
 
Problems with SME in pakistan
Problems with SME in pakistanProblems with SME in pakistan
Problems with SME in pakistan
 
Role of SMEs in Pakistan
Role of SMEs in PakistanRole of SMEs in Pakistan
Role of SMEs in Pakistan
 
Sme in pakistan
Sme in pakistanSme in pakistan
Sme in pakistan
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
factor analysis
factor analysisfactor analysis
factor analysis
 
Cluster analysis
Cluster analysisCluster analysis
Cluster analysis
 

Ähnlich wie Canonical correlation

Factor anaysis scale dimensionality
Factor anaysis scale dimensionalityFactor anaysis scale dimensionality
Factor anaysis scale dimensionality
Carlo Magno
 
COVARIANCE ESTIMATION AND RELATED PROBLEMS IN PORTFOLIO OPTIMI
COVARIANCE ESTIMATION AND RELATED PROBLEMS IN PORTFOLIO OPTIMICOVARIANCE ESTIMATION AND RELATED PROBLEMS IN PORTFOLIO OPTIMI
COVARIANCE ESTIMATION AND RELATED PROBLEMS IN PORTFOLIO OPTIMI
CruzIbarra161
 
SubmissionCopyAlexanderBooth
SubmissionCopyAlexanderBoothSubmissionCopyAlexanderBooth
SubmissionCopyAlexanderBooth
Alexander Booth
 
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
mohamedchaouche
 

Ähnlich wie Canonical correlation (20)

Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...
 
Use of eigenvalues and eigenvectors to analyze bipartivity of network graphs
Use of eigenvalues and eigenvectors to analyze bipartivity of network graphsUse of eigenvalues and eigenvectors to analyze bipartivity of network graphs
Use of eigenvalues and eigenvectors to analyze bipartivity of network graphs
 
Arellano bond
Arellano bondArellano bond
Arellano bond
 
gamdependence_revision1
gamdependence_revision1gamdependence_revision1
gamdependence_revision1
 
Multiple regression
Multiple regressionMultiple regression
Multiple regression
 
RS
RSRS
RS
 
Correation, Linear Regression and Multilinear Regression using R software
Correation, Linear Regression and Multilinear Regression using R softwareCorreation, Linear Regression and Multilinear Regression using R software
Correation, Linear Regression and Multilinear Regression using R software
 
Factor anaysis scale dimensionality
Factor anaysis scale dimensionalityFactor anaysis scale dimensionality
Factor anaysis scale dimensionality
 
CCA.ppt
CCA.pptCCA.ppt
CCA.ppt
 
COVARIANCE ESTIMATION AND RELATED PROBLEMS IN PORTFOLIO OPTIMI
COVARIANCE ESTIMATION AND RELATED PROBLEMS IN PORTFOLIO OPTIMICOVARIANCE ESTIMATION AND RELATED PROBLEMS IN PORTFOLIO OPTIMI
COVARIANCE ESTIMATION AND RELATED PROBLEMS IN PORTFOLIO OPTIMI
 
SubmissionCopyAlexanderBooth
SubmissionCopyAlexanderBoothSubmissionCopyAlexanderBooth
SubmissionCopyAlexanderBooth
 
Investigation of Parameter Behaviors in Stationarity of Autoregressive and Mo...
Investigation of Parameter Behaviors in Stationarity of Autoregressive and Mo...Investigation of Parameter Behaviors in Stationarity of Autoregressive and Mo...
Investigation of Parameter Behaviors in Stationarity of Autoregressive and Mo...
 
Advance control theory
Advance control theoryAdvance control theory
Advance control theory
 
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
 
04_AJMS_288_20.pdf
04_AJMS_288_20.pdf04_AJMS_288_20.pdf
04_AJMS_288_20.pdf
 
Recommender system
Recommender systemRecommender system
Recommender system
 
1607.01152.pdf
1607.01152.pdf1607.01152.pdf
1607.01152.pdf
 
Dimesional Analysis
Dimesional Analysis Dimesional Analysis
Dimesional Analysis
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HERE
 
Bachelor's Thesis
Bachelor's ThesisBachelor's Thesis
Bachelor's Thesis
 

Mehr von National Institute of Biologics

Canonical structures for the hypervariable regions of immunoglobulins
Canonical structures for the hypervariable regions of immunoglobulinsCanonical structures for the hypervariable regions of immunoglobulins
Canonical structures for the hypervariable regions of immunoglobulins
National Institute of Biologics
 

Mehr von National Institute of Biologics (20)

Waters protein therapeutics application proctocols
Waters protein therapeutics application proctocolsWaters protein therapeutics application proctocols
Waters protein therapeutics application proctocols
 
Potential aggregation prone regions in biotherapeutics
Potential aggregation prone regions in biotherapeuticsPotential aggregation prone regions in biotherapeutics
Potential aggregation prone regions in biotherapeutics
 
How the biologics landscape is evolving
How the biologics landscape is evolvingHow the biologics landscape is evolving
How the biologics landscape is evolving
 
Evaluation of antibody drugs quality safety
Evaluation of antibody drugs quality safetyEvaluation of antibody drugs quality safety
Evaluation of antibody drugs quality safety
 
Approved m abs_feb_2015
Approved m abs_feb_2015Approved m abs_feb_2015
Approved m abs_feb_2015
 
Translating next generation sequencing to practice
Translating next generation sequencing to practiceTranslating next generation sequencing to practice
Translating next generation sequencing to practice
 
From biomarkers to diagnostics –the road to success
From biomarkers to diagnostics –the road to successFrom biomarkers to diagnostics –the road to success
From biomarkers to diagnostics –the road to success
 
Defining your-target-product-profile in-vitro-diagnostic-products
Defining your-target-product-profile in-vitro-diagnostic-productsDefining your-target-product-profile in-vitro-diagnostic-products
Defining your-target-product-profile in-vitro-diagnostic-products
 
Accelerating development and approval of targeted cancer therapies
Accelerating development and approval of targeted cancer therapiesAccelerating development and approval of targeted cancer therapies
Accelerating development and approval of targeted cancer therapies
 
Canonical structures for the hypervariable regions of immunoglobulins
Canonical structures for the hypervariable regions of immunoglobulinsCanonical structures for the hypervariable regions of immunoglobulins
Canonical structures for the hypervariable regions of immunoglobulins
 
Development trends for human monoclonal antibody therapeutics
Development trends for human monoclonal antibody therapeuticsDevelopment trends for human monoclonal antibody therapeutics
Development trends for human monoclonal antibody therapeutics
 
Therapeutic fc fusion proteins and peptides as successful alternatives to ant...
Therapeutic fc fusion proteins and peptides as successful alternatives to ant...Therapeutic fc fusion proteins and peptides as successful alternatives to ant...
Therapeutic fc fusion proteins and peptides as successful alternatives to ant...
 
Fc fusion proteins and fc rn - structural insights for longer-lasting and mor...
Fc fusion proteins and fc rn - structural insights for longer-lasting and mor...Fc fusion proteins and fc rn - structural insights for longer-lasting and mor...
Fc fusion proteins and fc rn - structural insights for longer-lasting and mor...
 
Therapeutic antibodies for autoimmunity and inflammation
Therapeutic antibodies for autoimmunity and inflammationTherapeutic antibodies for autoimmunity and inflammation
Therapeutic antibodies for autoimmunity and inflammation
 
Introduction to current and future protein therapeutics - a protein engineeri...
Introduction to current and future protein therapeutics - a protein engineeri...Introduction to current and future protein therapeutics - a protein engineeri...
Introduction to current and future protein therapeutics - a protein engineeri...
 
Pharmaceutical monoclonal antibodies production - guidelines to cell engine...
Pharmaceutical monoclonal antibodies   production - guidelines to cell engine...Pharmaceutical monoclonal antibodies   production - guidelines to cell engine...
Pharmaceutical monoclonal antibodies production - guidelines to cell engine...
 
Intended use of reference products & who international standards or reference...
Intended use of reference products & who international standards or reference...Intended use of reference products & who international standards or reference...
Intended use of reference products & who international standards or reference...
 
How dissimilarly similar are biosimilars
How dissimilarly similar are biosimilarsHow dissimilarly similar are biosimilars
How dissimilarly similar are biosimilars
 
Evaluation of similar biotherapeutic products (SBP's) scientific principles ...
Evaluation of similar biotherapeutic products (SBP's)   scientific principles ...Evaluation of similar biotherapeutic products (SBP's)   scientific principles ...
Evaluation of similar biotherapeutic products (SBP's) scientific principles ...
 
Biosimilars - global scenario and challenges
Biosimilars  - global scenario and challengesBiosimilars  - global scenario and challenges
Biosimilars - global scenario and challenges
 

Kürzlich hochgeladen

Call Girls in Gagan Vihar (delhi) call me [🔝 9953056974 🔝] escort service 24X7
Call Girls in Gagan Vihar (delhi) call me [🔝  9953056974 🔝] escort service 24X7Call Girls in Gagan Vihar (delhi) call me [🔝  9953056974 🔝] escort service 24X7
Call Girls in Gagan Vihar (delhi) call me [🔝 9953056974 🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
adilkhan87451
 
Call Girl in Indore 8827247818 {LowPrice} ❤️ (ahana) Indore Call Girls * UPA...
Call Girl in Indore 8827247818 {LowPrice} ❤️ (ahana) Indore Call Girls  * UPA...Call Girl in Indore 8827247818 {LowPrice} ❤️ (ahana) Indore Call Girls  * UPA...
Call Girl in Indore 8827247818 {LowPrice} ❤️ (ahana) Indore Call Girls * UPA...
mahaiklolahd
 
Call Girls in Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service Avai...
Call Girls in Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service Avai...Call Girls in Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service Avai...
Call Girls in Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service Avai...
adilkhan87451
 

Kürzlich hochgeladen (20)

Call Girls Mumbai Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Mumbai Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Mumbai Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Mumbai Just Call 8250077686 Top Class Call Girl Service Available
 
Call Girls in Gagan Vihar (delhi) call me [🔝 9953056974 🔝] escort service 24X7
Call Girls in Gagan Vihar (delhi) call me [🔝  9953056974 🔝] escort service 24X7Call Girls in Gagan Vihar (delhi) call me [🔝  9953056974 🔝] escort service 24X7
Call Girls in Gagan Vihar (delhi) call me [🔝 9953056974 🔝] escort service 24X7
 
9630942363 Genuine Call Girls In Ahmedabad Gujarat Call Girls Service
9630942363 Genuine Call Girls In Ahmedabad Gujarat Call Girls Service9630942363 Genuine Call Girls In Ahmedabad Gujarat Call Girls Service
9630942363 Genuine Call Girls In Ahmedabad Gujarat Call Girls Service
 
Russian Call Girls Service Jaipur {8445551418} ❤️PALLAVI VIP Jaipur Call Gir...
Russian Call Girls Service  Jaipur {8445551418} ❤️PALLAVI VIP Jaipur Call Gir...Russian Call Girls Service  Jaipur {8445551418} ❤️PALLAVI VIP Jaipur Call Gir...
Russian Call Girls Service Jaipur {8445551418} ❤️PALLAVI VIP Jaipur Call Gir...
 
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service AvailableCall Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
 
Call Girls Amritsar Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Amritsar Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Amritsar Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Amritsar Just Call 8250077686 Top Class Call Girl Service Available
 
Saket * Call Girls in Delhi - Phone 9711199012 Escorts Service at 6k to 50k a...
Saket * Call Girls in Delhi - Phone 9711199012 Escorts Service at 6k to 50k a...Saket * Call Girls in Delhi - Phone 9711199012 Escorts Service at 6k to 50k a...
Saket * Call Girls in Delhi - Phone 9711199012 Escorts Service at 6k to 50k a...
 
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
 
Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...
Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...
Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...
 
Top Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any Time
Top Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any TimeTop Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any Time
Top Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any Time
 
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
Russian Call Girls Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service...
 
Kollam call girls Mallu aunty service 7877702510
Kollam call girls Mallu aunty service 7877702510Kollam call girls Mallu aunty service 7877702510
Kollam call girls Mallu aunty service 7877702510
 
Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...
Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...
Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...
 
Call Girls Rishikesh Just Call 9667172968 Top Class Call Girl Service Available
Call Girls Rishikesh Just Call 9667172968 Top Class Call Girl Service AvailableCall Girls Rishikesh Just Call 9667172968 Top Class Call Girl Service Available
Call Girls Rishikesh Just Call 9667172968 Top Class Call Girl Service Available
 
Call Girls Service Jaipur {9521753030} ❤️VVIP RIDDHI Call Girl in Jaipur Raja...
Call Girls Service Jaipur {9521753030} ❤️VVIP RIDDHI Call Girl in Jaipur Raja...Call Girls Service Jaipur {9521753030} ❤️VVIP RIDDHI Call Girl in Jaipur Raja...
Call Girls Service Jaipur {9521753030} ❤️VVIP RIDDHI Call Girl in Jaipur Raja...
 
Call Girls Mysore Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Mysore Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Mysore Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Mysore Just Call 8250077686 Top Class Call Girl Service Available
 
Low Rate Call Girls Bangalore {7304373326} ❤️VVIP NISHA Call Girls in Bangalo...
Low Rate Call Girls Bangalore {7304373326} ❤️VVIP NISHA Call Girls in Bangalo...Low Rate Call Girls Bangalore {7304373326} ❤️VVIP NISHA Call Girls in Bangalo...
Low Rate Call Girls Bangalore {7304373326} ❤️VVIP NISHA Call Girls in Bangalo...
 
Call Girl in Indore 8827247818 {LowPrice} ❤️ (ahana) Indore Call Girls * UPA...
Call Girl in Indore 8827247818 {LowPrice} ❤️ (ahana) Indore Call Girls  * UPA...Call Girl in Indore 8827247818 {LowPrice} ❤️ (ahana) Indore Call Girls  * UPA...
Call Girl in Indore 8827247818 {LowPrice} ❤️ (ahana) Indore Call Girls * UPA...
 
Top Rated Pune Call Girls (DIPAL) ⟟ 8250077686 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls (DIPAL) ⟟ 8250077686 ⟟ Call Me For Genuine Sex Serv...Top Rated Pune Call Girls (DIPAL) ⟟ 8250077686 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls (DIPAL) ⟟ 8250077686 ⟟ Call Me For Genuine Sex Serv...
 
Call Girls in Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service Avai...
Call Girls in Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service Avai...Call Girls in Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service Avai...
Call Girls in Lucknow Just Call 👉👉7877925207 Top Class Call Girl Service Avai...
 

Canonical correlation

  • 1. Canonical correlation 1 Canonical correlation In statistics, canonical-correlation analysis (CCA) is a way of making sense of cross-covariance matrices. If we have two vectors X = (X 1 , ..., X n ) and Y = (Y 1 , ..., Y m ) of random variables, and there are correlations among the variables, then canonical-correlation analysis will find linear combinations of the X i and Y j which have maximum correlation with each other. T. R. Knapp notes "virtually all of the commonly encountered parametric tests of significance can be treated as special cases of canonical-correlation analysis, which is the general procedure for investigating the relationships between two sets of variables." The method was first introduced by Harold Hotelling in 1936. Definition Given two column vectors and of random variables with finite second moments, one may define the cross-covariance to be the matrix whose entry is the covariance . In practice, we would estimate the covariance matrix based on sampled data from and (i.e. from a pair of data matrices). Canonical-correlation analysis seeks vectors and such that the random variables and maximize the correlation . The random variables and are the first pair of canonical variables. Then one seeks vectors maximizing the same correlation subject to the constraint that they are to be uncorrelated with the first pair of canonical variables; this gives the second pair of canonical variables. This procedure may be continued up to times. Computation Derivation Let and . The parameter to maximize is The first step is to define a change of basis and define And thus we have By the Cauchy-Schwarz inequality, we have There is equality if the vectors and are collinear. In addition, the maximum of correlation is attained if is the eigenvector with the maximum eigenvalue for the matrix (see Rayleigh quotient). The subsequent pairs are found by using eigenvalues of decreasing magnitudes. Orthogonality is guaranteed by the symmetry of the correlation matrices.
  • 2. Canonical correlation 2 Solution The solution is therefore: • is an eigenvector of • is proportional to Reciprocally, there is also: • is an eigenvector of • is proportional to Reversing the change of coordinates, we have that • is an eigenvector of • is an eigenvector of • is proportional to • is proportional to The canonical variables are defined by: Implementation CCA can be computed using singular value decomposition on a correlation matrix. It is available as a function in • MATLAB as canoncorr [1] • R as cancor [2] or in FactoMineR [3] • SAS as proc cancorr [4] • Scikit-Learn,Python as Cross decomposition [5] Hypothesis testing Each row can be tested for significance with the following method. Since the correlations are sorted, saying that row is zero implies all further correlations are also zero. If we have independent observations in a sample and is the estimated correlation for . For the th row, the test statistic is: which is asymptotically distributed as a chi-squared with degrees of freedom for large . Since all the correlations from to are logically zero (and estimated that way also) the product for the terms after this point is irrelevant. Practical uses A typical use for canonical correlation in the experimental context is to take two sets of variables and see what is common amongst the two sets. For example in psychological testing, you could take two well established multidimensional personality tests such as the Minnesota Multiphasic Personality Inventory (MMPI-2) and the NEO. By seeing how the MMPI-2 factors relate to the NEO factors, you could gain insight into what dimensions were common between the tests and how much variance was shared. For example you might find that an extraversion or neuroticism dimension accounted for a substantial amount of shared variance between the two tests. One can also use canonical-correlation analysis to produce a model equation which relates two sets of variables, for example a set of performance measures and a set of explanatory variables, or a set of outputs and set of inputs.
  • 3. Canonical correlation 3 Constraint restrictions can be imposed on such a model to ensure it reflects theoretical requirements or intuitively obvious conditions. This type of model is known as a maximum correlation model. Visualization of the results of canonical correlation is usually through bar plots of the coefficients of the two sets of variables for the pairs of canonical variates showing significant correlation. Some authors suggest that they are best visualized by plotting them as heliographs, a circular format with ray like bars, with each half representing the two sets of variables. Examples Let with zero expected value, i.e., . If , i.e., and are perfectly correlated, then, e.g., and , so that the first (and only in this example) pair of canonical variables is and . If , i.e., and are perfectly anticorrelated, then, e.g., and , so that the first (and only in this example) pair of canonical variables is and . We notice that in both cases , which illustrates that the canonical-correlation analysis treats correlated and anticorrelated variables similarly. Connection to principal angles Assuming that and have zero expected values, i.e., , their covariance matrices and can be viewed as Gram matrices in an inner product for the entries of and , correspondingly. In this interpretation, the random variables, entries of and of are treated as elements of a vector space with an inner product given by the covariance , see Covariance#Relationship_to_inner_products. The definition of the canonical variables and is then equivalent to the definition of principal vectors for the pair of subspaces spanned by the entries of and with respect to this inner product. The canonical correlations is equal to the cosine of principal angles. References [1] http://www.mathworks.co.uk/help/stats/canoncorr.html [2] http://stat.ethz.ch/R-manual/R-devel/library/stats/html/cancor.html [3] http://factominer.free.fr/ [4] http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_cancorr_sect005.htm [5] http://scikit-learn.org/stable/modules/cross_decomposition.html External links • Understanding canonical correlation analysis (http://www.qmrg.org.uk/files/2008/12/ 3-understanding-canonical-correlation-analysis1.pdf) (Concepts and Techniques in Modern Geography) • Hardoon, D. R.; Szedmak, S.; Shawe-Taylor, J. (2004). "Canonical Correlation Analysis: An Overview with Application to Learning Methods". Neural Computation 16 (12): 2639–2664. doi: 10.1162/0899766042321814 (http://dx.doi.org/10.1162/0899766042321814). PMID  15516276 (http://www.ncbi.nlm.nih.gov/ pubmed/15516276). • A note on the ordinal canonical-correlation analysis of two sets of ranking scores (http://mpra.ub. uni-muenchen.de/12796/) (Also provides a FORTRAN program)- in J. of Quantitative Economics 7(2), 2009, pp. 173-199 • Representation-Constrained Canonical Correlation Analysis: A Hybridization of Canonical Correlation and Principal Component Analyses (http://ssrn.com/abstract=1331886) (Also provides a FORTRAN program)- in J. of Applied Economic Sciences 4(1), 2009, pp. 115-124
  • 4. Article Sources and Contributors 4 Article Sources and Contributors Canonical correlation  Source: http://en.wikipedia.org/w/index.php?oldid=599494674  Contributors: 2andrewknyazev, Ahsglg0054, AndrewHowse, Angryhaggis, Arthur Rubin, Attarparn, Bestiasonica, Bkonrad, Bob1960evens, Bruce rennes, Bruguiea, Cyan, Dean p foster, Den fjättrade ankan, Duoduoduo, Fangz, Fnielsen, Free Software Knight, Gareth Jones, Geomon, Giganut, Hu12, JamesBWatson, Jncraton, Kiefer.Wolfowitz, Mark viking, Matteo.pelagatti, MaxSem, Mcld, Melcombe, Memming, Michael Hardy, Mishrasknehu, Olaf, R'n'B, Selvik, Shyamal, SyedAshrafulla, That Guy, From That Show!, Tomi, VSteiger, Volemak, WikiMSL, Yuzhounh, 50 anonymous edits License Creative Commons Attribution-Share Alike 3.0 //creativecommons.org/licenses/by-sa/3.0/