Jedi SAS Tricks: Explicit SQL Pass-through in DS2

July 20, 2016
By

One of the things I’ve come to love most about DS2 is the tight integration with SQL which makes so many data prep chores so much less onerous. An example is DATA program BY group processing. With a traditional DATA step, you must first sort or index the source data

The post Read more »

Do you write unnecessary SAS statements?

July 20, 2016
By

I'm addicted to you. You're a hard habit to break. Such a hard habit to break. —  Chicago, "Hard Habit To Break" Habits are hard to break. For more than 20 years I've been putting semicolons at the end of programming statements in SAS, C/C++, and Java/Javascript. But lately I've been

The post Read more »

Putting the US in the EU … bucking the Brexit trend!

July 19, 2016
By

What would it be like if the US was in the EU? I don't know how that would work out politically, but this map shows how it might look geographically (if the US was literally picked up and moved to Europe!) My buddy Rick Langston is a bit of a

The post Read more »

Color markers in a scatter plot by a third variable in SAS

July 18, 2016
By
Color markers in a scatter plot by a third variable in SAS

One of my favorite new features in PROC SGPLOT in SAS 9.4m2 is addition of the COLORRESPONSE= and COLORMODEL= options to the SCATTER statement. By using these options, it is easy to color markers in a scatter plot so that the colors indicate the values of a continuous third variable.

The post Read more »

Pokémon: Gotta graph ’em all!

July 15, 2016
By

So, how many different Pokémon have you caught - and more importantly, how many different kinds are still out there that you haven't caught yet? I've created some graphs that might help you figure it out! I think my previous blog post might have irritated some of the hardcore Pokémon players out there

The post Read more »

Graphical analysis of all the important Pokémon data!

July 13, 2016
By

Are you caught up in the recent Pokémon Go craze? Or maybe just trying to figure out what all the fuss is about? In this blog post, I try to analyze all the important Pokémon-related data in one graph! When the original Pokémon game first came out around 1995, you needed

The post Read more »

Build your Pokémon library using SAS and the Pokéapi

July 13, 2016
By
Build your Pokémon library using SAS and the Pokéapi

Today is #EmbraceYourGeekness day, and you are either reveling in this new crazy town inhabited by Pokémon GO, or you are hiding in your house trying to avoid all of the Pokémon GO zombies wandering around. But since I'm living in SAS these days -- not just the place (at

The post Read more »

Absorbing Markov chains in SAS

July 13, 2016
By
Absorbing Markov chains in SAS

Last week I showed how to represent a Markov transition matrix in the SAS/IML matrix language. I also showed how to use matrix multiplication to iterate a state vector, thereby producing a discrete-time forecast of the state of the Markov chain system. This article shows that the expected behavior of

The post Read more »

How to read the contents of a file into a SAS macro variable

July 12, 2016
By

I've been working on a SAS program that can add content to the SAS Support Communities (more on that in a future post). Despite my 20+ years of SAS experience, there are a lot of SAS programming tricks that I don't know. Or that I use so infrequently that I

The post Read more »

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.

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.