Statistical Programming with SAS/IML Software


Book Description

SAS/IML software is a powerful tool for data analysts because it enables implementation of statistical algorithms that are not available in any SAS procedure. Rick Wicklin's Statistical Programming with SAS/IML Software is the first book to provide a comprehensive description of the software and how to use it. He presents tips and techniques that enable you to use the IML procedure and the SAS/IML Studio application efficiently. In addition to providing a comprehensive introduction to the software, the book also shows how to create and modify statistical graphs, call SAS procedures and R functions from a SAS/IML program, and implement such modern statistical techniques as simulations and bootstrap methods in the SAS/IML language. Written for data analysts working in all industries, graduate students, and consultants, Statistical Programming with SAS/IML Software includes numerous code snippets and more than 100 graphs. This book is part of the SAS Press program.




SAS Programming for R Users


Book Description

SAS Programming for R Users, based on the free SAS Education course of the same name, is designed for experienced R users who want to transfer their programming skills to SAS. Emphasis is on programming and not statistical theory or interpretation. You will learn how to write programs in SAS that replicate familiar functions and capabilities in R. This book covers a wide range of topics including the basics of the SAS programming language, how to import data, how to create new variables, random number generation, linear modeling, Interactive Matrix Language (IML), and many other SAS procedures. This book also explains how to write R code directly in the SAS code editor for seamless integration between the two tools. Exercises are provided at the end of each chapter so that you can test your knowledge and practice your programming skills.




Learning SAS by Example


Book Description

Learn to program SAS by example! Learning SAS by Example, A Programmer’s Guide, Second Edition, teaches SAS programming from very basic concepts to more advanced topics. Because most programmers prefer examples rather than reference-type syntax, this book uses short examples to explain each topic. The second edition has brought this classic book on SAS programming up to the latest SAS version, with new chapters that cover topics such as PROC SGPLOT and Perl regular expressions. This book belongs on the shelf (or e-book reader) of anyone who programs in SAS, from those with little programming experience who want to learn SAS to intermediate and even advanced SAS programmers who want to learn new techniques or identify new ways to accomplish existing tasks. In an instructive and conversational tone, author Ron Cody clearly explains each programming technique and then illustrates it with one or more real-life examples, followed by a detailed description of how the program works. The text is divided into four major sections: Getting Started, DATA Step Processing, Presenting and Summarizing Your Data, and Advanced Topics. Subjects addressed include Reading data from external sources Learning details of DATA step programming Subsetting and combining SAS data sets Understanding SAS functions and working with arrays Creating reports with PROC REPORT and PROC TABULATE Getting started with the SAS macro language Leveraging PROC SQL Generating high-quality graphics Using advanced features of user-defined formats and informats Restructuring SAS data sets Working with multiple observations per subject Getting started with Perl regular expressions You can test your knowledge and hone your skills by solving the problems at the end of each chapter.




SAS/IML 9. 3 User's Guide


Book Description

Annotation Documents SAS/IML software, which provides a flexible programming language that enables novice or experienced programmers to perform data and matrix manipulation, statistical analysis, numerical analysis, and nonlinear optimization. SAS/IML software offers a rich, interactive programming language with an extensive library of subroutines and also enables you to create your own customized function modules. New features in SAS/IML 9.3 include the ability to submit SAS statements and to call functions in the R statistical language from within the IML procedure. Also new are a suite of functions and subroutines for data analysis.




R for SAS and SPSS Users


Book Description

R is a powerful and free software system for data analysis and graphics, with over 5,000 add-on packages available. This book introduces R using SAS and SPSS terms with which you are already familiar. It demonstrates which of the add-on packages are most like SAS and SPSS and compares them to R's built-in functions. It steps through over 30 programs written in all three packages, comparing and contrasting the packages' differing approaches. The programs and practice datasets are available for download. The glossary defines over 50 R terms using SAS/SPSS jargon and again using R jargon. The table of contents and the index allow you to find equivalent R functions by looking up both SAS statements and SPSS commands. When finished, you will be able to import data, manage and transform it, create publication quality graphics, and perform basic statistical analyses. This new edition has updated programming, an expanded index, and even more statistical methods covered in over 25 new sections.




SAS/ETS User's Guide


Book Description




Simulating Data with SAS


Book Description

Data simulation is a fundamental technique in statistical programming and research. Rick Wicklin's Simulating Data with SAS brings together the most useful algorithms and the best programming techniques for efficient data simulation in an accessible how-to book for practicing statisticians and statistical programmers. This book discusses in detail how to simulate data from common univariate and multivariate distributions, and how to use simulation to evaluate statistical techniques. It also covers simulating correlated data, data for regression models, spatial data, and data with given moments. It provides tips and techniques for beginning programmers, and offers libraries of functions for advanced practitioners. As the first book devoted to simulating data across a range of statistical applications, Simulating Data with SAS is an essential tool for programmers, analysts, researchers, and students who use SAS software. This book is part of the SAS Press program.




SAS and R


Book Description

An Up-to-Date, All-in-One Resource for Using SAS and R to Perform Frequent Tasks The first edition of this popular guide provided a path between SAS and R using an easy-to-understand, dictionary-like approach. Retaining the same accessible format, SAS and R: Data Management, Statistical Analysis, and Graphics, Second Edition explains how to easily 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 graphics, along with more complex applications. New to the Second Edition This edition now covers RStudio, a powerful and easy-to-use interface for R. It incorporates a number of additional topics, including using application program interfaces (APIs), accessing data through database management systems, using reproducible analysis tools, and statistical analysis with Markov chain Monte Carlo (MCMC) methods and finite mixture models. It also includes extended examples of simulations and many new examples. Enables Easy Mobility between the Two Systems Through the extensive indexing and cross-referencing, users can directly find and implement the material they need. 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. Numerous example analyses demonstrate the code in action and facilitate further exploration. The datasets and code are available for download on the book’s website.




Time-Varying Effect Modeling for the Behavioral, Social, and Health Sciences


Book Description

This book is the first to introduce applied behavioral, social, and health sciences researchers to a new analytic method, the time-varying effect model (TVEM). It details how TVEM may be used to advance research on developmental and dynamic processes by examining how associations between variables change across time. The book describes how TVEM is a direct and intuitive extension of standard linear regression; whereas standard linear regression coefficients are static estimates that do not change with time, TVEM coefficients are allowed to change as continuous functions of real time, including developmental age, historical time, time of day, days since an event, and so forth. The book introduces readers to new research questions that can be addressed by applying TVEM in their research. Readers gain the practical skills necessary for specifying a wide variety of time-varying effect models, including those with continuous, binary, and count outcomes. The book presents technical details of TVEM estimation and three novel empirical studies focused on developmental questions using TVEM to estimate age-varying effects, historical shifts in behavior and attitudes, and real-time changes across days relative to an event. The volume provides a walkthrough of the process for conducting each of these studies, presenting decisions that were made, and offering sufficient detail so that readers may embark on similar studies in their own research. The book concludes with comments about additional uses of TVEM in applied research as well as software considerations and future directions. Throughout the book, proper interpretation of the output provided by TVEM is emphasized. Time-Varying Effect Modeling for the Behavioral, Social, and Health Sciences is an essential resource for researchers, clinicians/practitioners as well as graduate students in developmental psychology, public health, statistics and methodology for the social, behavioral, developmental, and public health sciences.




A Handbook of Statistical Graphics Using SAS ODS


Book Description

Easily Use SAS to Produce Your Graphics Diagrams, plots, and other types of graphics are indispensable components in nearly all phases of statistical analysis, from the initial assessment of the data to the selection of appropriate statistical models to the diagnosis of the chosen models once they have been fitted to the data. Harnessing the full graphics capabilities of SAS, A Handbook of Statistical Graphics Using SAS ODS covers essential graphical methods needed in every statistician’s toolkit. It explains how to implement the methods using SAS 9.4. The handbook shows how to use SAS to create many types of statistical graphics for exploring data and diagnosing fitted models. It uses SAS’s newer ODS graphics throughout as this system offers a number of advantages, including ease of use, high quality of results, consistent appearance, and convenient semiautomatic graphs from the statistical procedures. Each chapter deals graphically with several sets of example data from a wide variety of areas, such as epidemiology, medicine, and psychology. These examples illustrate the use of graphic displays to give an overview of data, to suggest possible hypotheses for testing new data, and to interpret fitted statistical models. The SAS programs and data sets are available online.