The DO Loop

Statistical programming in SAS with an emphasis on SAS/IML programs
Advanced Analytics
Rick Wicklin 1
The module that vanished

Recently, I needed to detect whether a matrix consists entirely of missing values. I wrote the following module: proc iml; /** Module to detect whether all elements of a matrix are missing values. Works for both numeric and character matrices. Version 1 (not optimal) **/ start isMissing(x); if type(x)='C' then

1 159 160 161 162 163 169