You are on page 1of 2

PROGRAM EDITOR 2 N60 V5 6.

3
2 N60 V6 3.8
data data1; 2 N120 V1 7.8
input ulangan N$ V$ hasil; 2 N120 V2 9.3
cards; 2 N120 V3 8.3
1 N0 V1 3.3 2 N120 V4 8.8
1 N0 V2 5.0 2 N120 V5 6.0
1 N0 V3 3.6 2 N120 V6 3.7
1 N0 V4 3.7 3 N0 V1 5.3
1 N0 V5 5.4 3 N0 V2 6.0
1 N0 V6 3.6 3 N0 V3 6.6
1 N60 V1 5.1 3 N0 V4 4.8
1 N60 V2 6.6 3 N0 V5 5.6
1 N60 V3 5.6 3 N0 V6 4.3
1 N60 V4 5.8 3 N60 V1 5.9
1 N60 V5 6.5 3 N60 V2 8.2
1 N60 V6 4.9 3 N60 V3 8.0
1 N120 V1 8.2 3 N60 V4 5.8
1 N120 V2 8.0 3 N60 V5 7.0
1 N120 V3 8.6 3 N60 V6 5.4
1 N120 V4 7.8 3 N120 V1 9.6
1 N120 V5 7.9 3 N120 V2 7.3
1 N120 V6 2.5 3 N120 V3 9.6
2 N0 V1 4.9 3 N120 V4 7.6
2 N0 V2 6.8 3 N120 V5 7.1
2 N0 V3 5.5 3 N120 V6 4.2
2 N0 V4 6.6 ;
2 N0 V5 4.3 proc glm data=data1;
2 N0 V6 4.7 class ulangan N V;
2 N60 V1 7.4 model hasil=V ulangan(V) N V*N;
2 N60 V2 8.3 contrast 'Nlin' N -1 0 1;
2 N60 V3 7.6 contrast 'Nkua' N 1 -2 1;
2 N60 V4 8.0 run;

LOG 3 cards;

NOTE: The data set WORK.DATA1 has 54 observations and 4


NOTE: Copyright (c) 2002 by SAS Institute Inc., Cary,
variables.
NC, USA.
NOTE: DATA statement used (Total process time):
NOTE: SAS (r) Proprietary Software Version 9.00 (TS M0)
real time 0.01 seconds
Licensed to SUNY AT STONY BROOK, Site 0013402001.
cpu time 0.01 seconds
NOTE: This session is executing on the XP_PRO
platform.
58 ;
59 proc glm data=data1;
60 class ulangan N V;
NOTE: SAS initialization used:
61 model hasil=V ulangan(V) N V*N;
real time 1.07 seconds
62 contrast 'Nlin' N -1 0 1;
cpu time 0.77 seconds
63 contrast 'Nkua' N 1 -2 1;
64 run;
1 data data1;
2 input ulangan N$ V$ hasil;

OUTPUT

The SAS System 1


21:06 Wednesday, November 24, 2019

The ANOVA Procedure

Class Level Information

Class Levels Values

ulangan 3 1 2 3

N 3 N0 N120 N60

V 6 V1 V2 V3 V4 V5 V6

Number of observations 54
The SAS System 2
21:19 Wednesday, November 24, 2019

The GLM Procedure

Dependent Variable: hasil

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

Model 29 156.6342593 5.4011814 11.78 <.0001

Error 24 11.0022222 0.4584259

Corrected Total 53 167.6364815

R-Square Coeff Var Root MSE hasil Mean

0.934369 10.80114 0.677072 6.268519

Source DF Type I SS Mean Square F Value Pr > F

V 5 56.87203704 11.37440741 24.81 <.0001


ulangan(V) 12 24.98444444 2.08203704 4.54 0.0008
N 2 50.64703704 25.32351852 55.24 <.0001
N*V 10 24.13074074 2.41307407 5.26 0.0004

Source DF Type III SS Mean Square F Value Pr > F

V 5 56.87203704 11.37440741 24.81 <.0001


ulangan(V) 12 24.98444444 2.08203704 4.54 0.0008
N 2 50.64703704 25.32351852 55.24 <.0001
N*V 10 24.13074074 2.41307407 5.26 0.0004

Contrast DF Contrast SS Mean Square F Value Pr > F

Nlin 1 19.06777778 19.06777778 41.59 <.0001


Nkua 1 31.57925926 31.57925926 68.89 <.0001

HASIL UJI KONTRAS

Contrast db JK KT F-hitung Pr > F


Nlin 1 19.06777778 19.06777778 41.59 <.0001
Nkua 1 31.57925926 31.57925926 68.89 <.0001

You might also like