BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
xtc283x
Obsidian | Level 7

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

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

1 REPLY 1
Rick_SAS
SAS Super FREQ

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...

 

 

sas-innovate-2024.png

📢

ANNOUNCEMENT

The early bird rate has been extended! Register by March 18 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

Register now!

Multiple Linear Regression in SAS

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.

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 1 reply
  • 842 views
  • 1 like
  • 2 in conversation