Example 3.13 Combining and Collapsing Observations Based on a Common Variable When the Transaction Data Set Is Indexed
Reshape a data set by turning related observations into single ones. Match the collapsed observations from this data set with an appropriate observation from another data set based on the value of a key variable that is indexed in the first data set.
|Featured Step||DATA step|
|Featured Step Options and Statements||KEY= option in the SET statement Automatic variable _IORC_ and %SYRC autocall macro program|
Input Data Sets
Data set KIDS_IDS contains identification information ...