CORRELATIONS

CORRELATIONS is available in Statistics Base Edition.

CORRELATIONS (alias PEARSON CORR) produces Pearson product-moment correlations with significance levels and, optionally, univariate statistics, covariances, and cross-product deviations.

CORRELATIONS VARIABLES= varlist [WITH varlist] [/varlist...]

 [/MISSING={PAIRWISE**}  [{INCLUDE}]] 
           {LISTWISE  }   {EXCLUDE}

 [/PRINT={TWOTAIL**} {SIG**} {FULL**  }] 
         {ONETAIL  } {NOSIG} {LOWER   } 
                             {LNODIAG }
                             {NOMATRIX}

 [/MATRIX=OUT({*                  })] 
              {'savfile'|'dataset'}

 [/STATISTICS=[DESCRIPTIVES] [XPROD] [ALL]]

 [/CI
    [METHOD ={FISHER**} {EXACT}]
    [BIAS ={FALSE**} {TRUE}]
    [CILEVEL ={95**} {value}]
 ]

**Default if the subcommand is omitted.

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the CORRELATIONS command can be generated from the Bivariate Correlations dialog.

Release History

Release 27.0.1
  • Added support for the NOMATRIX keyword in the PRINT subcommand.
  • Added support for the CI subcommand.
Release 27.0
  • Added support for the FULL, LOWER and LNODIAG keywords in the PRINT subcommand.

Release 16.0

  • Added support for SET THREADS and SET MCACHE.

Example

CORRELATIONS VARIABLES=FOOD RENT PUBTRANS TEACHER COOK ENGINEER
  /MISSING=INCLUDE.