Tag: SAS Programming

Rick Wicklin 0
Convert hexadecimal colors to RGB

In response to my recent post about how to use the PALETTE function in SAS/IML to generate color ramps, a reader wrote the following: The PALETTE function returns an array of hexadecimal values such as CXF03B20. For those of us who think about colors as RGB values, is there an

Rick Wicklin 0
Order variables by values of a statistic

When I create a graph of data that contains a categorical variable, I rarely want to display the categories in alphabetical order. For example, the box plot to the left is a plot of 10 standardized variables where the variables are ordered by their median value. The ordering makes it

Learn SAS
Michael A. Raithel 0
Artisan crafted SAS programs

Madison Avenue has a new phrase to describe the things they are trying to sell to us: artisan crafted.  These days, there are artisan crafted breads and rolls, artisan crafted beers, artisan crafted coffees, artisan crafted soaps, and a host of other artisan crafted products.  Artisan crafted seems to have

Learn SAS
Rick Wicklin 0
The GCD and LCM functions in SAS

My daughter's middle school math class recently reviewed how to compute the greatest common factor (GCF) and the least common multiple (LCM) of a set of integers. (The GCF is sometimes called the greatest common divisor, or GCD.) Both algorithms require factoring integers into a product of primes. While helping

Learn SAS
Michelle Homes 0
Read what you need

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

1 8 9 10 11 12 14