The YEAR_SALES Data Set

DATA Step to Create the YEAR_SALES Data Set

data year_sales; input Month $ Quarter $ SalesRep $14. Type $ Units Price @@; AmountSold=Units*price; datalines; 01 1 Hollingsworth Deluxe 260 49.50 01 1 Garcia Standard 41 30.97 01 1 Hollingsworth Standard 330 30.97 01 1 Jensen Standard 110 30.97 01 1 Garcia Deluxe 715 49.50 01 1 Jensen Standard 675 30.97 02 1 Garcia Standard 2045 30.97 02 1 Garcia Deluxe 10 49.50 02 1 Garcia Standard 40 30.97 02 1 Hollingsworth Standard 1030 30.97 02 1 Jensen Standard 153 30.97 02 1 Garcia Standard 98 30.97 03 1 Hollingsworth Standard 125 30.97 03 1 Jensen Standard 154 30.97 03 1 Garcia Standard 118 30.97 03 1 Hollingsworth Standard 25 30.97 03 1 Jensen Standard 525 30.97 03 1 Garcia Standard ...

Get Step-by-Step Programming with Base SAS 9.4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.