Chapter Contents |
Previous |
Next |
The MEANS Procedure |
Procedure features: |
| |||||||||
Other features: |
| |||||||||
Data set: | GRADE |
Program |
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; |
Output |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.