Tag: sas press

How to create a Napoleon plot with Graph Template Language (GTL)

Do you need to see how long patients have been treated for? Would you like to know if a patient’s dose has changed, or if the patient experienced any dose interruptions? If so, you can use a Napoleon plot, also known as a swimmer plot, in conjunction with your exposure […]

How to create a Napoleon plot with Graph Template Language (GTL) was published on SAS Users.

Thomas Bayes’ theorem and “inverse probability”

The following is an excerpt from Cautionary Tales in Designed Experiments by David Salsburg. This book is available to download for free from SAS Press. The book aims to explain statistical design of experiments (DOE) to readers with minimal mathematical knowledge and skills. In this excerpt, you will learn about […]

Thomas Bayes’ theorem and “inverse probability” was published on SAS Users.

Build a decision tree in SAS

Decision trees are a fundamental machine learning technique that every data scientist should know. Luckily, the construction and implementation of decision trees in SAS is straightforward and easy to produce. There are simply three sections to review for the development of decision trees: Data Tree development Model evaluation Data The […]

Build a decision tree in SAS was published on SAS Users.

Analytics for everyone with SAS Viya

Analytics is playing an increasingly strategic role in the ongoing digital transformation of organizations today. However, to succeed and scale your digital transformation efforts, it is critical to enable analytics skills at all tiers of your organization. In a recent blog post covering 4 principles of analytics you cannot ignore, […]

Analytics for everyone with SAS Viya was published on SAS Users.

Learning to think like SAS

The most fundamental concept that students learning introductory SAS programming must master is how SAS handles data. This might seem like an obvious statement, but it is often overlooked by students in their rush to produce code that works. I often tell my class to step back for a moment […]

Learning to think like SAS was published on SAS Users.

Adjusting outliers with the 1.5 IQR rule

In my new book, End-to-End Data Science with SAS: A Hands-On Programming Guide, I use the 1.5 IQR rule to adjust multiple variables.  This program utilizes a macro that loops through a list of variables to make the necessary adjustments and creates an output data set. One of the most […]

Adjusting outliers with the 1.5 IQR rule was published on SAS Users.

What’s wrong with this code?

Whether you enjoy debugging or hate it, for programmers, debugging is a fact of life. It’s easy to misspell a keyword, scramble your array subscripts, or (heaven forbid!) forget a semicolon. That’s why we include a chapter on debugging in The Little SAS® Book and its companion book, Exercises and […]

What’s wrong with this code? was published on SAS Users.

Accessing Excel files using LIBNAME XLSX

If you have been using SAS for long, you have probably noticed that there is generally more than one way to do anything. (For an example, see my co-author Lora Delwiche’s blog about PROC SQL.) The Little SAS Book has long covered reading and writing Microsoft Excel files with the […]

Accessing Excel files using LIBNAME XLSX was published on SAS Users.