1 The SAS System 00:01 Saturday, August 19, 2000 NOTE: Copyright (c) 1999-2000 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software Release 8.1 (TS1M0) Licensed to UNC-CHAPEL HILL - CAMPUSWIDE INTERNAL, Site 0039466001. NOTE: This session is executing on the WIN_NT platform. NOTE: SAS initialization used: real time 0.26 seconds cpu time 0.24 seconds 1 TITLE1 "P0102.SAS--Create file log's and post-pre diff log 1 ! brightness"; 2 3 LIBNAME INOUT01 "..\DATA\"; NOTE: Libref INOUT01 was successfully assigned as follows: Engine: V612 Physical Name: D:\KEM\TEACHING\BIOS262\2000\HOMEWORK\DATA 4 5 PROC SORT DATA=INOUT01.P0101 6 OUT =ZERO; 7 BY ID TISSUE; 8 NOTE: There were 132 observations read from the data set INOUT01.P0101. NOTE: The data set WORK.ZERO has 132 observations and 9 variables. NOTE: PROCEDURE SORT used: real time 0.02 seconds cpu time 0.02 seconds 9 DATA ONE(RENAME=(LOGMEAN=PRELOG )) 10 TWO(RENAME=(LOGMEAN=POSTLOG )); 11 SET ZERO; 12 IF ORDER=0 THEN OUTPUT ONE; *Grab the pre dose of contrast values; 13 ELSE OUTPUT TWO; *post dose values; 14 NOTE: There were 132 observations read from the data set WORK.ZERO. NOTE: The data set WORK.ONE has 33 observations and 9 variables. NOTE: The data set WORK.TWO has 99 observations and 9 variables. NOTE: DATA statement used: real time 0.01 seconds cpu time 0.01 seconds 15 DATA INOUT01.P0102; 16 LENGTH DEFAULT=4; 17 MERGE ONE TWO; 18 BY ID TISSUE; 2 The SAS System 00:01 Saturday, August 19, 2000 19 DIFFLOG=POSTLOG-PRELOG; 20 KEEP ID TISSUE PRELOG POSTLOG TIME DIFFLOG; 21 LABEL PRELOG ="log PRE contrst brghtnss" 22 POSTLOG="log POST contrst brghtnss" 23 DIFFLOG ="log post - log pre brghtnss"; 24 FORMAT PRELOG POSTLOG 6.2 DIFFLOG 6.3; 25 NOTE: There were 33 observations read from the data set WORK.ONE. NOTE: There were 99 observations read from the data set WORK.TWO. NOTE: The data set INOUT01.P0102 has 99 observations and 6 variables. NOTE: DATA statement used: real time 0.02 seconds cpu time 0.02 seconds 26 PROC PRINT DATA=INOUT01.P0102 UNIFORM; NOTE: There were 99 observations read from the data set INOUT01.P0102. NOTE: The PROCEDURE PRINT printed pages 1-3. NOTE: PROCEDURE PRINT used: real time 0.02 seconds cpu time 0.02 seconds NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414 NOTE: The SAS System used: real time 0.39 seconds cpu time 0.35 seconds