{
  "name": "PROC CORR coefficient options: statistic, restrictions and output data set option",
  "description": "Compares the correlation coefficients requested on the SAS PROC CORR statement (Pearson, Spearman, Kendall tau-b, Hoeffding D, polychoric, polyserial): what each measures, the restrictions stated in the Base SAS 9.4 Procedures Guide, and the output data set option that stores it.",
  "page": "https://casrai.org/guides/proc-corr-sas",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-17T22:18:52Z",
  "temporalCoverage": "SAS 9.4 documentation",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "PROC CORR option",
      "unit": "",
      "description": ""
    },
    {
      "name": "Statistic requested",
      "unit": "",
      "description": ""
    },
    {
      "name": "Restriction stated in the documentation",
      "unit": "",
      "description": ""
    },
    {
      "name": "Output data set option",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "PROC CORR option": "PEARSON",
      "Statistic requested": "Pearson product-moment correlation, range -1 to 1",
      "Restriction stated in the documentation": "With a WEIGHT statement the procedure computes a weighted Pearson correlation; produced by default only if none of HOEFFDING, KENDALL, SPEARMAN, POLYCHORIC, POLYSERIAL, OUTH=, OUTK=, OUTS= is specified",
      "Output data set option": "OUTP= (or OUT=)"
    },
    {
      "PROC CORR option": "SPEARMAN",
      "Statistic requested": "Spearman rank-order correlation, range -1 to 1",
      "Restriction stated in the documentation": "Invalid with a WEIGHT statement",
      "Output data set option": "OUTS="
    },
    {
      "PROC CORR option": "KENDALL",
      "Statistic requested": "Kendall's tau-b, range -1 to 1",
      "Restriction stated in the documentation": "Invalid with a WEIGHT statement; probability values for Kendall's partial tau-b are not available with PARTIAL",
      "Output data set option": "OUTK="
    },
    {
      "PROC CORR option": "HOEFFDING",
      "Statistic requested": "Hoeffding's D, scaled 30 times the usual definition, range -0.5 to 1",
      "Restriction stated in the documentation": "Invalid with a WEIGHT or PARTIAL statement",
      "Output data set option": "OUTH="
    },
    {
      "PROC CORR option": "POLYCHORIC",
      "Statistic requested": "Polychoric correlation (tetrachoric for two binary variables)",
      "Restriction stated in the documentation": "Not applicable with a WEIGHT statement",
      "Output data set option": "OUTPLC="
    },
    {
      "PROC CORR option": "POLYSERIAL",
      "Statistic requested": "Polyserial correlation",
      "Restriction stated in the documentation": "Not applicable with a WEIGHT statement",
      "Output data set option": "OUTPLS="
    }
  ],
  "sources": [
    {
      "title": "PROC CORR Statement, Base SAS 9.4 Procedures Guide: Statistical Procedures, Fifth Edition",
      "url": "https://support.sas.com/documentation/cdl/en/procstat/70116/HTML/default/procstat_corr_syntax01.htm",
      "accessed": "2026-11-17"
    },
    {
      "title": "WEIGHT Statement, The CORR Procedure",
      "url": "https://support.sas.com/documentation/cdl/en/procstat/70116/HTML/default/procstat_corr_syntax07.htm",
      "accessed": "2026-11-17"
    }
  ]
}