Thomas, I'm afraid that work beckons, and I won't be able to give you a complete answer here, just a few notes. First, it should be possible to run all 7 STs at once. You might skip this at first, getting it to work for a single ST as a starting point. But it would certainly be possible to code statements like these at the proper points: _name_ = 'st' || put(st,1.) || compress(question, ' .'); class st idnum question; But without attempting that hurdle, first, in the PROC SUMMARY, modify the OUTPUT statement to get both statistics: output out=temp (keep=idnum question mean std) mean=mean std=std; Then in the DATA step that is needed anyway, construct the combination variable: data temp; set temp; _name_ = 'st1' || compress(question, ' .'); new_response = put(mean, 3.1) || '+-' || put(std, 3.1); run; Then use new_response instead of response within PROC TRANSPOSE. Good luck.
... View more