Assigning Data to Roles

To run the Canonical Correlation Analysis task, you must select an input data source and assign a variable to the Variable set 1 role and the Variable set 2 role. To filter the input data source, click Filter Icon.
Roles
Description
Roles
Variable set 1
lists the variables to include in the first set.
Variable set 2
lists the variables to include in the second set.
Prefixes and Labels of Canonical Variables
Prefix and label for variable set 1
specifies the prefix and label for variable set 1. These canonical variables are given the names V1, V2, and so on. If you specify ABC as the prefix, the names are ABC1, ABC2, and so on. The label is a character constant to refer to variables in the output.
Prefix and label for variable set 2
specifies the prefix and label for variable set 2. These canonical variables are given the names W1, W2, and so on. If you specify ABC as the prefix, the names are ABC1, ABC2, and so on. The label is a character constant to refer to variables in the output.
Additional Roles
Variables to partial out
specifies to base the canonical analysis on partial correlations. The variables that you assign to this role are partialed out of Variable set 1 and Variable set 2.
Frequency count
lists a numeric variable whose value represents the frequency of the observation. If you assign a variable to this role, the task assumes that each observation represents n observations, where n is the value of the frequency variable. If n is not an integer, SAS truncates it. If n is less than 1 or is missing, the observation is excluded from the analysis. The sum of the frequency variable represents the total number of observations.
Weight
specifies the numeric variable to compute weighted product-moment correlation coefficients.
Group analysis by
enables you to obtain separate analyses of observations for each unique group.