SAS tutorial: Print a simple listing with SAS

In this tutorial video, you will learn to print a simple listing with Base SAS. You see how to write a PRINT procedure step to display a SAS data set. You also see how to use statements and options to subset observations and variables and enhance the report.   Learn […]

Post a Comment

SAS tutorial: Creating a new variable in SAS

This SAS tutorial video will show you how to create a new variable with Base SAS. During the step-by-step video, you will see exactly how to create and modify numeric and character variables using assignment statements in a DATA step. Watch and learn… To learn more about the steps in […]

Post a Comment

A SAS graph for the Chinese New Year

I like to think that I have a graph for all occasions - Chinese New Year is no exception! ... This year, the Chinese New Year is on Feb 10, 2013. The date varies from year to year, because it's based on the lunar (moon) cycles.  I thought it would […]

Post a Comment

An easy way to find variables in common to data sets

Over the holidays I was having a discussion with my cat, Ms. Trixie Lou. A question that often arises during the first programming class is the following: how do I find the variables that are in common to these two or three data sets? As it turns out, Ms. Trixie […]

Encore! Encore! The SAS Training Roadshow continues

Program update for 2013! The SAS Training Roadshow is back on tour. This year, we’re heading out to six rockin’ cities. We’d love to see you there. Cleveland - St. Louis – Portland - San Jose - Indianapolis - Las Vegas. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ In my previous post, I revealed my top […]

Post a Comment

On the Roadshow again

Program update for 2013! The SAS Training Roadshow is back on tour. This year, we’re heading out to six rockin’ cities. We’d love to see you there. Cleveland - Portland - San Jose - Indianapolis ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ As I prepare for my stint on the SAS Programming "Roadshow," it occurs to […]

Post a Comment

Three must have SAS freebies

"I want everything!" said a student when I paused to ask my SAS Programming 1 class what else they wanted to learn. Seriously! You want me to share everything I know in three days?  The student came back with... "Well okay, what about those freebies you mentioned?" That’s how it all […]

Post a Comment

Selecting the Second Duplicate Observation

  Dear Miss SAS Answers, I have read through a few Dear Miss SAS Answers blog posts, but I cannot seem to find what I am looking for. I need to extract only the second duplicate from a whole list of duplicates per account number. Is there a way to […]

Post a Comment

Jedi SAS Tricks: FUNC(y) Formats

In the previous episode, we built our own custom SAS function - a masterful trick indeed. Gordon Keener, a developer here at SAS, responded exuberantly "You think that's cool? - try THIS!" and proceeded to demonstrate prodigious powers with the SAS by using a custom function in a custom informat […]

Post a Comment

Jedi SAS Tricks – Roll Your Own Function

A SAS user (who lives in the the US) emailed me a question about SAS functions. He was reading UTC (Coordinated Universal Time) datetime values from server logs, and to make future calculations and comparisons easier, he wanted to transform the value to local datetime.  The INTNX() function worked great, but […]

Post a Comment