VAR Statement

STYLE=

This option specifies the style to use for the analysis variable name headings when producing PROC TABULATE output. This option is used with ODS. For more details about this option, see Using the Output Delivery System.

WEIGHT=weight-variable

This option specifies a numeric variable whose values weight the values of the variables that are specified in the VAR statement. The variable does not have to be an integer. If the value of the weight variable is

Weight Value
PROC TABULATE Response
0
Counts the observation in the total number of observations
Less than 0
Converts the value to zero and counts the observation in the total number of observations
Missing
Excludes the observation
To exclude ...

Get PROC TABULATE by Example, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.