Features: |
CLASS statement OUTPUT statement options: statistic keywords |
Other features: |
PRINT procedure WHERE= data set option |
Data set: | GRADE |
options nodate pageno=1 linesize=80 pagesize=60;
proc means data=Grade noprint descend;
class Status Year;
var Score FinalGrade;
output out=Sumdata (where=(status='1' or _type_=0)) mean= median(finalgrade)=MedianGrade; run;
proc print data=Sumdata; title 'Exam and Course Grades for Undergraduates Only'; title2 'and for All Students'; run;