## Learn SAS

Learn about the latest tips, tutorials, upcoming events and certifications

Learn SAS
0
Determine the version of SAS software at run time

Recently I wrote about how to determine the age of your SAS release. Experienced SAS programmers know that you can programatically determine information about your SAS release by using certain automatic macro variables that SAS provides: SYSVER: contains the major and minor version of the SAS release SYSVLONG: contains the

Learn SAS
0
SAS Training success: Big data in the wild

People take SAS Training courses for a variety of reasons. Dr. John Taylor puts the skills he learns in the classroom to work at the Texas Parks and Wildlife Office. As you’ll see in this entertaining video, Taylor has a passion for big data and big trout.   “An unexpected

Learn SAS
0

With the pervasiveness of mobile devices, being able to read while “on the go” has been easier than ever. How many times have you found yourself in a situation where you pass the time waiting by reading something on your phone/iPad/tablet etc? With eBooks on my iPad, I find that

Learn SAS
0
SAS author's tip: Some useful WHERE operators

This week's SAS tip is from Ron Cody and his very popular book Learning SAS by Example: A Programmer's Guide. If you haven't yet discovered Ron Cody's work, you're missing out. Fortunately, you can learn a lot more about Ron and his many books--as well as view bonus content here. The following excerpt

Learn SAS
0
Read data sets that are specified by an array of names

One of my favorite features of SAS/IML 12.1 (released with 9.3m2) is that the USE and CLOSE statements support reading data set names that are specified in a SAS/IML matrix. The IMLPlus language in SAS/IML Studio has supported this syntax since the early 2000s, so I am pleased that this

Learn SAS
0
The inverse CDF method for simulating from a distribution

There are many techniques for generating random variates from a specified probability distribution such as the normal, exponential, or gamma distribution. However, one technique stands out because of its generality and simplicity: the inverse CDF sampling technique. If you know the cumulative distribution function (CDF) of a probability distribution, then

0
A SAS sandwich to satisfy every appetite

How do you like your sandwich? On rye, whole wheat or white bread? What fillings and dressings do you like? You probably think I’ve gone completely crazy and I don’t blame you. What does food have to do with SAS, you say? Loads -- as you’ll find out with this

0
Top 10 SAS coding efficiencies

Tried, tested and true -- I’m sure you already practice some, if not all, of these efficient techniques to save resources.  I recently shared these 10 techniques with the Wisconsin Illinois SAS users group in Milwaukee. The conference ran smoothly under the incredibly able guidance of Dr. LeRoy Bessler. I’ll

Learn SAS
0
How does the IF-THEN statement in SAS treat a missing value?

Every programming language has an IF-THEN statement that branches according to whether a Boolean expression is true or false. In SAS, the IF-THEN (or IF-THEN/ELSE) statement evaluates an expression and braches according to whether the expression is nonzero (true) or zero (false). The basic syntax is if numeric-expression then    do-computation;

Learn SAS
0

This week's SAS tip is from Phil Holland and his book Saving Time and Money Using SAS. Besides being a popular author, Phil is a frequent speaker at conferences around the globe and an active participant in online communities. If you're on LinkedIn, look for him on SAS Professional Forum

Learn SAS
0
SAS author's tip: Using the %DS2CSV macro

This week's SAS tip is from Art Carpenter and his latest book Carpenter's Guide to Innovative SAS Techniques. Art is a talented SAS user and prolific author--and was just recognized in the SAS Circle of Excellence for 30 years of using SAS software. After taking a look at this week's book

Learn SAS
0
SAS author's tip: Understanding tokens

This week's SAS tip is from Michele Burlew and her book SAS Macro Programming Made Easy, Second Edition. Michele is the author of several extremely helpful SAS books. Visit her author page to learn more about her work and for additional free content. The following excerpt is from SAS Press

Learn SAS
0
Passing values from PROC IML into SAS procedures

A SAS user told me that he computed a vector of values in the SAS/IML language and wanted to use those values on a statement in a SAS procedure. The particular application involved wanting to use the values on the ESTIMATE and CONTRAST statements in a SAS regression procedure, but

0