Posts Tagged ‘ sas programming ’

What DS2 can do for the DATA step

July 16, 2018
By

The Base SAS DATA step has been a powerful tool for many years for SAS programmers. But as data sets grow and programmers work with massively parallel processing (MPP) computing environments such as Teradata, Hadoop or the SAS High-Performance Analytic...
Read more »

Tags: , , ,
Posted in SAS | Comments Off on What DS2 can do for the DATA step

Using %IF-%THEN-%ELSE in SAS programs

July 5, 2018
By

SAS programmers have long wanted the ability to control the flow of their SAS programs without having to resort to complex SAS macro programming. With SAS 9.4 Maintenance 5, it's now supported! You can now use %IF-%THEN-%ELSE constructs in open code. This is big news -- even if it only

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Using %IF-%THEN-%ELSE in SAS programs

Custom Maps in SAS Visual Analytics: My Neighborhood

June 29, 2018
By

The Geo Map Visualization has several built-in geographical units, including country and region names and codes, US state names and codes, and US zip codes. You can also define your own geographic units. This paper describes how to identify any geogra...
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off on Custom Maps in SAS Visual Analytics: My Neighborhood

Changing font size in SAS

June 18, 2018
By

When making a new piece of code, I like to use the smallest font I can read. This lets me fit more text on the screen at once. When presenting code to others, especially in a classroom setting, I like to make the font large enough to see from the back...
Read more »

Tags: , , , , , , ,
Posted in SAS | Comments Off on Changing font size in SAS

Video: New random number generators in SAS

June 15, 2018
By

My 2018 SAS Global Forum paper was about "how to use the random-number generators (RNGs) in SAS." You can read the paper for details, but I recently recorded a short video that summarizes the main ideas in the paper. In particular, the video gives an overview of the new RNGs

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Video: New random number generators in SAS

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 »

Tags: , ,
Posted in SAS | Comments Off on 6 ways to use the _NULL_ data set in SAS

6 easy ways to specify a list of variables in SAS

May 29, 2018
By
6 easy ways to specify a list of variables in SAS

The SAS language provides syntax that enables you to quickly specify a list of variables. SAS statements that accept variable lists include the KEEP and DROP statements, the ARRAY statement, and the OF operator for comma-separated arguments to some functions. You can also use variable lists on the VAR statements

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on 6 easy ways to specify a list of variables in SAS

Position items in a grid

May 21, 2018
By
Position items in a grid

In a recent blog post, Chris Hemedinger used a scatter plot to show the result of 100 coin tosses. Chris arranged the 100 results in a 10 x 10 grid, where the first 10 results were shown on the first row, the second 10 were shown on the second row, and so

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Position items in a grid

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.