All Posts

If you've ever tried to use PROC FREQ to create a frequency table of two character variables, you know that by default the categories for each variable are displayed in alphabetical order. A different order is sometimes more useful. For example, consider the following two-way table for the smoking status
I am happy to report that my new book "Getting Started with the Graph Template Language in SAS" is now shipping. A colleague suggest it would be useful to post some articles with the same theme of "Getting started". I thought that was a great idea, and decided to start a new

Stick to the basics. Did you ever get that advice? Two of the papers at MidWest SAS Users Group 2013 used that most fundamental of SAS processing concepts—the Program Data Vector—to show why users might encounter unexpected errors in their DATA step programs. In The Secret Life of DATA STEP,

In SAS Grid Manager environments, SAS administrators must often set up separate configurations based on a mix of requirements for departments, client applications and user roles. To accomplish this in previous SAS releases, administrators must define multiple SAS Application Server contexts, each with its own grid server definition and associated options.

This graph certainly makes it clear! I can see right through your lies! Clearly, you know what you're talking about! We need more transparency in our organization! What was that all about, you might ask?!? ... I was just getting all the obvious puns out of the way, so I

Ginger is one of those spices that is good in anything! Sweet or savory. Ginger has a sweet, pungent spicy kick to it. You can find ginger fresh in the produce section of most stores, or as the dried ground spice. But, if you’ve never cooked with fresh ginger, you

A challenge for statistical programmers is getting data into the right form for analysis. For graphing or analyzing data, sometimes the "wide format" (each subject is represented by one row and many variables) is required, but other times the "long format" (observations for each subject span multiple rows) is more

SAS/IML programmers know that the VECDIAG matrix can be used to extract the diagonal elements of a matrix. For example, the following statements extract the diagonal of a 3 x 3 matrix: proc iml; m = {1 2 3, 4 5 6, 7 8 9}; v = vecdiag(m); /* v = {1,5,9}
Last week Bruno asked about creating a Schedule Chart using SG Procedures. To me, such projects are very interesting and challenging...How much mileage can we get out of the current set of SGPLOT procedure features to create a visual that was not part of the original requirements? The clear choice for

The other day I showed how to check your data cardinality by using a simple SAS program. I also promised to provide a custom task that makes the process even easier within SAS Enterprise Guide. Today I'm delivering on that promise. I've just added the custom task to the support.sas.com

We are in the final countdown to the Analytics 2013 Conference to be held next week, October 21-22 at the Hyatt Regency Orlando. There is a power-packed agenda for the conference, featuring four very strong keynote presentations from Dr. Jim Goodnight, CEO of SAS; Ed Gaffin, Walt Disney World; Will Hakes,

This article is about rotating matrices. No, I don't mean "rotation matrices," I mean rotating matrices. As in turning a matrix 90 degrees in a clockwise or counterclockwise direction. I was reading a program written in MATLAB in which the programmer used a MATLAB function called ROT90, which rotates a

Although the NSA and news media have given metadata a bad name in the popular press, the fact remains that information about the nature of your data is extremely valuable. For example, I posted an article yesterday about data cardinality. Cardinality measures the uniqueness of values in a variable. Cardinality

As you've probably guessed, I'm a "visual" person - I like to see things (in a chart/graph/map) rather than just reading about them (in a data table and summary statistic). Don't get me wrong - I'm a big fan of statistics and analytics -- but I'm an even bigger fan of

In meinem Blogbeitrag zum Reisemarkt habe ich rhetorisch gefragt, wann Sie das letzte Mal in einer Filiale des Reiseanbieters waren. Nun stelle ich die gleiche Frage: Wann haben Sie das letzte Mal ihre Bank besucht …?