Here is some sample data: data have;
infile datalines;
input list $ id price;
datalines;
DAC 22 2
DAC 11 3
DAC 33 1
BAC 11 4
BAC 33 2
BAC 22 5
CBA 33 5
CBA 22 4
CBA 11 7
;
run; An ID will pay off one of the lists, for example 22 will be paid off of DAC at a price of 2. What I want to figure out is what the ID would have been priced at if it paid off of a different list. So if it paid off of CBA, the price would be 4, but I need a way to automate this with a program to figure out for all ids and lists.
... View more