6 ways to use the _NULL_ data set in SAS

June 11, 2018
By

In SAS, the reserved keyword _NULL_ specifies a SAS data set that has no observations and no variables. When you specify _NULL_ as the name of an output data set, the output is not written. The _NULL_ data set is often used when you want to execute DATA step code

The post Read more »

Seven Interesting Data Storytelling Examples

June 9, 2018
By

When I am trying to learn a new skill or develop thinking around a subject, such as data storytelling, I find examples of others work helpful. The trick to reviewing work is thinking about what is effective, not what is good or bad. Sometimes I learn m...
Read more »

Video: A new syntax for lists in SAS/IML

June 8, 2018
By

I recently recorded a short video about the new syntax for specifying and manipulating lists in SAS/IML 14.3. This is a video of my Super Demo at SAS Global Forum 2018. The new syntax supports dynamic arrays, associative arrays ("named lists"), and hierarchical data structures such as lists of lists.

The post Read more »

SAS throwing RPC error

June 6, 2018
By

If you are doing code in C#  and get this error when creating a LanguageService:The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)The likely culprit is that SAS is not, in fact, running as an exe. Check your workspace instantiatio...
Read more »

Sample and obtain the results in random order

June 6, 2018
By
Sample and obtain the results in random order

The SURVEYSELECT procedure in SAS 9.4M5 supports the OUTRANDOM option, which causes the selected items in a simple random sample to be randomly permuted after they are selected. This article describes several statistical tasks that benefit from this option, including simulating card games, randomly permuting observations in a DATA step,

The post Read more »

Where is that volcano in Guatemala?

June 5, 2018
By

You've probably seen in the news that a volcano erupted in Guatemala recently. But do you really know much about this volcano, or even where it's located? Hopefully this blog post will get you up to speed on your volcanology! Pictures of a recent volca...
Read more »

Using Texas as a unit of measure

June 4, 2018
By

Everything's big in Texas - at least that's what they say! Therefore let's have a bit of graphical fun, and use Texas as a unit of measure (let's call it a 'tex'). More on that later - but first, here's a picture of my friend Jennifer posing beside a r...
Read more »

An easy way to make a “Top 10” table and bar chart in SAS

June 4, 2018
By
An easy way to make a “Top 10” table and bar chart in SAS

Years ago, I wrote an article about how to create a Top 10 table and bar chart. The program can be trivially modified to create a "Top N" table and plot, such as Top 5, Top 20, or even Top 100. Not long after the article was written, the developer

The post Read more »

Can you bypass tariffs with a foreign-trade zone?

June 1, 2018
By

With talk of tariffs in the news lately, I'm sure everyone is curious about possible ways to bypass them. One possible loophole is using the foreign-trade zones (FTZs) in the US. What are FTZs, and where are they located? Read along and find out!... Th...
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.