Docsity

Understanding Relationship between Two Sets of Variables: Canonical Correlation Analysis, Exams of Descriptive statistics

Partial preview of the text

Download Understanding Relationship between Two Sets of Variables: Canonical Correlation Analysis and more Exams Descriptive statistics in PDF only on Docsity!

Canonical Correlation

Analysis

Univariate Correlation

  • If x & y are two variables upon which n observations are obtained, then the Pearson Product Moment Correlation Coefficient is given by:

xy xy x y

s

r =

s s

Pearson Product Moment Correlation Coefficient

xy xy x y

s r = s s

xy 2 x 2 y

s x & y s x s y

where covariance between

variance of variance of

Multiple Correlation Coefficient

  • If x is a vector of q variables, and y is another variable, then the multiple correlation coefficient between x & y is:

y xy (^2) y

R

s

x xx

b s b S b

Correlation between 2 random vectors

  • Consider the case where we have n observations on vectors x q × 1 and y p × 1.
  • We still wish to assess the relationship between the set of q variables in x and the set of p variables in y.

u v

Let = ′ =^ ′

b x c y

Correlation between 2 random vectors

  • Then the correlation between u & v is:

( ) (^) ( )

r uv

xy

xx yy

b S c

b S b c S c

where covariance matrix between &

variance-covariance matrix of variance-covariance matrix of

xy xx yy

S x y S x S y

Canonical Correlation

  • A logical extension of the multiple correlation case would be to determine the

vectors b & c such that ruv^2 is maximized.

Canonical Correlation

The squared first canonical correlation is defined by:

( )

2 ˆ 1 max ,

with

θ ≠ r ′ ′

≠

= ⎡^ ⎤

b 0 b x c y c 0

b Sxx b c S (^) yyc

Relationship with MANOVA

  • The multivariate test statistics are functions of the eigenvalues of HE -1^ or H ( H + E ) -1^ = HT -1. These eigenvalues are the squares of the canonical correlations between X and Y.

Regression Analysis

Yi = β 0 + β 1 X +ε i

Yi = β 0 + β 1 X 1 + β 2 X 2 +ε i

Y

X X

X










Y




2

1

Multivariate Multiple Regression

Y = X β + E where Y n × p matrix of p response variables for n subjects X n × ( k + 1) matrix of k independent variables (plus the intercept) for n subjects β ( k + 1) × p matrix of coefficients for the k independent variables used to predict the p dependent variables.

Another General Linear Model

  • Like MANOVA, multivariate regression is a type of general linear model. - The hypotheses are similar. - The estimates are obtained in a similar way. - The assumptions are similar. - The multivariate test statistics are the same.

Canonical Correlation

Using PROC CANCORR

  • In addition to the canonical correlations, you see the following: - raw and standardized canonical coefficients for each canonical variate - simple correlations for all variable and variate combinations - step-down likelihood-ratio tests for canonical correlations - multivariate tests for H 0 :all canonical correlations = 0 - adjusted canonical correlations and standard errors of the canonical correlations.

Likelihood-ratio Tests of

Canonical Variates

  • The likelihood-ratio test of HE -1^ is equal to Wilks’ Lambda and can be converted to an approximate F test. - This is a step-down method. - The null hypothesis is that the canonical correlation R (^) i and all those smaller than R (^) i = 0. - This test is performed sequentially for all canonical variate pairs.

Interpreting the Canonical Correlation

  • Canonical coefficients are just like regression coefficients: - They depend on the other variables in the model. - They depend on the scale of measurement. - Standardized coefficients address the scaling issue, but they do not address the problem of dependencies among variables. - Coefficients are useful for prediction but not for interpretation.

Interpreting the Canonical Correlation

  • A more useful way to interpret the canonical correlation in terms of the input variables is to look at the simple correlation statistics. For each pair of variates, look at - the correlation between each variable and its canonical variate - the correlation between each variable and the canonical variate for the other set of variables.