Appendix 1: Exercise Solutions

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Section 14.3.6 Quizlette

Several of the chapters in this book contain a section titled “Testing Your Knowledge with Chapter Exercises.” These problems are designed to help you assess your understanding of the material that is contained within that chapter. Some of the exercises require the writing of SAS macros or code, and many of the questions have “solutions” that are included in this appendix.

Many of the solutions to exercises, especially those that require programming, should be considered a solution and not the solution. As the saying goes, “If it can be done one way, in SAS it can be done three ways.” Of course, the cynic then adds, “And the fourth ...

Get Carpenter's Complete Guide to the SAS Macro Language, Third Edition, 3rd Edition now with the O’Reilly learning platform.

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