NOTE: PROCEDURE ANOVA used: real time 4:35.77 cpu time 0.03 seconds 60 options pageno=1; 61 data lscmb; 62 input square row column trt $ yield; 63 datalines; NOTE: The data set WORK.LSCMB has 27 observations and 5 variables. NOTE: DATA statement used: real time 0.03 seconds cpu time 0.02 seconds 91 ;; 92 proc print; 93 title 'printout of data'; 94 run; NOTE: There were 27 observations read from the data set WORK.LSCMB. NOTE: PROCEDURE PRINT used: real time 0.01 seconds cpu time 0.01 seconds 95 proc sort; 96 by square; 97 *Comment The previous statements are needed to do the ANOVA for each 98 individual square; 99 run; NOTE: There were 27 observations read from the data set WORK.LSCMB. NOTE: The data set WORK.LSCMB has 27 observations and 5 variables. NOTE: PROCEDURE SORT used: real time 0.03 seconds cpu time 0.00 seconds 100 proc anova; 101 by square; 102 classes row column trt; 103 model yield=row column trt; 104 title 'anova of each individual square'; 105 run; NOTE: Interactivity disabled with BY processing. NOTE: PROCEDURE ANOVA used: real time 0.15 seconds cpu time 0.03 seconds 106 proc anova; 107 classes square row column trt; 108 model yield=square row(square) column(square) trt square*trt; 109 means trt/lsd; 110 means square*trt; 111 *Comment Note that there is no LSD command since SAS will not 112 calculate the LSD values for interactions. SAS only calculates LSD 113 values for the main effects; 114 title 'anova combined across squares assuming square and trt are fixed effects'; 115 run; NOTE: PROCEDURE ANOVA used: real time 0.12 seconds cpu time 0.03 seconds 116 proc anova; 117 classes square row column trt; 118 model yield=square row(square) column(square) trt square*trt; 119 test h=trt e=square*trt; 120 *Comment The previous statement is needed since square is a random 121 effect and treatment is a fixed effect. Squre*trt is the denominator 122 of the F-test to test treatment; 123 means trt/lsd e=square*trt; 124 means square*trt; 125 *Comment Note that there is no LSD command since SAS will not 126 calculate the LSD values for interactions. SAS only calculates LSD 127 values for the main effects; 128 title 'anova combined across squares assuming square random and trt 129 fixed'; 130 run; 131 options pageno=1; NOTE: PROCEDURE ANOVA used: real time 1:07.60 cpu time 0.03 seconds 132 data lscmb; 133 input square row column trt $ yield; 134 datalines; NOTE: The data set WORK.LSCMB has 27 observations and 5 variables. NOTE: DATA statement used: real time 0.04 seconds cpu time 0.01 seconds 162 ;; 163 proc print; 164 title 'printout of data'; 165 run; NOTE: There were 27 observations read from the data set WORK.LSCMB. NOTE: PROCEDURE PRINT used: real time 0.01 seconds cpu time 0.01 seconds 166 proc sort; 167 by square; 168 *Comment The previous statements are needed to do the ANOVA for each 169 individual square; 170 run; NOTE: There were 27 observations read from the data set WORK.LSCMB. NOTE: The data set WORK.LSCMB has 27 observations and 5 variables. NOTE: PROCEDURE SORT used: real time 0.02 seconds cpu time 0.00 seconds 171 proc anova; 172 by square; 173 classes row column trt; 174 model yield=row column trt; 175 title 'anova of each individual square'; 176 run; NOTE: Interactivity disabled with BY processing. NOTE: PROCEDURE ANOVA used: real time 0.04 seconds cpu time 0.02 seconds 177 proc anova; 178 classes square row column trt; 179 model yield=square row(square) column(square) trt square*trt; 180 means trt/lsd; 181 means square*trt; 182 *Comment Note that there is no LSD command since SAS will not 183 calculate the LSD values for interactions. SAS only calculates LSD 184 values for the main effects; 185 title 'anova combined across squares assuming square and trt are fixed effects'; 186 run; NOTE: PROCEDURE ANOVA used: real time 0.04 seconds cpu time 0.00 seconds 187 proc anova; 188 classes square row column trt; 189 model yield=square row(square) column(square) trt square*trt; 190 test h=trt e=square*trt; 191 *Comment The previous statement is needed since square is a random 192 effect and treatment is a fixed effect. Squre*trt is the denominator 193 of the F-test to test treatment; 194 means trt/lsd e=square*trt; 195 means square*trt; 196 *Comment Note that there is no LSD command since SAS will not 197 calculate the LSD values for interactions. SAS only calculates LSD 198 values for the main effects; 199 title 'anova combined across squares assuming square random and trt fixed'; 200 run;