NOTE: Copyright (c) 2002-2008 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software 9.2 (TS2M3) Licensed to DEPAUL UNIVERSITY-T&R, Site 70009223. NOTE: This session is executing on the W32_VSPRO platform. 1 * ExamScores1 Example -- examsco1.sas source code; 2 3 * Create dataset. Data provided in source code; 4 data examsco; 5 input stdnt_id name $ gender $ year midterm final; 6 examave = (midterm + final) / 2; 7 datalines; NOTE: The data set WORK.EXAMSCO has 16 observations and 7 variables. NOTE: DATA statement used (Total process time): real time 0.05 seconds cpu time 0.00 seconds 24 ; 25 26 * Print dataset; 27 proc print; 28 29 * Print descriptive statistics; NOTE: There were 16 observations read from the data set WORK.EXAMSCO. NOTE: PROCEDURE PRINT used (Total process time): real time 0.02 seconds cpu time 0.01 seconds 30 proc means; 31 32 run; NOTE: There were 16 observations read from the data set WORK.EXAMSCO. NOTE: PROCEDURE MEANS used (Total process time): real time 0.02 seconds cpu time 0.03 seconds