You are on page 1of 57

The SAS System

1
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: cant
Moments

N
Mean
Std Deviation
Skewness
Uncorrected SS
Coeff Variation

16 Sum Weights
16
29.3875 Sum Observations
470.2
1.46372812 Variance
2.1425
-0.163769 Kurtosis
-1.2005373
13850.14 Corrected SS
32.1375
4.98078474 Std Error Mean
0.36593203

Basic Statistical Measures


Location

Variability

Mean
29.38750
Std Deviation
Median 29.50000
Variance
Mode
31.00000
Range
Interquartile Range

1.46373
2.14250
4.60000
2.45000

Tests for Location: Mu0=0


Test

-Statistic-

-----p Value------

Student's t t 80.30863 Pr > |t| <.0001


Sign
M
8 Pr >= |M| <.0001
Signed Rank S
68 Pr >= |S| <.0001
Tests for Normality
Test

--Statistic---

-----p Value------

Shapiro-Wilk
W
0.948581 Pr < W
0.4675
Kolmogorov-Smirnov D
0.130446 Pr > D
>0.1500
Cramer-von Mises
W-Sq 0.037982 Pr > W-Sq >0.2500
Anderson-Darling
A-Sq 0.28328 Pr > A-Sq >0.2500
Quantiles (Definition 5)
Quantile

Estimate

100% Max
31.70
99%
31.70
95%
31.70
90%
31.00
75% Q3
30.65
50% Median
29.50
25% Q1
28.20

The SAS System


2
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: cant
Quantiles (Definition 5)
Quantile

Estimate

10%
5%
1%
0% Min

27.30
27.10
27.10
27.10

Extreme Observations
----Lowest----

----Highest---

Value

Obs

Value

27.1
27.3
27.4
28.0
28.4

8
4
16
12
5

30.5
30.8
31.0
31.0
31.7

Stem Leaf
31 007
30 458
29 469
28 0489
27 134
----+----+----+----+

#
3
3
3
4
3

Obs
7
10
2
15
11
Boxplot
|
+-----+
*--+--*
+-----+
|

Normal Probability Plot


31.5+
* +*++++*
|
*+*+*+++
29.5+
+*+**++
|
+*+*+*+*
27.5+
* +++*++*
+----+----+----+----+----+----+----+----+----+----+
-2
-1
0
+1
+2

The SAS System


3
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: cant
Moments
N
Mean
Std Deviation
Skewness
Uncorrected SS
Coeff Variation

16 Sum Weights
16
29.3875 Sum Observations
470.2
1.46372812 Variance
2.1425
-0.163769 Kurtosis
-1.2005373
13850.14 Corrected SS
32.1375
4.98078474 Std Error Mean
0.36593203

Basic Statistical Measures


Location

Variability

Mean
29.38750
Std Deviation
Median 29.50000
Variance
Mode
31.00000
Range
Interquartile Range

1.46373
2.14250
4.60000
2.45000

Tests for Location: Mu0=0


Test

-Statistic-

-----p Value------

Student's t t 80.30863 Pr > |t| <.0001


Sign
M
8 Pr >= |M| <.0001
Signed Rank S
68 Pr >= |S| <.0001
Tests for Normality
Test

--Statistic---

-----p Value------

Shapiro-Wilk
W
0.948581 Pr < W
0.4675
Kolmogorov-Smirnov D
0.130446 Pr > D
>0.1500
Cramer-von Mises
W-Sq 0.037982 Pr > W-Sq >0.2500
Anderson-Darling
A-Sq 0.28328 Pr > A-Sq >0.2500
Quantiles (Definition 5)
Quantile

Estimate

100% Max
31.70
99%
31.70
95%
31.70
90%
31.00
75% Q3
30.65
50% Median
29.50
25% Q1
28.20

The SAS System


4
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: cant
Quantiles (Definition 5)
Quantile

Estimate

10%
5%
1%
0% Min

27.30
27.10
27.10
27.10

Extreme Observations
----Lowest----

----Highest---

Value

Obs

Value

27.1
27.3
27.4
28.0
28.4

8
4
16
12
5

30.5
30.8
31.0
31.0
31.7

Stem Leaf
31 007
30 458
29 469
28 0489
27 134
----+----+----+----+

#
3
3
3
4
3

Obs
7
10
2
15
11
Boxplot
|
+-----+
*--+--*
+-----+
|

Normal Probability Plot


31.5+
* +*++++*
|
*+*+*+++
29.5+
+*+**++
|
+*+*+*+*
27.5+
* +++*++*
+----+----+----+----+----+----+----+----+----+----+
-2
-1
0
+1
+2

The SAS System


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

Levels

Values

blq

1234

filtro

abcd

Number of observations

16

The SAS System


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

Source

DF

Model

6 30.98500000

Error

Corrected Total
R-Square
0.964138
Source
blq
filtro

1.15250000

5.16416667

40.33 <.0001

0.12805556

15 32.13750000
Coeff Var
1.217690

Root MSE
0.357849

cant Mean
29.38750

DF Type III SS Mean Square F Value Pr > F


3 2.81250000
3 28.17250000

0.93750000
9.39083333

7.32 0.0087
73.33 <.0001

The SAS System


7
12:05 Thursday, August 29, 2002
The GLM Procedure
Source

Type III Expected Mean Square

blq

Var(Error) + 4 Var(blq)

filtro

Var(Error) + Q(filtro)

The SAS System


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

DF Type III SS Mean Square F Value Pr > F


3
3

2.812500
28.172500
9

0.937500
9.390833

1.152500

7.32 0.0087
73.33 <.0001

0.128056

The SAS System


9
12:05 Thursday, August 29, 2002
Least Squares Means
filtro

LSMEAN
cant LSMEAN
Number

a
b
c
d

28.9250000
30.2750000
30.9000000
27.4500000

1
2
3
4

Least Squares Means for Effect filtro


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

1
1
2
3
4

-5.33519
-7.80518
5.829185
0.0005
<.0001
0.0003
5.335186
-2.46999
11.16437
0.0005
0.0356
<.0001
7.805179
2.469993
13.63436
<.0001
0.0356
<.0001
-5.82918
-11.1644
-13.6344
0.0003
<.0001
<.0001

NOTE: To ensure overall protection level, only probabilities associated


with pre-planned comparisons should be used.

The SAS System


10
12:05 Thursday, August 29, 2002

Dependent Variable: cant


Parameter
c-a

Standard
Estimate
Error
0.62500000

0.25303711

t Value
2.47

Pr > |t|
0.0356

3 corridaaa
The SAS System

21
12:05 Thursday, August 29, 2002

The UNIVARIATE Procedure


Variable: cant
Moments
N
Mean
Std Deviation
Skewness
Uncorrected SS
Coeff Variation

16 Sum Weights
16
29.3875 Sum Observations
470.2
1.46372812 Variance
2.1425
-0.163769 Kurtosis
-1.2005373
13850.14 Corrected SS
32.1375
4.98078474 Std Error Mean
0.36593203

Basic Statistical Measures


Location

Variability

Mean
29.38750
Std Deviation
Median 29.50000
Variance
Mode
31.00000
Range
Interquartile Range

1.46373
2.14250
4.60000
2.45000

Tests for Location: Mu0=0


Test

-Statistic-

-----p Value------

Student's t t 80.30863 Pr > |t| <.0001


Sign
M
8 Pr >= |M| <.0001
Signed Rank S
68 Pr >= |S| <.0001
Tests for Normality
Test

--Statistic---

-----p Value------

Shapiro-Wilk
W
0.948581 Pr < W
0.4675
Kolmogorov-Smirnov D
0.130446 Pr > D
>0.1500
Cramer-von Mises
W-Sq 0.037982 Pr > W-Sq >0.2500
Anderson-Darling
A-Sq 0.28328 Pr > A-Sq >0.2500
Quantiles (Definition 5)
Quantile

Estimate

100% Max
31.70
99%
31.70
95%
31.70
90%
31.00
75% Q3
30.65
50% Median
29.50
25% Q1
28.20

The SAS System


22
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: cant
Quantiles (Definition 5)
Quantile

Estimate

10%
5%
1%
0% Min

27.30
27.10
27.10
27.10

Extreme Observations
----Lowest----

----Highest---

Value

Obs

Value

27.1
27.3
27.4
28.0
28.4

8
4
16
12
5

30.5
30.8
31.0
31.0
31.7

Stem Leaf
31 007
30 458
29 469
28 0489
27 134
----+----+----+----+

#
3
3
3
4
3

Obs
7
10
2
15
11
Boxplot
|
+-----+
*--+--*
+-----+
|

Normal Probability Plot


31.5+
* +*++++*
|
*+*+*+++
29.5+
+*+**++
|
+*+*+*+*
27.5+
* +++*++*
+----+----+----+----+----+----+----+----+----+----+
-2
-1
0
+1
+2

The SAS System


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

Levels

Values

blq

1234

filtro

abcd

Number of observations

16

The SAS System


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

Source

DF

Model

6 30.98500000

Error

Corrected Total
R-Square
0.964138
Source
blq
filtro

1.15250000

5.16416667

40.33 <.0001

0.12805556

15 32.13750000
Coeff Var
1.217690

Root MSE
0.357849

cant Mean
29.38750

DF Type III SS Mean Square F Value Pr > F


3 2.81250000
3 28.17250000

0.93750000
9.39083333

7.32 0.0087
73.33 <.0001

The SAS System


25
12:05 Thursday, August 29, 2002
The GLM Procedure
Source

Type III Expected Mean Square

blq

Var(Error) + 4 Var(blq)

filtro

Var(Error) + Q(filtro)

The SAS System


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

DF Type III SS Mean Square F Value Pr > F


3
3

2.812500
28.172500
9

0.937500
9.390833

1.152500

7.32 0.0087
73.33 <.0001

0.128056

The SAS System


27
12:05 Thursday, August 29, 2002
Least Squares Means
filtro

LSMEAN
cant LSMEAN
Number

a
b
c
d

28.9250000
30.2750000
30.9000000
27.4500000

1
2
3
4

Least Squares Means for Effect filtro


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

1
1
2
3
4

-5.33519
-7.80518
5.829185
0.0005
<.0001
0.0003
5.335186
-2.46999
11.16437
0.0005
0.0356
<.0001
7.805179
2.469993
13.63436
<.0001
0.0356
<.0001
-5.82918
-11.1644
-13.6344
0.0003
<.0001
<.0001

NOTE: To ensure overall protection level, only probabilities associated


with pre-planned comparisons should be used.

The SAS System


28
12:05 Thursday, August 29, 2002

Dependent Variable: cant


Parameter
c-a

Standard
Estimate
Error
0.62500000

0.25303711

t Value
2.47

Pr > |t|
0.0356

The SAS System


29
12:05 Thursday, August 29, 2002
The Mixed Procedure
Model Information
Data Set
WORK.DBCA
Dependent Variable
cant
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

Levels

blq
filtro

4
4

Values

1234
abcd
Dimensions

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

Evaluations
1
1

-2 Res Log Like

26.31089270
20.90846694

Convergence criteria met.


Covariance Parameter
Estimates
Cov Parm
blq
Residual

Estimate
0.2024
0.1281

Criterion

0.00000000

The SAS System


30
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)

20.9
24.9
26.2
23.7

Type 3 Tests of Fixed Effects


Effect

Num
DF

filtro

Den
DF
9

F Value
73.33

Pr > F

<.0001

Estimates
Label

Standard
Estimate
Error

DF

t Value

Pr > |t|

c-a

0.6250

2.47

0.0356

0.2530

Least Squares Means


Effect
filtro
filtro
filtro
filtro

Standard
Estimate
Error

filtro
a
b
c
d

28.9250
30.2750
30.9000
27.4500

0.2874
0.2874
0.2874
0.2874

DF
5.65
5.65
5.65
5.65

t Value
100.64
105.34
107.51
95.51

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

Arreglado con data=dbca


The SAS System

21
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: cant
Moments

N
Mean
Std Deviation
Skewness
Uncorrected SS
Coeff Variation

16 Sum Weights
16
29.3875 Sum Observations
470.2
1.46372812 Variance
2.1425
-0.163769 Kurtosis
-1.2005373
13850.14 Corrected SS
32.1375
4.98078474 Std Error Mean
0.36593203

Basic Statistical Measures


Location

Variability

Mean
29.38750
Std Deviation
Median 29.50000
Variance
Mode
31.00000
Range
Interquartile Range

1.46373
2.14250
4.60000
2.45000

Tests for Location: Mu0=0


Test

-Statistic-

-----p Value------

Student's t t 80.30863 Pr > |t| <.0001


Sign
M
8 Pr >= |M| <.0001
Signed Rank S
68 Pr >= |S| <.0001
Tests for Normality
Test

--Statistic---

-----p Value------

Shapiro-Wilk
W
0.948581 Pr < W
0.4675
Kolmogorov-Smirnov D
0.130446 Pr > D
>0.1500
Cramer-von Mises
W-Sq 0.037982 Pr > W-Sq >0.2500
Anderson-Darling
A-Sq 0.28328 Pr > A-Sq >0.2500
Quantiles (Definition 5)
Quantile

Estimate

100% Max
31.70
99%
31.70
95%
31.70
90%
31.00
75% Q3
30.65
50% Median
29.50
25% Q1
28.20

The SAS System


22
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: cant
Quantiles (Definition 5)
Quantile

Estimate

10%
5%
1%
0% Min

27.30
27.10
27.10
27.10

Extreme Observations
----Lowest----

----Highest---

Value

Obs

Value

27.1
27.3
27.4
28.0
28.4

8
4
16
12
5

30.5
30.8
31.0
31.0
31.7

Stem Leaf
31 007
30 458
29 469
28 0489
27 134
----+----+----+----+

#
3
3
3
4
3

Obs
7
10
2
15
11
Boxplot
|
+-----+
*--+--*
+-----+
|

Normal Probability Plot


31.5+
* +*++++*
|
*+*+*+++
29.5+
+*+**++
|
+*+*+*+*
27.5+
* +++*++*
+----+----+----+----+----+----+----+----+----+----+
-2
-1
0
+1
+2

The SAS System


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

Levels

Values

blq

1234

filtro

abcd

Number of observations

16

The SAS System


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

Source

DF

Model

6 30.98500000

Error

Corrected Total
R-Square
0.964138
Source
blq
filtro

1.15250000

5.16416667

40.33 <.0001

0.12805556

15 32.13750000
Coeff Var
1.217690

Root MSE
0.357849

cant Mean
29.38750

DF Type III SS Mean Square F Value Pr > F


3 2.81250000
3 28.17250000

0.93750000
9.39083333

7.32 0.0087
73.33 <.0001

The SAS System


25
12:05 Thursday, August 29, 2002
The GLM Procedure
Source

Type III Expected Mean Square

blq

Var(Error) + 4 Var(blq)

filtro

Var(Error) + Q(filtro)

The SAS System


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

DF Type III SS Mean Square F Value Pr > F


3
3

2.812500
28.172500
9

0.937500
9.390833

1.152500

7.32 0.0087
73.33 <.0001

0.128056

The SAS System


27
12:05 Thursday, August 29, 2002
Least Squares Means
filtro

LSMEAN
cant LSMEAN
Number

a
b
c
d

28.9250000
30.2750000
30.9000000
27.4500000

1
2
3
4

Least Squares Means for Effect filtro


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

1
1
2
3
4

-5.33519
-7.80518
5.829185
0.0005
<.0001
0.0003
5.335186
-2.46999
11.16437
0.0005
0.0356
<.0001
7.805179
2.469993
13.63436
<.0001
0.0356
<.0001
-5.82918
-11.1644
-13.6344
0.0003
<.0001
<.0001

NOTE: To ensure overall protection level, only probabilities associated


with pre-planned comparisons should be used.

The SAS System


28
12:05 Thursday, August 29, 2002

Dependent Variable: cant


Parameter
c-a

Standard
Estimate
Error
0.62500000

0.25303711

t Value
2.47

Pr > |t|
0.0356

The SAS System


29
12:05 Thursday, August 29, 2002
The Mixed Procedure
Model Information
Data Set
WORK.DBCA
Dependent Variable
cant
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

Levels

blq
filtro

4
4

Values

1234
abcd
Dimensions

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

Evaluations
1
1

-2 Res Log Like

26.31089270
20.90846694

Convergence criteria met.


Covariance Parameter
Estimates
Cov Parm
blq
Residual

Estimate
0.2024
0.1281

Criterion

0.00000000

The SAS System


30
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)

20.9
24.9
26.2
23.7

Type 3 Tests of Fixed Effects


Effect

Num
DF

filtro

Den
DF
9

F Value
73.33

Pr > F

<.0001

Estimates
Label

Standard
Estimate
Error

DF

t Value

Pr > |t|

c-a

0.6250

2.47

0.0356

0.2530

Least Squares Means


Effect
filtro
filtro
filtro
filtro

filtro
a
b
c
d

Standard
Estimate
Error
28.9250
30.2750
30.9000
27.4500

0.2874
0.2874
0.2874
0.2874

options ls=76 ps=56;


data dbca;
input blq filtro$ cant;
cards;
1
a
28.8
1
b
31.0
1
c
30.4
1
d
27.3

DF
5.65
5.65
5.65
5.65

t Value
100.64
105.34
107.51
95.51

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

2
a
28.4
2
b
29.4
2
c
30.5
2
d
27.1
3
a
29.6
3
b
30.8
3
c
31.7
3
d
28.0
4
a
28.9
4
b
29.9
4
c
31.0
4
d
27.4
;
proc univariate data=dbca normal plot;
var cant;
run;
proc glm data=dbca;
class blq filtro;
model cant=blq filtro/ss3;
random blq/test;
lsmeans filtro/tdiff;
estimate 'c-a' filtro 0 -1 1 0;
run;
proc mixed data=dbca;
class blq filtro;
model cant=filtro/ddfm=satterth;
random blq;
lsmeans filtro;
estimate 'c-a' filtro 0 -1 1 0;
run;

De la pracrtica 666666
The SAS System

58
12:05 Thursday, August 29, 2002

The UNIVARIATE Procedure


Variable: rend
Moments
N
20 Sum Weights
20
Mean
9.0395 Sum Observations
180.79
Std Deviation
1.99394735 Variance
3.97582605
Skewness
-0.1046227 Kurtosis
0.10171639
Uncorrected SS
1709.7919 Corrected SS
75.540695
Coeff Variation 22.0581598 Std Error Mean
0.44586018

Basic Statistical Measures


Location

Variability

Mean
9.039500
Std Deviation
1.99395
Median 9.285000
Variance
3.97583
Mode
.
Range
7.75000
Interquartile Range
1.93500
Tests for Location: Mu0=0
Test

-Statistic-

-----p Value------

Student's t t 20.27429 Pr > |t| <.0001


Sign
M
10 Pr >= |M| <.0001
Signed Rank S
105 Pr >= |S| <.0001
Tests for Normality
Test

--Statistic---

-----p Value------

Shapiro-Wilk
W
0.963903 Pr < W
0.6244
Kolmogorov-Smirnov D
0.140048 Pr > D
>0.1500
Cramer-von Mises
W-Sq 0.063638 Pr > W-Sq >0.2500
Anderson-Darling
A-Sq 0.360061 Pr > A-Sq >0.2500
Quantiles (Definition 5)
Quantile

Estimate

100% Max
13.060
99%
13.060
95%
12.420
90%
11.770
75% Q3
10.080
50% Median
9.285
25% Q1
8.145

The SAS System


59
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: rend
Quantiles (Definition 5)
Quantile

Estimate

10%
5%
1%
0% Min

6.050
5.380
5.310
5.310

Extreme Observations
----Lowest---Value

Obs

5.31
5.45
6.65
6.81
8.08

1
4
3
2
8

----Highest---Value
10.27
10.32
11.76
11.78
13.06

Stem Leaf
#
13 1
1
12
11 88
2
10 33
2
9 2333479
7
8 1228
4
7
6 68
2
5 34
2
----+----+----+----+

Obs
15
9
11
14
10
Boxplot
0
|
+-----+
*--+--*
+-----+
|
|
|

Normal Probability Plot


13.5+
*+++++
|
+++++
|
+*++*
|
++*+*
9.5+
**+**** *
|
**+**++
|
+++++
|
++++* *
5.5+
+*+++ *
+----+----+----+----+----+----+----+----+----+----+
-2
-1
0
+1
+2

The SAS System


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

Levels

tanque
tnitro

5
4

Values
01234
1234

Number of observations

20

The SAS System


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

Source

DF

Model

7 71.02551500 10.14650214

Error

12

Corrected Total
R-Square
0.940229
Source
tanque
tnitro

4.51518000

26.97 <.0001

0.37626500

19 75.54069500
Coeff Var
6.785823

Root MSE
0.613404

rend Mean
9.039500

DF Type III SS Mean Square F Value Pr > F


4 59.27822000 14.81955500 39.39 <.0001
3 11.74729500 3.91576500 10.41 0.0012

The SAS System


62
12:05 Thursday, August 29, 2002
The GLM Procedure
Source

Type III Expected Mean Square

tanque

Var(Error) + 4 Var(tanque)

tnitro

Var(Error) + Q(tnitro)

The SAS System


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

DF Type III SS Mean Square F Value Pr > F


4
3

59.278220
11.747295
12

14.819555 39.39 <.0001


3.915765 10.41 0.0012

4.515180

0.376265

The SAS System


64
12:05 Thursday, August 29, 2002
Least Squares Means
Standard
rend LSMEAN
Error

tnitro
1
2
3

Pr > |t|

8.3780000
0.2743228
<.0001
10.1480000
0.2743228
<.0001
9.3560000
0.2743228
<.0001
4
8.2760000
0.2743228
<.0001

Otra corrida
The SAS System

65
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: rend
Moments

N
20 Sum Weights
20
Mean
9.0395 Sum Observations
180.79
Std Deviation
1.99394735 Variance
3.97582605
Skewness
-0.1046227 Kurtosis
0.10171639
Uncorrected SS
1709.7919 Corrected SS
75.540695
Coeff Variation 22.0581598 Std Error Mean
0.44586018
Basic Statistical Measures
Location

Variability

Mean
9.039500
Std Deviation
1.99395
Median 9.285000
Variance
3.97583
Mode
.
Range
7.75000
Interquartile Range
1.93500
Tests for Location: Mu0=0
Test

-Statistic-

-----p Value------

Student's t t 20.27429 Pr > |t| <.0001


Sign
M
10 Pr >= |M| <.0001
Signed Rank S
105 Pr >= |S| <.0001
Tests for Normality

Test

--Statistic---

-----p Value------

Shapiro-Wilk
W
0.963903 Pr < W
0.6244
Kolmogorov-Smirnov D
0.140048 Pr > D
>0.1500
Cramer-von Mises
W-Sq 0.063638 Pr > W-Sq >0.2500
Anderson-Darling
A-Sq 0.360061 Pr > A-Sq >0.2500
Quantiles (Definition 5)
Quantile

Estimate

100% Max
13.060
99%
13.060
95%
12.420
90%
11.770
75% Q3
10.080
50% Median
9.285
25% Q1
8.145

The SAS System


66
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: rend
Quantiles (Definition 5)
Quantile

Estimate

10%
5%
1%
0% Min

6.050
5.380
5.310
5.310

Extreme Observations
----Lowest---Value

Obs

5.31
5.45
6.65
6.81
8.08

1
4
3
2
8

----Highest---Value
10.27
10.32
11.76
11.78
13.06

Stem Leaf
#
13 1
1
12
11 88
2
10 33
2
9 2333479
7
8 1228
4
7
6 68
2
5 34
2
----+----+----+----+

Obs
15
9
11
14
10
Boxplot
0
|
+-----+
*--+--*
+-----+
|
|
|

Normal Probability Plot


13.5+
*+++++
|
+++++
|
+*++*
|
++*+*
9.5+
**+**** *
|
**+**++
|
+++++
|
++++* *
5.5+
+*+++ *
+----+----+----+----+----+----+----+----+----+----+
-2
-1
0
+1
+2

The SAS System


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

Levels

tanque
tnitro

5
4

Values
01234
1234

Number of observations

20

The SAS System


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

Source

DF

Model

7 71.02551500 10.14650214

Error

12

Corrected Total
R-Square
0.940229
Source
tanque
tnitro

4.51518000

26.97 <.0001

0.37626500

19 75.54069500
Coeff Var
6.785823

Root MSE
0.613404

rend Mean
9.039500

DF Type III SS Mean Square F Value Pr > F


4 59.27822000 14.81955500 39.39 <.0001
3 11.74729500 3.91576500 10.41 0.0012

The SAS System


69
12:05 Thursday, August 29, 2002
The GLM Procedure
Source

Type III Expected Mean Square

tanque

Var(Error) + 4 Var(tanque)

tnitro

Var(Error) + Q(tnitro)

The SAS System


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

DF Type III SS Mean Square F Value Pr > F


4
3

59.278220
11.747295
12

14.819555 39.39 <.0001


3.915765 10.41 0.0012

4.515180

0.376265

The SAS System


71
12:05 Thursday, August 29, 2002
Least Squares Means
tnitro

LSMEAN
rend LSMEAN
Number

1
2
3
4

8.3780000
10.1480000
9.3560000
8.2760000

1
2
3
4

Least Squares Means for Effect tnitro


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

1
1
2
3
4

-4.56243
-2.52094
0.26292
0.0007
0.0269
0.7971
4.562432
2.041495
4.825351
0.0007
0.0638
0.0004
2.520937
-2.04149
2.783857
0.0269
0.0638
0.0165
-0.26292
-4.82535
-2.78386
0.7971
0.0004
0.0165

NOTE: To ensure overall protection level, only probabilities associated


with pre-planned comparisons should be used.

The SAS System


72
12:05 Thursday, August 29, 2002

Dependent Variable: rend


Standard
Estimate
Error

Parameter
2-3

1.08000000

t Value

0.38795103

2.78

Pr > |t|
0.0165

Tareaaaa
The SAS System

83
12:05 Thursday, August 29, 2002

The UNIVARIATE Procedure


Variable: rend
Moments
N
20 Sum Weights
20
Mean
9.0395 Sum Observations
180.79
Std Deviation
1.99394735 Variance
3.97582605
Skewness
-0.1046227 Kurtosis
0.10171639
Uncorrected SS
1709.7919 Corrected SS
75.540695
Coeff Variation 22.0581598 Std Error Mean
0.44586018
Basic Statistical Measures
Location

Variability

Mean
9.039500
Std Deviation
1.99395
Median 9.285000
Variance
3.97583
Mode
.
Range
7.75000
Interquartile Range
1.93500
Tests for Location: Mu0=0
Test

-Statistic-

-----p Value------

Student's t t 20.27429 Pr > |t| <.0001


Sign
M
10 Pr >= |M| <.0001
Signed Rank S
105 Pr >= |S| <.0001
Tests for Normality
Test

--Statistic---

-----p Value------

Shapiro-Wilk
W
0.963903 Pr < W
0.6244
Kolmogorov-Smirnov D
0.140048 Pr > D
>0.1500
Cramer-von Mises
W-Sq 0.063638 Pr > W-Sq >0.2500
Anderson-Darling
A-Sq 0.360061 Pr > A-Sq >0.2500
Quantiles (Definition 5)
Quantile

Estimate

100% Max
13.060
99%
13.060
95%
12.420
90%
11.770
75% Q3
10.080
50% Median
9.285
25% Q1
8.145

The SAS System


84
12:05 Thursday, August 29, 2002
The UNIVARIATE Procedure
Variable: rend
Quantiles (Definition 5)
Quantile

Estimate

10%
5%
1%
0% Min

6.050
5.380
5.310
5.310

Extreme Observations
----Lowest---Value

Obs

5.31
5.45
6.65
6.81
8.08

1
4
3
2
8

----Highest---Value
10.27
10.32
11.76
11.78
13.06

Stem Leaf
#
13 1
1
12
11 88
2
10 33
2
9 2333479
7
8 1228
4
7
6 68
2
5 34
2
----+----+----+----+

Obs
15
9
11
14
10
Boxplot
0
|
+-----+
*--+--*
+-----+
|
|
|

Normal Probability Plot


13.5+
*+++++
|
+++++
|
+*++*
|
++*+*
9.5+
**+**** *
|
**+**++
|
+++++
|
++++* *
5.5+
+*+++ *
+----+----+----+----+----+----+----+----+----+----+
-2
-1
0
+1
+2

The SAS System


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

Levels

tanque
tnitro

4
5

Values
1234
01234

Number of observations

20

The SAS System


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

Source

DF

Model

7 71.02551500 10.14650214

Error

12

Corrected Total
R-Square
0.940229
Source
tanque
tnitro

4.51518000

26.97 <.0001

0.37626500

19 75.54069500
Coeff Var
6.785823

Root MSE
0.613404

rend Mean
9.039500

DF Type III SS Mean Square F Value Pr > F


3 11.74729500 3.91576500 10.41 0.0012
4 59.27822000 14.81955500 39.39 <.0001

The SAS System


87
12:05 Thursday, August 29, 2002
The GLM Procedure
Source

Type III Expected Mean Square

tanque

Var(Error) + 5 Var(tanque)

tnitro

Var(Error) + Q(tnitro)

The SAS System


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

DF Type III SS Mean Square F Value Pr > F


3
4

11.747295
3.915765 10.41 0.0012
59.278220
14.819555 39.39 <.0001
12

4.515180

0.376265

The SAS System


89
12:05 Thursday, August 29, 2002
Least Squares Means
tnitro

LSMEAN
rend LSMEAN
Number

0
1
2
3
4

6.0550000
8.4850000
11.0950000
10.1550000
9.4075000

1
2
3
4
5

Least Squares Means for Effect tnitro


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

1
1
2
3
4
5

-5.6024
-11.6198
-9.45261
-7.72924
0.0001
<.0001
<.0001
<.0001
5.602403
-6.0174
-3.85021
-2.12684
0.0001
<.0001
0.0023
0.0549
11.6198
6.017396
2.167185
3.890558
<.0001
<.0001
0.0511
0.0021
9.452614
3.850211
-2.16718
1.723373
<.0001
0.0023
0.0511
0.1105
7.729241
2.126838
-3.89056
-1.72337
<.0001
0.0549
0.0021
0.1105

NOTE: To ensure overall protection level, only probabilities associated


with pre-planned comparisons should be used.

The SAS System


90
12:05 Thursday, August 29, 2002

Dependent Variable: rend


Parameter
2-3

Standard
Estimate
Error
0.94000000

t Value

0.43374244

2.17

Pr > |t|
0.0511

The SAS System


91
12:05 Thursday, August 29, 2002
The Mixed Procedure
Model Information
Data Set
WORK.PRACTICA
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
tanque
tnitro

Levels
4
5

Values
1234
01234

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

Evaluations
1
1

-2 Res Log Like

50.71177938
41.86512078

Convergence criteria met.


Covariance Parameter
Estimates
Cov Parm

Estimate

tanque
Residual

0.7079
0.3763

Criterion

0.00000000

The SAS System


92
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)

41.9
45.9
46.9
44.6

Type 3 Tests of Fixed Effects


Effect

Num
DF

tnitro

Den
DF

F Value

12

39.39

Pr > F
<.0001

Estimates
Label

Standard
Estimate
Error

DF

t Value

2-3

0.9400

12

2.17

0.4337

Pr > |t|
0.0511

Least Squares Means


Effect

tnitro

tnitro
tnitro
tnitro
tnitro

0
1
2
3
tnitro

Standard
Estimate
Error

DF

t Value

6.0550
0.5206 5.54
11.63
8.4850
0.5206 5.54
16.30
11.0950
0.5206 5.54
21.31
10.1550
0.5206 5.54
19.51
4
9.4075
0.5206 5.54

options ls=76 ps=56;


data practica;
input tanque tnitro rend;
cards;
1
0
5.31
2
0
6.81
3
0
6.65
4
0
5.45
1
1
8.24
2
1
9.41
3
1
8.21
4
1
8.08

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

1
2
10.32
2
2
13.06
3
2
11.76
4
2
9.24
1
3
9.27
2
3
11.78
3
3
10.27
4
3
9.30
1
4
8.75
2
4
9.68
3
4
9.89
4
4
9.31
;
proc univariate data=practica normal plot;
var rend;
run;
proc glm data=practica;
class tanque tnitro;
model rend=tanque tnitro/ss3;
random tanque/test;
lsmeans tnitro/tdiff;
estimate '2-3' tnitro 0 0 1 -1 0;
run;
proc mixed data=practica;
class tanque tnitro;
model rend=tnitro/ddfm=satterth;
random tanque;
lsmeans tnitro;
estimate '2-3' tnitro 0 0 1 -1 0;
run;

You might also like