Chapter Contents

Previous

Next
The CORR Procedure

Procedure Syntax


Tip: Supports the Output Delivery System, see Output Delivery System
Reminder: You can use the ATTRIB, FORMAT, LABEL, and WHERE statements. See Statements with the Same Function in Multiple Procedures for details. You can also use any global statements as well. See Global Statements for a list.

PROC CORR <option(s)>;
BY <DESCENDING> variable-1<...<DESCENDING> variable-n> <NOTSORTED>;
FREQ frequency-variable;
PARTIAL variable(s);
VAR variable(s);
WEIGHT weight-variable;
WITH variable(s);

To do this Use this statement
Produce separate correlation analyses for each BY group BY
Identify a variable whose values represent the frequency of each observation FREQ
Identify controlling variables to compute Pearson, Spearman, or Kendall partial correlation coefficients PARTIAL
Identify variables to correlate and their order in the correlation matrix VAR
Identify a variable whose values weight each observation to compute Pearson weight product-moment correlation WEIGHT
Compute correlations for specific combinations of variables WITH


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.