Seeing the FREQ procedure's one-way tables in a new light

PROC FREQ is often the first choice when you want to generate basic frequency counts, but it is the last choice when it is compared to other statistical reporting procedures. People sometimes consider PROC FREQ last because they think they have little or no control over the appearance of the […]

Post a Comment

Solutions for missing DATA step features within DS2

The DS2 programming language gives you the following powerful capabilities: The precision that results from using the new supported data types Access to the new expressions, write methods, and packages available in the DS2 syntax Ability to execute SAS Federated Query Language (FedSQL) from within the DS2 program Ability to […]

Post a Comment

Using a pipe to return the output of an operating system command to SAS® software

Being able to access information about your operating system from within SAS can be incredibly useful. For example, if you have a directory that contains an unknown number of CSV files that you would like to read into SAS, you certainly would not want to have to write an IMPORT […]

Post a Comment

Reasons to love PROC DS2

PROC DS2 (DS2) is a new SAS programming language that extends the power of the traditional DATA step. Some customers have wondered if this new functionality is simply the “DATA step on steroids,” meaning that we simply added more robust functionality so that it’s a replacement for the DATA step. […]

Post a Comment

New year refresher on reshaping data

As support analysts in the SAS Technical Support division, we answer many phone calls from SAS customers.  As members of the SAS Foundation team, we get questions that vary significantly in content from all of the areas that we support.  We offer coding tips and suggestions as well as point […]

Post a Comment

Will indexing my SAS data sets help?

Will indexing my SAS data sets help? This is one of the most frequent questions I hear in SAS Technical Support.  The response is always the same: “Maybe.  Tell me about your data, and what you are doing with it.”  Here is a primer on effective indexing. Indexing can improve […]

Post a Comment

How to increase the resolution of your SAS graphics output

If your graphics look a little on the fuzzy or blurry side, there are lots of ways to increase the resolution of your SAS graphics output. Let’s go over some of these methods. Before increasing the resolution of your graphics output, check to see what you are creating your graphics […]

Post a Comment

PROC SGPLOT: It isn’t just for plots anymore

A coworker was recently in need of some simple graphics to include in a slide show to accompany her SAS Global Forum paper. After listening to what she wanted, I decided that I could use PROC SGPLOT to create those images for her. The first image was a set of stacked […]

Post a Comment

Specifying Unicode values and colors easier with PROC SGPLOT and GTL

Many users of ODS Graphics will be excited to learn that, beginning with SAS® 9.4 TS1M3, SG procedures are able to recognize formatted values that contain Unicode values. One benefit of this is that it allows you to include, without using annotation, special symbols such as greater-than-or-equal-to signs or Greek […]

Post a Comment

Creating Quantile Groups

SAS users often ask me about the best way to group or bin their data in preparation for additional analysis. Depending on the need, there are several ways to achieve this using SAS procedures or other SAS processing. Creating user-defined formats with PROC FORMAT or using Data step processing are […]

Post a Comment