SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Computing Statistics for Numeric Variables
Group Processing


Question: Complete the program below so that statistics are grouped by the values of the variable Dest.
proc means data=flights.laguardia median maxdec=0;
   var boarded transferred deplaned;
   
run;

Dest N Obs Variable Median
CPH 6 Boarded
Transferred
Deplaned
137
12
149
FRA 7 Boarded
Transferred
Deplaned
176
12
189
LON 20 Boarded
Transferred
Deplaned
186
11
200
PAR 13 Boarded
Transferred
Deplaned
155
15
182



           


  back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement