

The macro produces only output specific to this task and will save canonical scores.Ī full demonstration of the use of MANOVA to produce canonical correlations is provided in the following technical note. About the only differences between MANOVA and the CANCORR macro are that MANOVA produces extraneous output and will not save canonical scores. You can adjust these according to your desires. The ALL and ALPHA(1) tell MANOVA that you want to look at all the output and that you want to see all functions regardless of significance level.

So something similar to the following would be specified: To get the information you would normally get with a canonical correlation analysis, you would also want to ask for EIGEN and DIM on the PRINT SIGNIF subcommand. The MANOVA procedure performs canonical correlation analysis via the DISCRIM subcommand if you have only dependent variables and covariates. If you have a correlation matrix to use as input, you must use the MANOVA procedure, which will require a vector of means, a vector of standard deviations, and a vector of Ns (which must all have the same value). The macro does not handle a correlation matrix as input. Note that the data for the macro or the extension must be "raw" data, or cases (rows) by variables (columns). You may need to specify the entire path name for the file, such as 'C:\Program Files\IBM\SPSS\Statistics\Samples\English\Canonical correlation.sps'. 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.
