Thanks @Ksharp , now the error is
ERROR: (execution) Invalid subscript or subscript out of range.
Additionally, how can change the IML code to caculate z value for each observation (more like the IML equivalent of "diff" command in OPTMODEL?
I have IML.
Thanks Ksharp. My problem is that if most of my group friends also don't have Proc Optmodel, thats why I would be very thankful if you guys can help me with the code in SAS IML.
Regards,
Jass
Sorry. I have no time. Maybe @Rick_SAS could write it for you .
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.