Hi rick,
did you have any suggests to do the same thing but without PROC IML?
thank you bery much
MC
Please start a new thread in the Base SAS Programming community rather than re-opening a SAS/IML thread from 2010. You can solve this problem in the DATA step by using arrays and the _N_ automatic variable.
OK, thanks. Here we are: New Topic on SAS BASE
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.