1 The SAS System 08:50 Thursday, January 6, 2011 NOTE: Copyright (c) 2002-2008 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software 9.2 (TS2M2) Licensed to UNIVERSITY OF FLORIDA-T/R, Site 70055083. NOTE: This session is executing on the Linux 2.6.24-28-server (LINUX) platform. You are running SAS 9. Some SAS 8 files will be automatically converted by the V9 engine; others are incompatible. Please see http://support.sas.com/rnd/migration/planning/platform/64bit.html PROC MIGRATE will preserve current SAS file attributes and is recommended for converting all your SAS libraries from any SAS 8 release to SAS 9. For details and examples, please see http://support.sas.com/rnd/migration/index.html This message is contained in the SAS news file, and is presented upon initialization. Edit the file "news" in the "misc/base" directory to display site-specific news and information in the program log. The command line option "-nonews" will prevent this display. NOTE: SAS initialization used: real time 0.02 seconds cpu time 0.02 seconds 1 options nodate nonumber ps=500 ls=76; 2 3 data one; 4 retain brandnum 0; 5 infile 'winwine.dat' lrecl=218; 6 input brand $ 1-25 price score01-score23; 7 brandnum=brandnum+1; 8 if brandnum<=5 then do; 9 color=1; 10 type=1; 11 end; 12 else if brandnum <=10 then do; 13 color=2; 14 type=1; 15 end; 16 else if brandnum <=15 then do; 17 color=1; 18 type=2; 19 end; 20 else if brandnum <=20 then do; 21 color=2; 22 type=2; 23 end; 24 cprice=price-9.464; 25 score=score01; output; 26 score=score02; output; 27 score=score03; output; 28 score=score04; output; 29 score=score05; output; 30 score=score06; output; 31 score=score07; output; 32 score=score08; output; 33 score=score09; output; 34 score=score10; output; 35 score=score11; output; 36 score=score12; output; 37 score=score13; output; 38 score=score14; output; 39 score=score15; output; 40 score=score16; output; 41 score=score17; output; 42 score=score18; output; 43 score=score19; output; 44 score=score20; output; 45 score=score21; output; 46 score=score22; output; 47 score=score23; output; 48 drop score01-score23; 49 50 * brandnum=brandnum+1; 51 /* 52 do rater=1 to 3; 53 input winescr @@; 54 output; 55 end; 56 */ 57 run; NOTE: The infile 'winwine.dat' is: Filename=/home/winner/public_html/data/winwine.dat, Owner Name=winner,Group Name=winner, Access Permission=rwxrwxrwx, Last Modified=Thu Aug 4 11:28:21 2005, File Size (bytes)=4400 NOTE: 20 records were read from the infile 'winwine.dat'. The minimum record length was 218. The maximum record length was 218. One or more lines were truncated. NOTE: The data set WORK.ONE has 460 observations and 7 variables. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.01 seconds 58 59 proc sort; 60 by brandnum; 61 NOTE: There were 460 observations read from the data set WORK.ONE. NOTE: The data set WORK.ONE has 460 observations and 7 variables. NOTE: PROCEDURE SORT used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 62 data two; 63 set one; 64 by brandnum; 65 retain rater; 66 if first.brandnum then rater=0; 67 rater=rater+1; 68 run; NOTE: There were 460 observations read from the data set WORK.ONE. NOTE: The data set WORK.TWO has 460 observations and 8 variables. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 69 /* 70 proc print; 71 run; 72 */ 73 74 quit; 75 proc means n mean var; 76 var score; 77 run; NOTE: There were 460 observations read from the data set WORK.TWO. NOTE: The PROCEDURE MEANS printed page 1. NOTE: PROCEDURE MEANS used (Total process time): real time 0.04 seconds cpu time 0.03 seconds 78 proc means n mean var; 79 class brandnum; 80 var score; 81 run; NOTE: There were 460 observations read from the data set WORK.TWO. NOTE: The PROCEDURE MEANS printed page 2. NOTE: PROCEDURE MEANS used (Total process time): real time 0.01 seconds cpu time 0.01 seconds 82 83 quit; 84 85 proc mixed cl; 86 * class brandnum; 87 model score= price / ddfm=satterth solution; 88 run; NOTE: 60 observations are not included because of missing values. NOTE: The PROCEDURE MIXED printed page 3. NOTE: PROCEDURE MIXED used (Total process time): real time 0.00 seconds cpu time 0.01 seconds 89 90 proc mixed cl; 91 class color; 92 model score= price color/ ddfm=satterth solution; 93 run; NOTE: 60 observations are not included because of missing values. NOTE: The PROCEDURE MIXED printed page 4. NOTE: PROCEDURE MIXED used (Total process time): real time 0.00 seconds cpu time 0.01 seconds 94 95 proc mixed cl; 96 class color type; 97 model score= price color type(color)/ ddfm=satterth solution; 98 run; NOTE: 60 observations are not included because of missing values. NOTE: The PROCEDURE MIXED printed page 5. NOTE: PROCEDURE MIXED used (Total process time): real time 0.00 seconds cpu time 0.01 seconds 99 100 proc mixed cl; 101 class color brandnum; 102 model score= price color brandnum(color)/ ddfm=satterth solution; 103 run; NOTE: 60 observations are not included because of missing values. NOTE: The PROCEDURE MIXED printed page 6. NOTE: PROCEDURE MIXED used (Total process time): real time 0.00 seconds cpu time 0.01 seconds 104 105 proc mixed cl; 106 class brandnum; 107 model score= brandnum / ddfm=satterth solution; 108 run; NOTE: 60 observations are not included because of missing values. NOTE: The PROCEDURE MIXED printed page 7. NOTE: PROCEDURE MIXED used (Total process time): real time 0.00 seconds cpu time 0.01 seconds 109 110 proc sort; 111 by rater color type; 112 run; NOTE: There were 460 observations read from the data set WORK.TWO. NOTE: The data set WORK.TWO has 460 observations and 8 variables. NOTE: PROCEDURE SORT used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 113 114 proc mixed cl; 115 class rater; 116 model score= cprice / ddfm=satterth solution; 117 random int / solution cl subject=rater; 118 run; NOTE: 60 observations are not included because of missing values. NOTE: Convergence criteria met. NOTE: The PROCEDURE MIXED printed page 8. NOTE: PROCEDURE MIXED used (Total process time): real time 0.01 seconds cpu time 0.02 seconds 119 120 proc mixed cl; 121 class color brand rater; 122 model score= color cprice / ddfm=satterth solution; 123 random int / solution cl type=un subject=rater; 124 run; NOTE: 60 observations are not included because of missing values. NOTE: Convergence criteria met. NOTE: The PROCEDURE MIXED printed page 9. NOTE: PROCEDURE MIXED used (Total process time): real time 0.01 seconds cpu time 0.01 seconds 125 126 127 proc mixed cl; 128 class color brand rater; 129 model score= color cprice / ddfm=satterth solution; 130 random color / solution cl subject=rater type=un; 131 run; NOTE: 60 observations are not included because of missing values. NOTE: Convergence criteria met. NOTE: The PROCEDURE MIXED printed page 10. NOTE: PROCEDURE MIXED used (Total process time): real time 0.02 seconds cpu time 0.03 seconds 132 133 proc mixed cl; 134 class color type brand rater; 135 model score= color type(color) cprice / ddfm=satterth solution; 136 random int / solution cl subject=rater; 137 run; NOTE: 60 observations are not included because of missing values. NOTE: Convergence criteria met. NOTE: The PROCEDURE MIXED printed page 11. NOTE: PROCEDURE MIXED used (Total process time): real time 0.01 seconds cpu time 0.01 seconds 138 139 140 proc mixed cl; 141 class color type brand rater; 142 model score= color type(color) cprice / ddfm=satterth solution; 143 random color / solution cl subject=rater type=un ; 144 run; NOTE: 60 observations are not included because of missing values. NOTE: Convergence criteria met. NOTE: The PROCEDURE MIXED printed page 12. NOTE: PROCEDURE MIXED used (Total process time): real time 0.02 seconds cpu time 0.03 seconds 145 146 proc sort; by rater brandnum; NOTE: There were 460 observations read from the data set WORK.TWO. NOTE: The data set WORK.TWO has 460 observations and 8 variables. NOTE: PROCEDURE SORT used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 147 proc mixed cl; 148 class brandnum rater color; 149 model score= color brandnum(color) / ddfm=satterth solution; 150 random int / solution cl subject=rater ; 151 run; NOTE: 60 observations are not included because of missing values. NOTE: Convergence criteria met. NOTE: The PROCEDURE MIXED printed page 13. NOTE: PROCEDURE MIXED used (Total process time): real time 0.02 seconds cpu time 0.02 seconds 152 153 proc mixed cl; 154 class brandnum rater color; 155 model score= brandnum / ddfm=satterth solution; 156 random color / solution cl subject=rater type=un; 157 run; NOTE: 60 observations are not included because of missing values. NOTE: Convergence criteria met. NOTE: The PROCEDURE MIXED printed page 14. NOTE: PROCEDURE MIXED used (Total process time): real time 0.03 seconds cpu time 0.04 seconds 158 159 proc mixed cl; 160 class brandnum rater; 161 model score= brandnum / noint ddfm=satterth solution; 162 random int / solution cl subject=rater ; 163 lsmeans brandnum / pdiff; 164 run; NOTE: 60 observations are not included because of missing values. NOTE: Convergence criteria met. NOTE: The PROCEDURE MIXED printed page 15. NOTE: PROCEDURE MIXED used (Total process time): real time 0.02 seconds cpu time 0.02 seconds 165 166 quit; 167 168 169 170 171 172 quit; NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414 NOTE: The SAS System used: real time 0.33 seconds cpu time 0.31 seconds