SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Computing Statistics for Numeric Variables
Selecting Statistics and Variables


Question: The data set Students.Bio1 tracks classroom data. It contains the following variables:
Name           Quiz1
ID             Quiz2
Absence        Test1
Project        Test2

Name and Absence are character variables; the rest are numeric. Which MEANS procedure will compute the upper quartile and variance for only project, quiz, and test scores?

proc means data=students.bio1 q3 var;
run;
proc means data=students.bio1 q3 var;
   var project quiz1 quiz2 test1 test2;
run;
proc means data=students.bio1 q3 var;
   var name id absence project
       quiz1 quiz2 test1 test2;
run;



  back||next


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

Terms of Use & Legal Information | Privacy Statement