options ls=72;
*COMMENT this statement allows for the computer to
print 72 characters across the screen;
data crd;
input trt rep tenstr;
cards;
.1 1 23
.1 2 36
.1 3 31
.1 4 33
.2 1 42
.2 2 26
.2 3 47
.2 4 34
.3 1 47
.3 2 43
.3 3 43
.3 4 39
proc print;
*COMMENT: This statement prints the data;
proc anova;
*COMMENT: This statement allows for the ANOVA with no
missing data;
classes trt;
*COMMENT: The class statement should include all independent
variables in the model;
model tenstr=trt;
*COMMENT: the dependent variable(s) come before the equal
sign and all sources of variation except error come after
the equal sign;
*COMMENT: You determine if the F-test for a SOV is
significant by looking at the value for the Pr>F. If this
value is less than 0.05, then the F-test is signifcant at
the 95% level of confidence. If the value is greater than
0.05, then the F-test is non-significant. If the value
less than 0.01, then the F-test is significant at the 99%
level of confidence.;
means trt/lsd;
*COMMENT: This statement asks for treatment means and
LSD at alpha equal to 0.05.;
1 The SAS System 17:13 Monday, November 27, 1995 Page 1
NOTE: Copyright(c) 1989 by SAS Institute Inc., Cary, NC USA.
NOTE: SAS (r) Proprietary Software Release 6.07.01
Licensed to NORTH DAKOTA STATE UNIVERSITY, Site 0001220004.
NOTE: Running on IBM Model RS/6000 Serial Number 000132666600.
This message is contained in the SAS news file, and is presented
upon initialization. Edit the file "news" in the "misc" directory
to display site-specific news and information in the program log.
The command line option "-nonews" will prevent this display.
NOTE: AUTOEXEC processing beginning; file is /usr/local/sas/autoexec.sas.
NOTE: SAS initialization used:
real time 0.473 seconds
cpu time 0.360 seconds
NOTE: AUTOEXEC processing completed.
1 options ls=72;
2 *COMMENT this statement allows for the computer to
3 print 72 characters across the screen;
4 data crd;
5 input trt rep tenstr;
6 cards;
NOTE: The data set WORK.CRD has 12 observations and 3 variables.
NOTE: DATA statement used:
real time 0.194 seconds
cpu time 0.120 seconds
19 proc print;
20 *COMMENT: This statement prints the data;
NOTE: The PROCEDURE PRINT printed page 1.
NOTE: PROCEDURE PRINT used:
real time 0.753 seconds
cpu time 0.040 seconds
21 proc anova;
22 *COMMENT: This statement allows for the ANOVA with no
23 missing data;
24 classes trt;
25 *COMMENT: The class statement should include all independent
26 variables in the model;
27 model tenstr=trt;
28 *COMMENT: the dependent variable(s) come before the equal
29 sign and all sources of variation except error come after
30 the equal sign;
31 *COMMENT: You determine if the F-test for a SOV is
32 significant by looking at the value for the Pr>F. If this
33 value is less than 0.05, then the F-test is signifcant at
34 the 95% level of confidence. If the value is greater than
35 0.05, then the F-test is non-significant. If the value
36 less than 0.01, then the F-test is significant at the 99%
37 level of confidence.;
38 means trt/lsd;
39 *COMMENT: This statement asks for treatment means and
40 LSD at alpha equal to 0.05.;
41 title ' crd with no sampling';
42
NOTE: Means from the MEANS statement are not adjusted for other terms
in the model. For adjusted means, use the LSMEANS statement.
NOTE: The PROCEDURE ANOVA printed pages 2-4.
NOTE: PROCEDURE ANOVA used:
real time 0.583 seconds
cpu time 0.060 seconds
NOTE: The SAS System used:
real time 2.696 seconds
cpu time 0.650 seconds
NOTE: SAS Institute Inc., SAS Circle, PO Box 8000, Cary, NC 27512-8000
The SAS System Page 1
17:13 Monday, November 27, 1995
OBS | TRT | REP | TENSTR |
1 | 0.1 | 1 | 23 |
2 | 0.1 | 2 | 36 |
3 | 0.1 | 3 | 31 |
4 | 0.1 | 4 | 33 |
5 | 0.2 | 1 | 42 |
6 | 0.2 | 2 | 26 |
7 | 0.2 | 3 | 47 |
8 | 0.2 | 4 | 34 |
9 | 0.3 | 1 | 47 |
10 | 0.3 | 2 | 43 |
11 | 0.3 | 3 | 43 |
12 | 0.3 | 4 | 39 |
crd with no sampling Page 2
17:13 Monday, November 27, 1995
Analysis of Variance Procedure
Class Level Information
Class | Levels | Values | ||
TRT | 3 | 0.1 | 0.2 | 0.3 |
Number of observations in data set = 12
crd with no sampling Page 3
17:13 Monday, November 27, 1995
Analysis of Variance Procedure
Dependent Variable: TENSTR
Source of | Sum of | Mean | |||
variation | df | squares | square | F value | P > F |
Model | 2 | 300.5 | 150.25 | 3.56 | 0.0725 |
Error | 9 | 379.5 | 42.167 | ||
Corrected Total | 11 | 680.0 |
R-Squre | C.V. | Root MSE | TENSTR Mean |
0.441912 | 17.55023 | 6.4936 | 37.000 |
Source | df | ANOVA SS | Mean Square | F Value | Pr > F |
TRT | 2 | 300.5 | 150.25 | 3.56 | 0.0725 |
crd with no sampling Page 4
17:13 Monday, November 27, 1995
Analysis of Variance Procedure
T tests (LSD) for variable: TENSTR
NOTE: This test controls the type I comparisonwise error rate not
the experimentwise error rate.
Alpha= 0.05 df= 9 MSE= 42.16667
Critical Value of T= 2.26
Least Significant Difference= 10.387
Means with the same letter are not significantly different.
T Grouping | Mean | N | TRT |
A | 43.0 | 4 | 0.3 |
AB | 37.25 | 4 | 0.2 |
B | 30.75 | 4 | 0.1 |