I have defined a matrix m, and printed it and defined a module 'bcent' in proc iml.
Now I am trying to call it using:
but its throwing the error 'run executed for function module.
It sounds like you defined BCENT to be a funtion that returns a value. The RUN and CALL statements are only for modules that do not return values. Call it as
x = bcent(m,1,0);
View solution in original post
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.
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.