Automotive Holiday Deals Books Gift Guide Books Gift Guide Shop Men's Athletic Shoes Learn more nav_sap_SWP_6M_fly_beacon David Bowie egg_2015 All-New Amazon Fire TV Beauty Deals Gifts Under $50 Amazon Gift Card Offer minions minions minions  Amazon Echo Starting at $84.99 Kindle Black Friday Deals Outdoor Deals on HTL

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your email address or mobile phone number.

Buy Used
Condition: Used: Very Good
Comment: Book is in Very Good Condition. No notation or highlights. All pages are clean, and binding is tight. Book shows very minor shelf wear. Fast Amazon shipping plus a hassle free return policy means your satisfaction is guaranteed. Tracking number provided in your Amazon account with every order.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

SAS Functions by Example Paperback – January 30, 2004

6 customer reviews

See all 2 formats and editions Hide other formats and editions
New from Used from
"Please retry"
$25.85 $18.44

Best Books of the Year So Far
Looking for something great to read? Browse our editors' picks for 2015's Best Books of the Year in fiction, nonfiction, mysteries, children's books, and much more.

Editorial Reviews


Ron Cody makes functions, both old and new, easy to understand. He starts with the purpose of a function and follows up with a short SAS program to display how and when it can be used. The format used in this handbook makes finding a particular function and learning its use by example easy. Similar functions and Call routines are treated as a group. First there is an explanation of the appropriate use for each. Then a sequence of sample programs demonstrates how they differ. Dates are often key variables in the programming world. Date and time functions are covered in detail and excellent examples for each function are included. This is truly a handbook to have handy, when you want to choose right function for a task and use it correctly. --Karol Katz, Dept. of Epidemiology and Public Health, Yale University

I was particularly impressed with two areas of this book: The examples pose problems that every programmer has faced and the solutions address those problems using both traditional approaches and novel strategies. Programmers in their early stages often don't recognize the benefits of using functions. Ron has presented the examples in a way that allows programmers to consider functions from the angle, 'Ok I've got this same problem. How can functions help me treat it?' The text explanation with accompanying code makes it a snap to apply the techniques to your own programs. The examples don't let you assume what the outcome will be and Ron alerts you to any side-effects or unexpected results. Programmers in later stages of development often rely on the same traditional bag of functions, supplemented with lots of work-around code. These professionals will find relief using 'alternative therapies' like Perl expressions and new v9 functions presented in the book. In the old days, data was usually entered by trained personnel using set protocols. Today programs need to be able to accept data entered by untrained users from web-forms. This has resulted in a plague of bad data. Ron's book provides a function Rx for almost every conceivable data entry malady. I've been programming in SAS for about 15 years and found myself saying over & over again 'I didn't know about that function, I can use that!' --Jeanne Spicer, Social Science Research Institute, Penn State University

Ron Cody has done a great job of putting together a SAS Functions "cookbook" that will be a big time saver when trying to easily use and transform your data. There are examples for every function and each is well-explained and easy- to-follow. The author is well experienced in many types of data and programming languages. For example, in chapter 2 he concentrates on Perl expressions and chapter 12 is devoted to trigonometric functions. This book would appeal to beginning and seasoned SAS programmers, as it is very difficult to remember how to use every function you'd need to complete assignments. Just like it would be very hard to remember the details of all your favorite recipes, this book is a similar reference. --Diane Marie Goldschmidt, Anthem Blue Cross Blue Shield of CT

About the Author

Ron Cody, Ed.D., is a professor and researcher at the Robert Wood Johnson Medical School in New Jersey as well as a national instructor for SAS Institute Inc. A SAS user since 1977, Ron has the extensive knowledge and innovative style that have made him a popular presenter at local, regional, and national SAS conferences. He has authored or coauthored numerous books such as SAS Programming by Example; Applied Statistics and the SAS Programming Language, Fourth Edition; The SAS Workbook; The SAS Workbook Solutions; Cody's Data Cleaning Techniques Using SAS Software and Longitudinal Data and SAS: A Programmer's Guide as well as countless articles in medical and scientific journals.

Hero Quick Promo
Holiday Deals in Kindle Books
Save up to 85% on more than 1,000 Kindle Books. These deals are valid until November 30, 2015. Learn more

Product Details

  • Paperback: 440 pages
  • Publisher: SAS Publishing (January 30, 2004)
  • Language: English
  • ISBN-10: 1590473787
  • ISBN-13: 978-1590473788
  • Product Dimensions: 7.5 x 1 x 9 inches
  • Shipping Weight: 1.9 pounds
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Best Sellers Rank: #2,272,195 in Books (See Top 100 in Books)

More About the Author

Dr. Ron Cody was a Professor at the Robert Wood Johnson Medical School in New Jersey for 26 years and is now a writer and contract instructor for SAS Institute. He has been a SAS user since the late 70's and is the author of ten books on SAS, the most recent being Introduction of SAS University Edition. Ron has presented invited papers for numerous local, regional, and national SAS conferences.

Customer Reviews

Most Helpful Customer Reviews

6 of 7 people found the following review helpful By C. Ang VINE VOICE on March 25, 2006
Format: Paperback Verified Purchase
I used this book the first few hours that I received it. This is not a stand alone book for those that want to learn SAS functions. I think this text is best suited for people who use SAS regularly and needs a handy reference while programming. Skimming through the book would also provide the reader with an understanding of what functions SAS is capable of doing. However, it is highly likely that you will not use all of the programs, most of the programs are pretty useful especially to those that are required to manipulate data in SAS.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
18 of 26 people found the following review helpful By J. Wang on October 9, 2005
Format: Paperback Verified Purchase
This may be a good reference book if your entire SAS experiences have been or will be dealing with text characters without any messy computation or you have never and will never write your own code based on new algorithms like what we are encountering everyday in academic under the supervision of innovative professors, or if your entire job is exclusive to handle one or two SAS procedures.

If your job or your mind is not so boring, then this book is probably NOT a good reference. A simple example, after you read the whole book, you DO NOT know how to find the probability, say P(X<=x), of a particular distribution X given x, nor could you know how to find a quartile. Even though this book emphasizes on functions dealing with characters, you will not know from this book how to put together two character variables. The author put a whole chapter telling you how to generate Normal and Uniform random variables while didn't bother to enumerate the ways to generate other distributions. You do not know how to generate a binomial or a Poisson or a Gamma or a Beta or a Chi-square ... I can hardly imagine what these SAS experts are doing everyday with SAS? We do not need a book or a whole chapter of a book to learn how to create Normal or Uniform distribution. A Google search gives more comprehensive results than Mr. Cody's whole chapter. What we need for a reference book is a complete list of all available SAS random variable generating functions which takes less than one page, which will save readers a great deal of time on no-clue searching, which is exactly what a reference book all about, and which unfortunately is exactly what this book has failed to do. A GOOD reference book should go even more beyond.
Read more ›
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
1 of 1 people found the following review helpful By Amazon Customer on December 7, 2005
Format: Paperback
This review covers only how well the book helps the user manage the product under question. Many people learn SAS on the job rather than for formal education; this book meets that audience's needs quite nicely.

This book does well what is supposed to do - be a handy desk reference for SAS functions, according to the functions that exist in SAS9. Part of the author's mission is to bring users up to date on the new functions so that they do not labor with a horse-driven carriage when the equivalent of the automobile has arrived. This is particularly true for the new (as of 2005) string and regular expression functionality provided in SAS9.

Furthermore, By providing good usage examples, he also illustrates not only the definitions of the various functions, but also helps the user select the right one for the job at hand. It's a great book to have at one's side while using SAS.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse