description 88
unexpected end of record 85
storage space, defining for variables 114
storage space, saving
SCAN function 139
treating numbers as variables 142
STORE command 766
STORM.TORNADO data set 714, 726,
821
STYLE option
PROC PRINT statement 470
style templates 667
STYLE= option
in dimension expressions 493
ODS PRINTER statement 667
styles, summary table 492
SUBGROUP= option
BLOCK statement 587
HBAR statement 587
subgroups within ranges 570
VBAR statement 587
subkeys, SAS Registry 798
SUBMIT command 776
subsetting observations
See observations, subsetting
subtotal 450
subtraction 212
SUM function
description 127
summing numbers 123
sum statement
description 212
running totals 201
SUM statement
PRINT procedure 470
totals in detail reports 448
SUMBY statement
computing group totals 455
PRINT procedure 471
SUMLABEL option
PROC PRINT statement 470
SUMMARIZE option
BREAK statement 524
RBREAK statement 526
summary lines 522
summary reports 501
See also reports
creating 510, 521
definition 503
summary tables 474
analysis variables, specifying 477
class variables, missing values 478
class variables, ordering 495
class variables, specifying 477
combining elements 485, 488
concatenating elements 488
cross-tabulation 474, 485
crossing elements 474, 485
defining structure of 477
definition 474
descriptive statistics, calculating 487
dimension expressions 477
formatting output 487
input data sets, specifying 477
labels, defining 491
labels, single for multiple elements 489
missing values 478
output destination 492
reducing code 489
reporting on subgroups 485
styles 492
summaries for all variables 490
summary tables, creating
hierarchical tables 485
multiple tables per PROC TABULATE
step 484
one-dimensional 480
three-dimensional 482
two-dimensional 481
summing numbers 123, 127
See also numeric variables, calculations
on
See also observations, calculations on
summing numeric variables 448
SUMVAR= option
BLOCK statement 587
charting means 572
HBAR statement 587
PIE statement 587
VBAR statement 587
SUPPRESS option 524
SWAP command
DATA step debugger 835
SYNCOLOR command 764
SYNCONFIG command 764
SYNCONFIG statement 807
syntax checking 400
syntax errors
diagnosing 402
SYSDATE9 automatic macro variable
dates in detail reports 465
description 471
system notes, suppressing logging of 383,
384
T
table definitions (ODS)
See also Templates window
definition 10
TABLE statement
TABULATE procedure 682
Index 887

Get Step-by-Step Programming with Base SAS 9.4, Second Edition, 2nd 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.