Posts Tagged ‘ sas programming ’

What’s Your SAS Interface?

May 12, 2016
By
What’s Your SAS Interface?

These days SAS programmers have more choices than ever before about how to run SAS.  They can use the old Display Manager interface, or SAS Enterprise Guide, or the new kid on the block: SAS Studio.  All of these are included with Base SAS. Once upon a time, the only choices were Display Manager...
Read more »

Tags: , , , , , , ,
Posted in SAS | Comments Off on What’s Your SAS Interface?

What is a DATA step view and why is it important?

May 9, 2016
By
What is a DATA step view and why is it important?

Last week I analyzed 12 million records of taxi cap transactions in New York City. As part of that analysis, I used a DATA step view to create a new variable, which was the ratio of the tip amount to the fare amount. A novice SAS programmer told me that

The post Read more »

Tags: ,
Posted in SAS | Comments Off on What is a DATA step view and why is it important?

Boaty McBoatface is on the run

April 6, 2016
By
Boaty McBoatface is on the run

I know what you're thinking: two "Boaty McBoatface" articles within two weeks? And we're past April Fool's Day? But since I posted my original analysis about the "Name our ship" phenomenon that's happening in the UK right now, a new contender has appeared: Poppy-Mai. The cause of Poppy-Mai, a critically

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Boaty McBoatface is on the run

And it’s Boaty McBoatface by an order of magnitude

March 25, 2016
By
And it’s Boaty McBoatface by an order of magnitude

In a voting contest, is it possible for a huge population to get behind a ridiculous candidate with such force that no other contestant can possibly catch up? The answer is: Yes. Just ask the folks at NERC, the environmental research organization in the UK. They are commissioning a new

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on And it’s Boaty McBoatface by an order of magnitude

Add files to a ZIP archive with FILENAME ZIP

March 4, 2016
By

In previous articles, I've shared tips about how you can work with SAS and ZIP files without requiring an external tool like WinZip, gzip, or 7-Zip. I've covered: How to create ZIP files with ODS PACKAGE ZIP (available since SAS 9.2) How to "unzip" and read ZIP files using FILENAME

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Add files to a ZIP archive with FILENAME ZIP

One-level data set names in SAS are not always stored in WORK

February 29, 2016
By
One-level data set names in SAS are not always stored in WORK

One of the first things SAS programmers learn is that SAS data sets can be specified in two ways. You can use a two-level name such as "sashelp.class" which uses a SAS libref (SASHELP) and a member name (CLASS) to specify the location of the data set. Alternatively, you can

The post Read more »

Tags: ,
Posted in SAS | Comments Off on One-level data set names in SAS are not always stored in WORK

Create dummy variables in SAS

February 22, 2016
By
Create dummy variables in SAS

A dummy variable (also known as indicator variable) is a numeric variable that indicates the presence or absence of some level of a categorical variable. The word "dummy" does not imply that these variables are not smart. Rather, dummy variables serve as a substitute or a proxy for a categorical

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Create dummy variables in SAS

SAS knows it’s a leap year. Do you?

February 19, 2016
By

Leap year questions come up all of the time in computing, but if there is any true season for it, it's now. The end of February is approaching and developers wonder: does my process know that it's a leap year, and will it behave properly? People often ask how to

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on SAS knows it’s a leap year. Do you?

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Proc-x is looking for sponsors!

Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com



SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.