An All-in-One Resource for Using SAS and R to Carry out Common Tasks
Provides a path between languages that is easier than reading complete documentation
SAS and R: Data Management, Statistical Analysis, and Graphics presents an easy way to learn how to perform an analytical task in both SAS and R, without having to navigate through the extensive, idiosyncratic, and sometimes unwieldy software documentation. The book covers many common tasks, such as data management, descriptive summaries, inferential procedures, regression analysis, and the creation of graphics, along with more complex applications.
Takes an innovative, easy-to-understand, dictionary-like approach
Through the extensive indexing, cross-referencing, and worked examples in this text, users can directly find and implement the material they need. The book enables easier mobility between the two systems: SAS users can look up tasks in the SAS index and then find the associated R code while R users can benefit from the R index in a similar manner. Demonstrating the code in action and facilitating exploration, the authors present extensive example analyses that employ a single data set from the HELP study. They offer the data sets and code for download on the book’s website.
"By placing the R and SAS solutions together and by covering a vast array of tasks in one book, Kleinman and Horton have added surprising value and searchability to the information in their book. ... a home run, and it is a book I am grateful to have sitting, dust-free, on my shelf."
―Robert Alan Greevy, Jr, Teaching of Statistics in the Health Sciences, Spring 2013
"Excellent cross-referencing to other topics and end-of-chapter worked examples on the ‘Health evaluation and linkage to primary care’ data set are given with each topic. ... users who are proficient in either of the software packages but with the need to use the other will find this book useful."
―Frances Denny, Journal of the Royal Statistical Society, Series A, 2012
"This book provides a very useful bridge between the two packages ... . A wide range of procedures are covered and the code, which is generally well explained, is available for download from their website. ... this is a very useful book for SAS and R users alike with an excellent overview of a wide range of data management options, statistical analyses and graphics. ... full of useful tips and tricks."
―Robin Turner, Statistics in Medicine, 2012
"It is clearly written and code is appropriately highlighted to facilitate readability. ... it is a potentially useful reference material for experienced users of one of the two systems, who need to quickly find how to perform a familiar task in the alternative system."
―Biometrics, 67, September 2011
"It is an excellent text that is designed to translate SAS to R. ... For statisticians with knowledge of both SAS and R programming, this book provides a useful resource to understand the differences between SAS and R codes and can be used for browsing and for finding particular SAS and R functions to perform common tasks. The book will strengthen the analytical abilities of relatively new users of either system by providing them with a concise reference manual and annotated examples executed in both packages. Professional analysts as well as statisticians, epidemiologists and others who are engaged in research or data analysis will find this book very useful. The book is comprehensive and covers an extensive list of statistical techniques from data management to graphics procedures, cross-referencing, indexing and good worked examples in SAS and R at the end of each chapter."
―Significance, July 2011
"As the authors point out in the Introduction, the book functions like an English–French dictionary. The material is organized by task. By looking up a particular task you wish to perform, R and SAS code are presented and briefly explained. ... It is easy to find the section in the text which gives several ways to do this in both SAS and R. ... Because the authors often present alternative ways to do a task, this book can be a great source of diverse and elegant solutions even to experienced users. Each task is cross-referenced to other tasks. ... The book has a comprehensive website containing the code, datasets, a FAQ, blog, and errata list with a link to report new errors. ... The end of the book is very useful, where there are good introductions to SAS and R, as well as separate subject, SAS, and R indices. These indices are invaluable for finding a topic when you are unsure of exactly how to phrase it. ... there is great breadth and scope of the material in this book. ... If you use both SAS and R on a regular basis, get this book. If you know one of the packages and are learning the other ... get this book, too."
―Charles E. Heckler, Technometrics, May 2011
"... a convenient reference text to quickly learn by example how to perform common tasks in both software packages. ... the book provides a powerful starting point to a wide variety of statistical techniques available in SAS and R. ... it facilitates a translation between SAS and R, without getting overly detailed or technical. It is mainly useful as a starting point for those who already know either R or SAS, and want to learn the other language, without going over extensive manuals or introductory texts."
―Journal of Statistical Software, January 2011, Volume 37