Learn SAS

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

Learn SAS
Rick Wicklin 0
How to vectorize time series computations

Vector languages such as SAS/IML, MATLAB, and R are powerful because they enable you to use high-level matrix operations (matrix multiplication, dot products, etc) rather than loops that perform scalar operations. In general, vectorized programs are more efficient (and therefore run faster) than programs that contain loops. For an example

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
Rick Wicklin 0
Rotating matrices

This article is about rotating matrices. No, I don't mean "rotation matrices," I mean rotating matrices. As in turning a matrix 90 degrees in a clockwise or counterclockwise direction. I was reading a program written in MATLAB in which the programmer used a MATLAB function called ROT90, which rotates a

Learn SAS
Jim Simon 0
Importing CSV files into SAS datasets

Sometimes, your first impulse may not be correct, like trading in your practical sedan for a hot 2-seater.  Other times, your first impulse is perfect, as in the examples below. Suppose the automobile data you wish to analyze resides in a CSV file.  Naturally, your first impulse is to import

Learn SAS
Jeff Thompson 0
My transition from academia to SAS

I am passionate about teaching.  My colleagues would probably say this is the understatement of the year.  And it likely has something to do with the fact that both of my parents were teachers. I started my teaching career at the university level and after many years an unexpected opportunity

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 35 36 37 38 39 40

Back to Top