O'Reilly logo

Combining and Modifying SAS® Data Sets: Examples Second Edition by Michele M. Burlew

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

Understanding the Methods for Combining SAS Data Sets

Generally SAS data sets are combined either vertically or horizontally.

  • When combined vertically, you concatenate the data sets one after another, or you interleave observations from the data sets in order by one or more variables. Observations are not combined side-by-side horizontally nor are they overlaid.

  • When combined horizontally, you usually match data sets by the values of key variables in common or by programmatically aligning observations when they do not have variables in common. The observations in the data sets can be aligned side-by-side and data in one data set can be overlaid by data from another.

You can use these methods to combine SAS data sets vertically:

  • concatenating ...

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