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 .
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.