{
  "name": "PROC MEANS and PROC SUMMARY options and output variables, as documented by SAS",
  "description": "Options and automatic output variables shared by PROC MEANS and PROC SUMMARY, with the effect each has as stated in SAS documentation pages for the MEANS and SUMMARY procedures.",
  "page": "https://casrai.org/guides/proc-summary-sas",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-17T11:34:20Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Option or variable",
      "unit": "",
      "description": ""
    },
    {
      "name": "Where it appears",
      "unit": "",
      "description": ""
    },
    {
      "name": "Documented effect",
      "unit": "",
      "description": ""
    },
    {
      "name": "Source",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Option or variable": "NWAY",
      "Where it appears": "PROC statement option",
      "Documented effect": "Limits the output data set to observations with the highest _TYPE_ and _WAY_ values; ignored with a TYPES or WAYS statement",
      "Source": "SAS MEANS Procedure (9.3)"
    },
    {
      "Option or variable": "PRINT | NOPRINT",
      "Where it appears": "PROC statement option",
      "Documented effect": "PRINT is the PROC MEANS default; NOPRINT suppresses all displayed output",
      "Source": "SAS MEANS Procedure (9.3)"
    },
    {
      "Option or variable": "MISSING",
      "Where it appears": "CLASS-related option",
      "Documented effect": "Treats missing class values as valid levels instead of excluding the observation; special missing values A-Z and _ are separate levels",
      "Source": "SAS MEANS Procedure (9.3)"
    },
    {
      "Option or variable": "DESCENDTYPES",
      "Where it appears": "PROC statement option",
      "Documented effect": "Sorts by descending _TYPE_ so the overall total (_TYPE_=0) appears last in each BY group",
      "Source": "SAS MEANS Procedure (9.3)"
    },
    {
      "Option or variable": "CHARTYPE",
      "Where it appears": "PROC statement option",
      "Documented effect": "Stores _TYPE_ as a character string; _TYPE_ becomes character automatically with more than 32 class variables",
      "Source": "SAS MEANS Procedure (9.3)"
    },
    {
      "Option or variable": "_TYPE_",
      "Where it appears": "Output variable",
      "Documented effect": "Identifies the level of class-variable combination for the observation",
      "Source": "SAS MEANS Procedure (9.3)"
    },
    {
      "Option or variable": "_WAY_",
      "Where it appears": "Output variable",
      "Documented effect": "Stores the number of class variables combined in the observation",
      "Source": "SAS MEANS example (9.3)"
    },
    {
      "Option or variable": "_FREQ_",
      "Where it appears": "Output variable",
      "Documented effect": "Corresponds to the N Obs column in printed output",
      "Source": "SAS MEANS Procedure (9.3)"
    },
    {
      "Option or variable": "VARCHAR variables",
      "Where it appears": "Variable type",
      "Documented effect": "Not supported in PROC SUMMARY",
      "Source": "SAS 9.4 SUMMARY Procedure"
    },
    {
      "Option or variable": "Default display",
      "Where it appears": "PROC SUMMARY (SAS 8 text)",
      "Documented effect": "By default, PROC SUMMARY does not display output",
      "Source": "SAS 8 SUMMARY Procedure"
    }
  ],
  "sources": [
    {
      "title": "SAS Base SAS 9.3 Procedures Guide: MEANS Procedure",
      "url": "https://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/n1qnc9bddfvhzqn105kqitnf29cp.htm",
      "accessed": "2026-11-17"
    },
    {
      "title": "SAS Base SAS 9.3 Procedures Guide: MEANS procedure example",
      "url": "https://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/p0kkolm60067f8n11lhdu5ecjhs7.htm",
      "accessed": "2026-11-17"
    },
    {
      "title": "SAS 9.4 SUMMARY Procedure",
      "url": "https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p0jvbbqkt0gs2cn1lo4zndbqs1pe.htm",
      "accessed": "2026-11-17"
    },
    {
      "title": "SAS 8 documentation: The SUMMARY Procedure",
      "url": "https://sfu.ca/sasdoc/sashtml/proc/z22view.htm",
      "accessed": "2026-11-17"
    }
  ]
}