PROC REPORT will not compute MODE when a weight variable is
active. Instead, try using PROC UNIVARIATE when MODE needs to
be computed and a weight variable is active.
Tip
When you use the WEIGHT statement, consider which value of the
VARDEF= option is appropriate. See VARDEF= on page 1543 and the
calculation of weighted statistics in “Keywords and Formulas” on page
1998 for more information.
Details
Weight Information Is Not Saved
When you store a report definition, PROC REPORT does not store the WEIGHT
statement.
Statistics That Are Available in PROC REPORT
Use the following keywords to request statistics in the TABLE statement or to specify ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.