{
  "name": "SAS and R distribution-analysis settings",
  "description": "Original crosswalk compiled from SAS PROC UNIVARIATE and R stats documentation. It compares percentile argument scales, default and matched quantile algorithms, and documented Shapiro-Wilk sample limits. The settings refer to the linked SAS 9.4 and R manuals.",
  "page": "https://casrai.org/guides/proc-univariate-sas",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-17T02:44:03Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Setting",
      "unit": "",
      "description": ""
    },
    {
      "name": "SAS PROC UNIVARIATE",
      "unit": "",
      "description": ""
    },
    {
      "name": "R stats",
      "unit": "",
      "description": ""
    },
    {
      "name": "Interpretation",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Setting": "97.5th-percentile request",
      "SAS PROC UNIVARIATE": "PCTLPTS=97.5 with PCTLPRE=",
      "R stats": "quantile(x, probs=0.975)",
      "Interpretation": "SAS uses a percentage; R uses a probability."
    },
    {
      "Setting": "Default quantile algorithm",
      "SAS PROC UNIVARIATE": "PCTLDEF=5",
      "R stats": "quantile type=7",
      "Interpretation": "The default algorithms differ."
    },
    {
      "Setting": "SAS-default-compatible quantile algorithm",
      "SAS PROC UNIVARIATE": "PCTLDEF=5",
      "R stats": "quantile type=2",
      "Interpretation": "R documents type 2 as the SAS default counterpart."
    },
    {
      "Setting": "Maximum sample size for Shapiro-Wilk",
      "SAS PROC UNIVARIATE": 2000,
      "R stats": 5000,
      "Interpretation": "Compare nonmissing sample size with the limit documented for each implementation."
    }
  ],
  "sources": [
    {
      "title": "SAS: PROC UNIVARIATE Statement",
      "url": "https://support.sas.com/documentation/cdl/en/procstat/70116/HTML/default/procstat_univariate_syntax01.htm",
      "accessed": "2026-11-16"
    },
    {
      "title": "SAS: OUTPUT Statement",
      "url": "https://support.sas.com/documentation/cdl/en/procstat/70116/HTML/default/procstat_univariate_syntax21.htm",
      "accessed": "2026-11-16"
    },
    {
      "title": "R: Sample Quantiles",
      "url": "https://stat.ethz.ch/R-manual/R-devel/library/stats/html/quantile.html",
      "accessed": "2026-11-16"
    },
    {
      "title": "R: Shapiro-Wilk Normality Test",
      "url": "https://stat.ethz.ch/R-manual/R-devel/library/stats/html/shapiro.test.html",
      "accessed": "2026-11-16"
    }
  ]
}