The DO Loop
Statistical programming in SAS with an emphasis on SAS/IML programs![Reading big data in the SAS/IML language](https://blogs.sas.com/content/iml/files/2013/01/ReadBlocks.png)
A SAS/IML user on a discussion forum was trying to read data into a SAS/IML matrix, but the data was so large that it would not fit into memory. (Recall that SAS/IML matrices are kept in RAM.) After a few questions, it turned out that the user was trying to
![Generate binary outcomes with varying probability](https://blogs.sas.com/content/iml/files/2012/11/t_callrand.png)
A while ago I saw a blog post on how to simulate Bernoulli outcomes when the probability of generating a 1 (success) varies from observation to observation. I've done this often in SAS, both in the DATA step and in the SAS/IML language. For example, when simulating data that satisfied
![Getting started with the SAS/IML language: A free hands-on workshop](https://blogs.sas.com/content/iml/files/2017/02/AdvancedAnalytics-4.png)
I am pleased to announce that this year at SAS Global Forum 2013 (San Francisco, April 27 to May 1, 2013) I am giving a free hands-on workshop (HOW) entitled "Getting Started with the SAS/IML Language." If you are not familiar with the very popular Hands-On Workshop series at SAS
![12 Tips for SAS Statistical Programmers](https://blogs.sas.com/content/iml/files/2017/01/AdvancedAnalytics-2.png)
It's the start of a new year. Have you made a resolution to be a better data analyst? A better SAS statistical programmer? To learn more about multivariate statistics? What better way to start the New Year than to read (or re-read!) the top 12 articles for statistical programmers from
![Computing the nearest correlation matrix](https://blogs.sas.com/content/iml/files/2012/12/t_nearestcorr.png)
Frequently someone will post a question to the SAS Support Community that says something like this: I am trying to do [statistical task]and SAS issues an error and reports that my correlation matrix is not positive definite. What is going on and how can I complete [the task]? The statistical
![Beware the naked LOC](https://blogs.sas.com/content/iml/files/2017/01/AdvancedAnalytics-2.png)
The LOC function is one of the most important functions in the SAS/IML language. The LOC function finds elements of a vector or matrix that satisfy some condition. For example, if you are going to apply a logarithmic transform to data, you can use the LOC function to find all