Chapter Contents |
Previous |
Next |
The MEANS Procedure |
Procedure features: |
| ||||||
Other features: |
| ||||||
Data set: | CHARITY |
Program |
options nodate pageno=1 linesize=80 pagesize=60;
proc means data=Charity n mean range; |
class School Year; |
var MoneyRaised HoursVolunteered; |
output out=Prize maxid(MoneyRaised(name) HoursVolunteered(name))= MostCash MostTime max= ; title 'Summary of Volunteer Work by School and Year'; run; |
proc print data=Prize; title 'Best Results: Most Money Raised and Most Hours Worked'; run; |
Output |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.