Você está na página 1de 17

The SAS System

7
12:05 Thursday, August 29, 2002
The GLM Procedure
Class Level Information

Class
blq
trt

Levels
4
4

Values

1234
1234

Number of observations

16

NOTE: Due to missing values, only 12 observations can be used in this


analysis.

The SAS System


8
12:05 Thursday, August 29, 2002
The GLM Procedure
Dependent Variable: tiempo
Sum of
Squares Mean Square F Value Pr > F

Source

DF

Model

6 77.75000000 12.95833333

Error

Corrected Total
R-Square
0.959877
Source
blq
trt

3.25000000

19.94 0.0024

0.65000000

11 81.00000000
Coeff Var
1.112036

Root MSE
0.806226

tiempo Mean
72.50000

DF Type III SS Mean Square F Value Pr > F


3 66.08333333 22.02777778 33.89 0.0010
3 22.75000000 7.58333333 11.67 0.0107

The SAS System


9
12:05 Thursday, August 29, 2002
The GLM Procedure
Source
blq
trt

Type III Expected Mean Square


Var(Error) + 2.6667 Var(blq)
Var(Error) + Q(trt)

The SAS System


10
12:05 Thursday, August 29, 2002
The GLM Procedure
Tests of Hypotheses for Mixed Model Analysis of Variance
Dependent Variable: tiempo
Source
blq
trt
Error: MS(Error)

DF Type III SS Mean Square F Value Pr > F


3
3

66.083333
22.750000
5

22.027778 33.89 0.0010


7.583333 11.67 0.0107

3.250000

0.650000

The SAS System


11
12:05 Thursday, August 29, 2002
Least Squares Means
trt

tiempo
LSMEAN

1
2
3
4

71.3750000
71.6250000
72.0000000
75.0000000

LSMEAN
Number
1
2
3
4

Least Squares Means for Effect trt


t for H0: LSMean(i)=LSMean(j) / Pr > |t|
Dependent Variable: tiempo
i/j

1
1
2
3
4

-0.35806
-0.89514
-5.19183
0.7349
0.4117
0.0035
0.358057
-0.53709
-4.83378
0.7349
0.6142
0.0047
0.895144
0.537086
-4.29669
0.4117
0.6142
0.0077
5.191833
4.833775
4.296689
0.0035
0.0047
0.0077

NOTE: To ensure overall protection level, only probabilities associated


with pre-planned comparisons should be used.

The SAS System


12
12:05 Thursday, August 29, 2002

Dependent Variable: tiempo


Parameter
t1-t2
t2-t3
t3-t4

Standard
Estimate
Error
0.25000000
0.37500000
3.00000000

t Value

0.69821200
0.69821200
0.69821200

0.36
0.54
4.30

Pr > |t|
0.7349
0.6142
0.0077

The SAS System


13
12:05 Thursday, August 29, 2002
The Mixed Procedure
Model Information
Data Set
WORK.DBI
Dependent Variable
tiempo
Covariance Structure
Variance Components
Estimation Method
REML
Residual Variance Method
Profile
Fixed Effects SE Method
Model-Based
Degrees of Freedom Method Satterthwaite
Class Level Information
Class
blq
trt

Levels

Values

4 1234
4 1234
Dimensions
Covariance Parameters
2
Columns in X
5
Columns in Z
4
Subjects
1
Max Obs Per Subject
16
Observations Used
12
Observations Not Used
4
Total Observations
16
Iteration History

Iteration
0
1

Evaluations
1
1

-2 Res Log Like

44.37333968
34.22046396

Convergence criteria met.


Covariance Parameter
Estimates
Cov Parm
blq
Residual

Estimate
8.0167
0.6500

Criterion

0.00000000

The SAS System


14
12:05 Thursday, August 29, 2002
The Mixed Procedure
Fit Statistics
-2 Res Log Likelihood
AIC (smaller is better)
AICC (smaller is better)
BIC (smaller is better)

34.2
38.2
40.6
37.0

Type 3 Tests of Fixed Effects


Num
DF

Effect
trt

Den
DF
5.03

F Value

Pr > F

11.41

0.0111

DF

t Value

Estimates
Label

Standard
Estimate
Error

t1-t2
t2-t3
t3-t4

0.2033
0.3836
2.9705

0.6971
0.6971
0.6971

5.03
5.03
5.03

Pr > |t|

0.29
0.55
4.26

0.7822
0.6056
0.0079

Least Squares Means


Effect
trt
trt
trt
trt

trt
1
2
3
4

Standard
Estimate
Error
71.4131
71.6164
72.0000
74.9705

1.4968
1.4968
1.4968
1.4968

DF

t Value

3.51
3.51
3.51
3.51

Pr > |t|

47.71
47.84
48.10
50.09

<.0001
<.0001
<.0001
<.0001

Differences of Least Squares Means


Effect
trt
trt
trt
trt
trt
trt

trt
1
1
1
2
2
3

_trt
2
3
4
3
4
4

Standard
Estimate
Error
-0.2033
-0.5869
-3.5574
-0.3836
-3.3541
-2.9705

0.6971
0.6971
0.6971
0.6971
0.6971
0.6971

PRACTICA 10
options ls=76 ps=56;
data dbi;
input auto adit$ rend;
cards;
1
A
.
2
A
17
3
A
14
4
A
13
5
A
12

DF

t Value

5.03
5.03
5.03
5.03
5.03
5.03

-0.29
-0.84
-5.10
-0.55
-4.81
-4.26

Pr > |t|
0.7822
0.4380
0.0037
0.6056
0.0048
0.0079

1
B
14
2
B
14
3
B
.
4
B
13
5
B
10
1
C
12
2
C
.
3
C
13
4
C
12
5
C
9
1
D
13
2
D
11
3
D
11
4
D
12
5
D
.
1
E
11
2
E
12
3
E
10
4
E
.
5
E
8
;
proc glm;
class auto adit;
model rend= auto adit/ss3;
random auto/test;
lsmeans adit/tdiff;
estimate 'A-B' adit 1 -1 0 0 0;
estimate 'B-C' adit 0 1 -1 0 0;
estimate 'C-D' adit 0 0 1 -1 0;
estimate 'D-E' adit 0 0 0 1 -1;
run;
proc mixed;
class auto adit;
model rend= adit/ddfm=satterth;
random auto;
lsmeans adit/pdiff;
estimate 'A-B' adit 1 -1 0 0 0;
estimate 'B-C' adit 0 1 -1 0 0;
estimate 'C-D' adit 0 0 1 -1 0;
estimate 'D-E' adit 0 0 0 1 -1;
run;
20
12:05 Thursday, August 29, 2002
The GLM Procedure
Class Level Information
Class

Levels

auto

adit

Values
12345

ABCDE

Number of observations

25

NOTE: Due to missing values, only 20 observations can be used in this


analysis.

The SAS System


21
12:05 Thursday, August 29, 2002
The GLM Procedure
Dependent Variable: rend
Sum of
Squares Mean Square F Value Pr > F

Source

DF

Model

8 66.93333333

8.36666667

11 10.01666667

0.91060606

Error
Corrected Total
R-Square
0.869829
Source
auto
adit

9.19 0.0007

19 76.95000000
Coeff Var
7.919144

Root MSE
0.954257

rend Mean
12.05000

DF Type III SS Mean Square F Value Pr > F


4 35.23333333 8.80833333
4 35.73333333 8.93333333

9.67 0.0013
9.81 0.0012

The SAS System


22
12:05 Thursday, August 29, 2002
The GLM Procedure
Source
auto
adit

Type III Expected Mean Square


Var(Error) + 3.75 Var(auto)
Var(Error) + Q(adit)

The SAS System


23
12:05 Thursday, August 29, 2002
The GLM Procedure
Tests of Hypotheses for Mixed Model Analysis of Variance
Dependent Variable: rend
Source
auto
adit
Error: MS(Error)

DF Type III SS Mean Square F Value Pr > F


4
4

35.233333
35.733333
11

8.808333
8.933333

10.016667

9.67 0.0013
9.81 0.0012

0.910606

The SAS System


24
12:05 Thursday, August 29, 2002
Least Squares Means
adit

LSMEAN
rend LSMEAN
Number

A
B
C
D
E

14.2500000
12.7833333
11.8500000
11.1166667
10.2500000

1
2
3
4
5

Least Squares Means for Effect adit


t for H0: LSMean(i)=LSMean(j) / Pr > |t|
Dependent Variable: rend
i/j

1
1
2
3
4
5

2.104587
3.443869
4.496162
5.739781
0.0591
0.0055
0.0009
0.0001
-2.10459
1.339282
2.391576
3.635195
0.0591
0.2075
0.0358
0.0039
-3.44387
-1.33928
1.052293
2.295913
0.0055
0.2075
0.3152
0.0423
-4.49616
-2.39158
-1.05229
1.243619
0.0009
0.0358
0.3152
0.2395
-5.73978
-3.63519
-2.29591
-1.24362
0.0001
0.0039
0.0423
0.2395

NOTE: To ensure overall protection level, only probabilities associated


with pre-planned comparisons should be used.

The SAS System


25
12:05 Thursday, August 29, 2002

Dependent Variable: rend


Parameter
A-B
B-C
C-D
D-E

Standard
Estimate
Error
1.46666667
0.93333333
0.73333333
0.86666667

t Value

0.69689064
0.69689064
0.69689064
0.69689064

2.10
1.34
1.05
1.24

Pr > |t|
0.0591
0.2075
0.3152
0.2395

The SAS System


26
12:05 Thursday, August 29, 2002
The Mixed Procedure
Model Information
Data Set
WORK.DBI
Dependent Variable
rend
Covariance Structure
Variance Components
Estimation Method
REML
Residual Variance Method
Profile
Fixed Effects SE Method
Model-Based
Degrees of Freedom Method Satterthwaite
Class Level Information
Class
auto
adit

Levels

Values

5 12345
5 ABCDE
Dimensions

Covariance Parameters
2
Columns in X
6
Columns in Z
5
Subjects
1
Max Obs Per Subject
25
Observations Used
20
Observations Not Used
5
Total Observations
25
Iteration History
Iteration
0
1

Evaluations
1
1

-2 Res Log Like

66.06191484
57.17232687

Convergence criteria met.


Covariance Parameter
Estimates
Cov Parm
auto
Residual

Estimate
2.1061
0.9106

Criterion

0.00000000

The SAS System


27
12:05 Thursday, August 29, 2002
The Mixed Procedure
Fit Statistics
-2 Res Log Likelihood
AIC (smaller is better)
AICC (smaller is better)
BIC (smaller is better)

57.2
61.2
62.2
60.4

Type 3 Tests of Fixed Effects


Effect

Num
DF

adit

Den
DF

F Value

11.1

Pr > F

9.65

0.0013

DF

t Value

Estimates
Label

Standard
Estimate
Error

A-B
B-C
C-D
D-E

1.4443
0.9661
0.6317
0.9321

0.6946
0.6946
0.6946
0.6946

11.1
11.1
11.1
11.1

Pr > |t|

2.08
1.39
0.91
1.34

0.0615
0.1914
0.3824
0.2063

Least Squares Means


Effect
adit
adit
adit
adit
adit

adit
A
B
C
D
E

Standard
Estimate
Error
14.2242
12.7799
11.8138
11.1821
10.2500

0.8122
0.8122
0.8122
0.8122
0.8122

DF

t Value

7.41
7.41
7.41
7.41
7.41

17.51
15.73
14.54
13.77
12.62

Pr > |t|
<.0001
<.0001
<.0001
<.0001
<.0001

Differences of Least Squares Means


Standard
Effect adit _adit Estimate
Error
adit
adit
adit
adit
adit
adit
adit

A
A
A
A
B
B
B

B
C
D
E
C
D
E

1.4443
2.4103
3.0420
3.9742
0.9661
1.5977
2.5299

0.6946
0.6946
0.6946
0.6946
0.6946
0.6946
0.6946

DF t Value Pr > |t|


11.1
11.1
11.1
11.1
11.1
11.1
11.1

2.08
3.47
4.38
5.72
1.39
2.30
3.64

0.0615
0.0051
0.0011
0.0001
0.1914
0.0417
0.0038

Você também pode gostar