0% found this document useful (0 votes)
5 views

Data R

داتا

Uploaded by

abdulraoufjebby
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Data R

داتا

Uploaded by

abdulraoufjebby
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Data R.C.

D;
input rep treat results;
datalines;
1 1 3
2 1 6
3 1 3
1 2 5
2 2 6
3 2 2
1 3 4
2 3 3
3 3 3
1 4 3
2 4 1
3 4 2
1 5 1
2 5 2
3 5 5
1 6 8
2 6 9
3 6 6
;
proc Anova;
class treat;
model results= treat;
means treat/LSD Alpha=0.05;
run;

The SAS System 22:25 Sunday, March 28, 2024 1

The ANOVA Procedure

Class Level Information

Class Levels Values

treat 6 1 2 3 4 5 6
Number of observations 18
The SAS System 22:25 Sunday, March 28, 2024 2

The ANOVA Procedure

Dependent Variable: results

Sum of
Source DF Squares Mean Square F Value Pr > F

Model 5 59.33333333 11.86666667 4.64 0.0137

Error 12 30.66666667 2.55555556

Corrected Total 17 90.00000000

R-Square Coeff Var Root MSE results Mean

0.659259 39.96526 1.598611 4.000000

Source DF Anova SS Mean Square F Value Pr > F

treat 5 59.33333333 11.86666667 4.64 0.0137


The SAS System 22:25 Sunday, March 28, 2024 3

The ANOVA Procedure

t Tests (LSD) for results

NOTE: This test controls the Type I comparisonwise error rate, not the experimentwise error rate.

Alpha 0.05
Error Degrees of Freedom 12
Error Mean Square 2.555556
Critical Value of t 2.17881
Least Significant Difference 2.8439

Means with the same letter are not significantly different.

t Grouping Mean N treat

A 7.667 3 6

B 4.333 3 2
B
B 4.000 3 1
B
B 3.333 3 3
B
B 2.667 3 5
B
B 2.000 3 4

data factors;
input rep a$ b$ results;
datalines;

8 B1 A1 1
7 B1 A1 2
4 B1 A1 3
7 B2 A1 1
8 B2 A1 2
5 B2 A1 3
5 B3 A1 1
9 B3 A1 2
6 B3 A1 3
9 B1 A2 1
9 B1 A2 2
8 B1 A2 3
7 B2 A2 1
7 B2 A2 2
6 B2 A2 3
12 B3 A2 1
11 B3 A2 2
10 B3 A2 3
;
proc Anova;
calss rep a b;
model results = rep a b a*b;
means a/LSD Alpha = 0.05;
means b/LSD Alpha = 0.05;
run;

data factors;
input rep a$ b$ results;
datalines;
1 A1 B1 8
2 A1 B1 7
3 A1 B1 4
1 A1 B2 7
2 A1 B2 8
3 A1 B2 5
1 A1 B3 5
2 A1 B3 9
3 A1 B3 6
1 A2 B1 9
2 A2 B1 9
3 A2 B1 8
1 A2 B2 7
2 A2 B2 7
3 A2 B2 6
1 A2 B3 12
2 A2 B3 11
3 A2 B3 10
;
proc Anova;
class rep a b;
model results = rep a b a*b;
means a/LSD Alpha = 0.05;
means b/LSD alpha = 0.05;
run;

You might also like