CARSALES Data Set

DATA Step That Creates the CARSALES Data Set

data carsales;
   length name $ 18;
   input name $ month numsold amtsold @@;
datalines;
Langlois-Peele 1 3 105000 Langlois-Peele 2 2  60000
Langlois-Peele 3 1  52000 Langlois-Peele 4 4 200000
Langlois-Peele 5 7  310000 Langlois-Peele 6 9  425000
Langlois-Peele 7 3 100000 Langlois-Peele 8 4 160000
Langlois-Peele 9 3 98000 Langlois-Peele 10 8  445000
Langlois-Peele 11 1  62000 Langlois-Peele 12 4 160000
Johnson 1 2  65000 Johnson 2 1  44000
Johnson 3 3  95000 Johnson 4 2  61000
Johnson 5 2  75000 Johnson 6 6  200000
Johnson 7 3 97000 Johnson 8 2  85000
Johnson 9 2 73000 Johnson 10 5 195000
Johnson 11 3 140000 Johnson 12 2 72000
;;;;
Figure A.11. Partial PROC CONTENTS Output of the CARSALES Data Set ...

Get SAS® Guide to Report Writing: Examples, Second 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.