11-28-2014 08:03 AM
11-28-2014 10:38 AM
You'll probably have to play around with this to get exactly what you want, but I think you are looking for proc tabulate. e.g.:
PROC TABULATE data=have;
CLASS dose visit result;
TABLE dose * visit ,
result * n all='Total';
11-29-2014 04:02 AM
Arthur, the biggest thank you the code is really working, but may be you help me in some nuances?
1. this pic of results has shifted data.pic2 I think is not accurately and those strange letters ƒ
The data must be look like this pic3
Please maybe you know how do this?
11-29-2014 10:25 AM
Do you have your data already summarized for such a table or do you have the raw data?
The ff are from the listing output copied to a word document. What will your final output file be, a word document, excel, pdf?
The report shown above is a more complicated than your original question, but it's also a commonly asked question.
Here's a good link on creating such reports in SAS, I believe there's an exact example of what you're looking forward towards the end.
11-29-2014 05:38 PM