Where varlist1 and varlist2 are your two sets of variables. To run the canonical correlation macro, open a new syntax window, and execute the following form of command syntax:ĬANCORR SET1 = varlist1 / SET2 = varlist2. The macro is named Canonical correlation.sps. Once this is installed, you'll have a menu option under Analyze>Correlations to run canonical correlation analysis via a dialog box interface.Īll versions of SPSS Statistics includes a command syntax file bundled with your product. Beginning with Version 22, the Python Essentials are part of the default installation of the program, and you can download and install the STATS CANCORR extension via the menus: Utilities>Extension Bundles>Download and Install Extension Bundles. This requires the Python Essentials, also available at the same site, or in recent versions in your installation materials. An extension, STATS CANCORR, is available from the SPSS Community website at. There are several ways to run canonical correlation analysis in SPSS Statistics.