“http://www.mitbbs.com/article_t/Statistics/31224273.html”Derive new var in data step –> reshape data in proc transpose –> use proc sql to generate reportdata one;input good P1 P2 P3 P4 P5 P6 P7 P8 P9 P10;if sum(of good-P10)=11 then yes=1;else yes=0…