O'Reilly logo

PROC TABULATE by Example, Second Edition by Lauren Haworth Lake, Julie McKnight

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Available Statistics

The following statistics are available for class variables; all other statistics require an analysis variable (listed in a VAR statement):
  • COLPCTN
  • N
  • NMISS
  • PAGEPCTN
  • PCTN
  • REPPCTN
  • ROWPCTN
These statistics, the formulas that are used to calculate them, and their data requirements are discussed in the Appendix "Keywords and Formulas" in Base SAS Procedures Guide.
Use the following keywords to request statistics in the TABLE statement or to specify statistic keywords in the KEYWORD or KEYLABEL statement. For some examples that use quantiles, see Quantile Statistics Examples.
Note: If a variable name (class or analysis) and a statistic name are the same, then enclose the statistic name in single quotation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required