O'Reilly logo

Step-by-Step Programming with Base SAS 9.4 by SAS Institute

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

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 ...

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