Parctica DBCAF

You might also like

Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 4

PRACTICA DBCA-F

options ls=76 ps=56;


data dbca_f;
input blq tiemp dieta$ peso;
cards;
1 0 N 8.5
1 0 AP 15.5
1 0 AG 8.5
1 0 AC 15.5
1 1 N 14.0
1 1 AP 20.2
1 1 AG 13.0
1 1 AC 21.0
1 2 N 24.5
1 2 AP 27.0
1 2 AG 22.0
1 2 AC 24.0
2 0 N 11.5
2 0 AP 16.5
2 0 AG 7.5
2 0 AC 13.5
2 1 N 16.0
2 1 AP 23.0
2 1 AG 11.0
2 1 AC 18.0
2 2 N 19.5
2 2 AP 24.0
2 2 AG 27.0
2 2 AC 27.5
;
proc glm;
class blq tiemp dieta;
model peso= blq tiemp dieta tiemp*dieta/ss3;
random blq/test;
lsmeans tiemp/pdiff;
lsmeans dieta/stderr;
run;
estimate "AP-AC" dieta 0 1 0 -1;
estimate "N-AG" dieta 1 0 -1 0;
contrast "n_lin" tiemp -1 0 1;
contrast "n_cua" tiemp 1 -2 1;
run;

The SAS System


1
15:47 Tuesday, May 7, 2002
The GLM Procedure

Class Level Information


Class

Levels

blq

tiemp

Values

12
3

dieta

012
AC AG AP N

Number of observations

24

The SAS System


2
15:47 Tuesday, May 7, 2002
The GLM Procedure
Dependent Variable: peso
Sum of
Squares Mean Square F Value Pr > F

Source

DF

Model

12 829.6616667

Error

11

Corrected Total

Coeff Var

0.937327

blq
tiemp
dieta
tiemp*dieta

13.71 <.0001

5.0431439

23 885.1362500

R-Square

Source

55.4745833

69.1384722

12.57212

Root MSE
2.245695

peso Mean
17.86250

DF Type III SS Mean Square F Value Pr > F


1

0.0704167
0.0704167
0.01 0.9081
2 614.8075000 307.4037500 60.95 <.0001
3 169.6279167 56.5426389 11.21 0.0011
6 45.1558333
7.5259722
1.49 0.2672

The SAS System


3
15:47 Tuesday, May 7, 2002
The GLM Procedure
Source

Type III Expected Mean Square

blq

Var(Error) + 12 Var(blq)

tiemp

Var(Error) + Q(tiemp,tiemp*dieta)

dieta

Var(Error) + Q(dieta,tiemp*dieta)

tiemp*dieta

Var(Error) + Q(tiemp*dieta)
The SAS System
4
15:47 Tuesday, May 7, 2002

The GLM Procedure


Tests of Hypotheses for Mixed Model Analysis of Variance
Dependent Variable: peso
Source

DF Type III SS Mean Square F Value Pr > F

blq
* tiemp
* dieta
tiemp*dieta

0.070417
0.070417
0.01 0.9081
2 614.807500 307.403750 60.95 <.0001
3 169.627917
56.542639 11.21 0.0011
6
45.155833
7.525972
1.49 0.2672

Error: MS(Error)
11
55.474583
5.043144
* This test assumes one or more other fixed effects are zero.
The SAS System
5
15:47 Tuesday, May 7, 2002

Least Squares Means


LSMEAN
peso LSMEAN
Number

tiemp
0
1
2

12.1250000
17.0250000
24.4375000

1
2
3

Least Squares Means for effect tiemp


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

1
1
2
3

0.0011
<.0001

2
0.0011
<.0001

3
<.0001
<.0001

NOTE: To ensure overall protection level, only probabilities associated


with pre-planned comparisons should be used.
The SAS System
6
15:47 Tuesday, May 7, 2002

Least Squares Means

dieta

Standard
peso LSMEAN
Error

AC
AG
AP
N

19.9166667
14.8333333
21.0333333
15.6666667

0.9168010
0.9168010
0.9168010
0.9168010

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

The SAS System


7
15:47 Tuesday, May 7, 2002

Dependent Variable: peso


Contrast
n_lin
n_cua

Parameter
AP-AC
N-AG

DF Contrast SS Mean Square F Value Pr > F


1 606.3906250 606.3906250 120.24 <.0001
1
8.4168750
8.4168750
1.67 0.2229

Standard
Estimate
Error
-0.83333333
-1.11666667

t Value

1.29655234
1.29655234

Pr > |t|

-0.64
-0.86

0.5336
0.4075

You might also like