So, the parts of your attachment highlighted in yellow make no sense to me, and explanation is not provided. Which means to me that before we could provide any real assistance, these issues would have to be cleared up and explained.
I also think that PROC IML would be able to handle this type of calculation easily.
Also, it should be mentioned that at least a partial solution to this problem has been provided in your previous thread.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: