I've read that for SAS v12.1, there is a new null matrix operator, {}. The challenge is that I am running SAS v9.3M1. So, in this earlier version, is there a way to test whether or not a matrix is null in v9.3M1?
This article provides several ways to test for empty matrices in 9.3: "How to create and detect an empty matrix"
My favorite is
if type(X) = 'U' then...
View solution in original post
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Submit your idea!
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.