![]() Chapter Contents |
![]() Previous |
![]() Next |
| The MEANS Procedure |
| Procedure features: |
| ||||||||||||||
| Other features: |
| ||||||||||||||
| Data set: | CHARITY |
| Program |
options nodate pageno=1 linesize=80 pagesize=60;
| | proc format; value yrFmt . = " All"; value $schFmt ' ' = "All "; run; |
| | proc means data=Charity noprint; |
| | class School Year; |
| | types () school year; |
| | var moneyraised; |
| | output out=top3list(rename=(_freq_=NumberStudents)) sum= mean=
idgroup(max(moneyraised) out[3](moneyraised name school year)=)
/inherit autoname; |
| | format year yrfmt. school $schfmt.
moneyraised dollar8.2;
run; |
| | proc print data=top3list; title1 'School Funding Raising Report'; title2 'Top Three Students'; run; |
| Output |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.