Está en la página 1de 13

Nama : Muhammad Rizki

NPM : 1314121197

1. PePp
data kelas d;
input rep dp tt;
cards;
1 1 20
1 2 36
1 3 40
2 1 24
2 2 38
2 3 42
3 1 22
3 2 37
3 3 41
4 1 21
4 2 40
4 3 43
;
proc print;
run;

2. Output PePp

The SAS System


Obs
1
2
3
4
5

rep
1
1
1
2
2

dp
1
2
3
1
2

20
36
40
24
38

tt

09:05 Thursday, May 9, 2016 1

Nama : Muhammad Rizki


NPM : 1314121197
6
7
8
9
10
11
12

2
3
3
3
4
4
4

3
1
2
3
1
2
3

42
22
37
41
21
40
43

3. Log PePp
NOTE: AUTOEXEC processing completed.
1
2
3

data kelas d;
input rep dp tt;
cards;

NOTE: The data set WORK.KELAS has 12 observations and 3 variables.


NOTE: The data set WORK.D has 12 observations and 3 variables.
NOTE: DATA statement used (Total process time):
real time
0.23 seconds
cpu time
0.23 seconds
16 ;
17 proc print;
18 run;
NOTE: There were 12 observations read from the data set WORK.D.
NOTE: PROCEDURE PRINT used (Total process time):
real time
0.07 seconds
cpu time
0.07 seconds

Nama : Muhammad Rizki


NPM : 1314121197

1. Pe Variate
data kelas d;
input rep dp tt;
cards;
1 1 20
1 2 36
1 3 40
2 1 24
2 2 38
2 3 42
3 1 22
3 2 37
3 3 41
4 1 21
4 2 40
4 3 43
;
proc print;
run;
proc univariate;
var tt;
run

2. Output Variate

The SAS System


Obs
1
2

rep
1
1

dp
1
2

20
36

tt

09:13 Thursday, May 9, 2016 1

Nama : Muhammad Rizki


NPM : 1314121197
3
4
5
6
7
8
9
10
11
12

1
2
2
2
3
3
3
4
4
4

3
1
2
3
1
2
3
1
2
3

40
24
38
42
22
37
41
21
40
43

3. Log Variate
NOTE: AUTOEXEC processing completed.
1
2
3

data kelas d;
input rep dp tt;
cards;

NOTE: The data set WORK.KELAS has 12 observations and 3 variables.


NOTE: The data set WORK.D has 12 observations and 3 variables.
NOTE: DATA statement used (Total process time):
real time
0.25 seconds
cpu time
0.23 seconds
16 ;
17 proc print;
18 run;
NOTE: There were 12 observations read from the data set WORK.D.
NOTE: PROCEDURE PRINT used (Total process time):
real time
0.07 seconds
cpu time
0.07 seconds

Nama : Muhammad Rizki


NPM : 1314121197

19 proc univariate;
20 var tt;
21 run

1. Pe GLM
data kelas d;
input rep dp tt;
cards;
1 1 20
1 2 36
1 3 40
2 1 24
2 2 38
2 3 42
3 1 22
3 2 37
3 3 41
4 1 21
4 2 40
4 3 43
;
proc glm;
class rep dp;
model tt = rep dp;
run;

Nama : Muhammad Rizki


NPM : 1314121197

2. Output GLM

The SAS System

09:13 Thursday, May 9, 2016 2

The GLM Procedure


Class Level Information
Class

Levels

Values

rep

1234

dp

123

Number of Observations Read


Number of Observations Used

12
12

Nama : Muhammad Rizki


NPM : 1314121197
The SAS System

09:13 Thursday, May 9, 2016 3

The GLM Procedure


Dependent Variable: tt
Source

DF

Sum of
Squares

Model

894.8333333

Error

Corrected Total

7.8333333
11

R-Square

Source
rep
dp
Source
rep
dp

3
2
DF
3
2

178.9666667

Pr > F

137.08

<.0001

1.3055556

Root MSE

3.393888
DF

F Value

902.6666667

Coeff Var

0.991322

Mean Square

Type I SS
14.6666667
880.1666667
Type III SS
14.6666667
880.1666667

1.142609

tt Mean
33.66667

Mean Square
4.8888889
440.0833333
Mean Square
4.8888889
440.0833333

F Value

Pr > F

3.74 0.0793
337.09 <.0001
F Value

Pr > F

3.74 0.0793
337.09 <.0001

Nama : Muhammad Rizki


NPM : 1314121197

3. Log GLM

22 data kelas d;
ERROR: Unrecognized form of the RUN statement. Use either RUN; or RUN CANCEL;.
23 input rep dp tt;
----180
24 cards;
----180
25 1 1 20
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
26
27
28
29
30
31
32
33
34
35
36
37

1
1
2
2
2
3
3
3
4
4
4
;

2
3
1
2
3
1
2
3
1
2
3

36
40
24
38
42
22
37
41
21
40
43

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE UNIVARIATE used (Total process time):
real time
7:05.40
cpu time
21.71 seconds

Nama : Muhammad Rizki


NPM : 1314121197
38
39
40
41

proc glm;
class rep dp;
model tt = rep dp;
run;

1. Pe Tuckey
data kelas d;
input rep dp tt;
cards;
1 1 20
1 2 36
1 3 40
2 1 24
2 2 38
2 3 42
3 1 22
3 2 37
3 3 41
4 1 21
4 2 40
4 3 43
;
proc glm;
class rep dp;
model tt = rep dp;
means dp/tuckey;
run;

Nama : Muhammad Rizki


NPM : 1314121197

2. Output Tuckey
The SAS System

09:13 Thursday, May 9, 2016 4

The GLM Procedure


Class Level Information
Class

Levels

Values

rep

1234

dp

123

Number of Observations Read


Number of Observations Used
The SAS System

12
12
09:13 Thursday, May 9, 2016 5

The GLM Procedure


Dependent Variable: tt
Source

DF

Sum of
Squares

Model

894.8333333

Error

Corrected Total
R-Square
0.991322

7.8333333
11

Mean Square

F Value

178.9666667

137.08

1.3055556

902.6666667

Coeff Var
3.393888

Root MSE
1.142609

tt Mean
33.66667

Pr > F
<.0001

Nama : Muhammad Rizki


NPM : 1314121197
Source
rep
dp
Source
rep
dp

DF
3
2
DF
3
2

Type I SS
14.6666667
880.1666667
Type III SS
14.6666667
880.1666667

Mean Square
4.8888889
440.0833333
Mean Square
4.8888889
440.0833333

F Value

Pr > F

3.74 0.0793
337.09 <.0001
F Value

Pr > F

3.74 0.0793
337.09 <.0001

Nama : Muhammad Rizki


NPM : 1314121197
The SAS System

09:13 Thursday, May 9, 2016 6

The GLM Procedure


Tukey's Studentized Range (HSD) Test for tt
NOTE: This test controls the Type I experimentwise error rate, but it generally has a higher
Type II error rate than REGWQ.
Alpha
0.05
Error Degrees of Freedom
6
Error Mean Square
1.305556
Critical Value of Studentized Range 4.33902
Minimum Significant Difference
2.4789
Means with the same letter are not significantly different.
Tukey Grouping

Mean

41.5000

37.7500

21.7500

dp

3. log Tuckey
NOTE: PROCEDURE GLM used (Total process time):
real time
3:04.71
cpu time
7.03 seconds
42 data kelas d;

Nama : Muhammad Rizki


NPM : 1314121197
43 input rep dp tt;
44 cards;
NOTE: The data set WORK.KELAS has 12 observations and 3 variables.
NOTE: The data set WORK.D has 12 observations and 3 variables.
NOTE: DATA statement used (Total process time):
real time
0.14 seconds
cpu time
0.09 seconds
57
58
59
60
61

;
proc glm;
class rep dp;
model tt = rep dp;
means dp/tuckey;
-----1
WARNING 1-322: Assuming the symbol TUKEY was misspelled as tuckey.
62 run;
NOTE: Means from the MEANS statement are not adjusted for other terms in the model. For
adjusted means, use the LSMEANS statement.