0% found this document useful (0 votes)
31 views11 pages

Sas P8

The document analyzes statistical data from a sample of 48 observations of the variable rend. It provides summary statistics, tests for normality, quantiles, and extreme observations. It then performs analysis of variance and mean comparisons using a GLM model with factors f, c, var, and est and their interaction.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views11 pages

Sas P8

The document analyzes statistical data from a sample of 48 observations of the variable rend. It provides summary statistics, tests for normality, quantiles, and extreme observations. It then performs analysis of variance and mean comparisons using a GLM model with factors f, c, var, and est and their interaction.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

The UNIVARIATE Procedure

Variable: rend

Moments

N 48 Sum Weights 48
Mean 10.9666667 Sum Observations 526.4
Std Deviation 3.94937826 Variance 15.5975887
Skewness -0.6214995 Kurtosis -0.6947716
Uncorrected SS 6505.94 Corrected SS 733.086667
Coeff Variation 36.0125677 Std Error Mean 0.57004365

Basic Statistical Measures

Location Variability

Mean 10.96667 Std Deviation 3.94938


Median 12.05000 Variance 15.59759
Mode 12.30000 Range 13.80000
Interquartile Range 5.65000

Tests for Location: Mu0=0

Test -Statistic- -----p Value------

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


Sign M 24 Pr >= |M| <.0001
Signed Rank S 588 Pr >= |S| <.0001

Tests for Normality

Test --Statistic--- -----p Value------

Shapiro-Wilk W 0.925322 Pr < W 0.0046


Kolmogorov-Smirnov D 0.158631 Pr > D <0.0100
Cramer-von Mises W-Sq 0.206992 Pr > W-Sq <0.0050
Anderson-Darling A-Sq 1.212242 Pr > A-Sq <0.0050

Quantiles (Definition 5)

Quantile Estimate

100% Max 16.70


99% 16.70
95% 15.90
90% 15.60
75% Q3 13.95
50% Median 12.05
25% Q1 8.30
10% 4.20
5% 3.70
1% 2.90
0% Min 2.90

Extreme Observations

----Lowest---- ----Highest---

Value Obs Value Obs

2.9 46 15.6 32
3.2 5 15.7 4
3.7 47 15.9 21
3.8 26 16.5 24
4.2 3 16.7 23

Stem Leaf # Boxplot


16 57 2 |
15 145679 6 |
14 0035 4 +-----+
13 014559 6 | |
12 0133366 7 *-----*
11 34478 5 | + |
10 38 2 | |
96 1 | |
8 0679 4 +-----+
7 |
6 2589 4 |
56 1 |
4 23 2 |
3 278 3 |
29 1 |
----+----+----+----+
The UNIVARIATE Procedure
Variable: rend

Normal Probability Plot


16.5+ +++ * *
| ***** *
| ***+
| ****+
| ****++
| *** ++
| **+++
9.5+ *++
| ***
| +++
| ++***
| +++ *
| ++ **
| ++* * *
2.5+ *+
+----+----+----+----+----+----+----+----+----+----+
-2 -1 0 +1 +2
The GLM Procedure

Class Level Information

Class Levels Values

f 3 123

c 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

var 4 1234

est 4 0 20 40 60

Number of Observations Read 48


Number of Observations Used 48

The GLM Procedure

Dependent Variable: rend

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

Model 32 730.5418127 22.8294316 134.56 <.0001

Error 15 2.5448540 0.1696569

Corrected Total 47 733.0866667

R-Square Coeff Var Root MSE rend Mean

0.996529 3.755875 0.411894 10.96667

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

f 2 20.4054167 10.2027083 60.14 <.0001


c 15 3.0230627 0.2015375 1.19 0.3715
var 3 50.1220741 16.7073580 98.48 <.0001
est 3 396.1541113 132.0513704 778.34 <.0001
var*est 9 1.2830784 0.1425643 0.84 0.5922
The GLM Procedure

Source Type III Expected Mean Square

f Var(Error) + 16 Var(f)

c Var(Error) + 2.1333 Var(c)

var Var(Error) + Q(var,var*est)

est Var(Error) + Q(est,var*est)

var*est Var(Error) + Q(var*est)

The GLM Procedure


Least Squares Means

Standard LSMEAN
var rend LSMEAN Error Pr > |t| Number

1 9.0787476 0.1508131 <.0001 1


2 12.4226171 0.1337796 <.0001 2
3 12.1913462 0.1586389 <.0001 3
4 10.1739558 0.1664204 <.0001 4

Least Squares Means for Effect var


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

Dependent Variable: rend

i/j 1 2 3 4

1 -15.4086 -13.6432 -4.58484


<.0001 <.0001 0.0004
2 15.40855 1.124377 10.32705
<.0001 0.2785 <.0001
3 13.64321 -1.12438 7.542715
<.0001 0.2785 <.0001
4 4.584839 -10.3271 -7.54271
0.0004 <.0001 <.0001
The GLM Procedure
Least Squares Means

Standard
est rend LSMEAN Error Pr > |t|

0 5.1219982 0.1389336 <.0001


20 11.0225241 0.1380625 <.0001
40 14.5073741 0.1449897 <.0001
60 13.2147703 0.1355386 <.0001

Standard
var est rend LSMEAN Error Pr > |t|

1 0 3.2080271 0.2950473 <.0001


1 20 9.0581208 0.2940766 <.0001
1 40 12.6354694 0.2981962 <.0001
1 60 11.4133731 0.2942334 <.0001
2 0 6.9329214 0.2952622 <.0001
2 20 12.4370812 0.3062910 <.0001
2 40 15.8716133 0.3061159 <.0001
2 60 14.4488527 0.2982179 <.0001
3 0 6.0689469 0.3013902 <.0001
3 20 12.6738860 0.2964821 <.0001
3 40 15.6829663 0.2969566 <.0001
3 60 14.3395855 0.2945458 <.0001
4 0 4.2780976 0.3086169 <.0001
4 20 9.9210085 0.2946222 <.0001
4 40 13.8394473 0.3120241 <.0001
4 60 12.6572697 0.2958967 <.0001
The GLM Procedure

Dependent Variable: rend

Contrast DF Contrast SS Mean Square F Value Pr > F

lin 1 309.1168326 309.1168326 1822.01 <.0001


cua 1 103.7684392 103.7684392 611.64 <.0001
1-lin 1 83.1026355 83.1026355 489.83 <.0001
1-cua 1 21.3323314 21.3323314 125.74 <.0001
2-lin 1 66.1967435 66.1967435 390.18 <.0001
2-cua 1 19.3550283 19.3550283 114.08 <.0001
3-lin 1 82.6606110 82.6606110 487.22 <.0001
3-cua 1 28.6983935 28.6983935 169.16 <.0001
4-lin 1 82.6606110 82.6606110 487.22 <.0001
4-cua 1 28.6983935 28.6983935 169.16 <.0001

---------------------------------------------- var=. --------------------------------------

The GLM Procedure


Dependent Variable: LSMEAN

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

Model 2 51.47494810 25.73747405 92.28 0.0734

Error 1 0.27889971 0.27889971

Corrected Total 3 51.75384781

R-Square Coeff Var Root MSE LSMEAN Mean

0.994611 4.815589 0.528110 10.96667

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

est 1 27.25221190 27.25221190 97.71 0.0642


est*est 1 12.93527873 12.93527873 46.38 0.0928

Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 5.003909338 0.51473753 9.72 0.0653


est 0.408558194 0.04133111 9.89 0.0642
est*est -0.004495706 0.00066014 -6.81 0.0928

---------------------------------------------- var=1 --------------------------------------

The GLM Procedure

Dependent Variable: LSMEAN

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

Model 2 52.24732082 26.12366041 81.84 0.0779

Error 1 0.31921057 0.31921057

Corrected Total 3 52.56653139

R-Square Coeff Var Root MSE LSMEAN Mean

0.993927 6.223185 0.564987 9.078748

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

est 1 26.93508040 26.93508040 84.38 0.0690


est*est 1 12.50396802 12.50396802 39.17 0.1009

Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 3.081692091 0.55068143 5.60 0.1126


est 0.406174060 0.04421724 9.19 0.0690
est*est -0.004420119 0.00070623 -6.26 0.1009
------------------------------------ var=2 -----------------------------------------------
The GLM Procedure

Dependent Variable: LSMEAN


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

Model 2 45.74961995 22.87480998 58.87 0.0918

Error 1 0.38855379 0.38855379

Corrected Total 3 46.13817374

R-Square Coeff Var Root MSE LSMEAN Mean

0.991578 5.017790 0.623341 12.42262

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

est 1 24.79079221 24.79079221 63.80 0.0793


est*est 1 11.99555667 11.99555667 30.87 0.1134

Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 6.793538104 0.60755749 11.18 0.0568


est 0.389671146 0.04878414 7.99 0.0793
est*est -0.004329325 0.00077918 -5.56 0.1134

---------------------------------------------- var=3 --------------------------------------


The GLM Procedure

Dependent Variable: LSMEAN

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

Model 2 54.49433884 27.24716942 951.95 0.0229

Error 1 0.02862235 0.02862235

Corrected Total 3 54.52296119

R-Square Coeff Var Root MSE LSMEAN Mean

0.999475 1.387717 0.169181 12.19135

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

est 1 31.20244355 31.20244355 1090.14 0.0193


est*est 1 15.79394741 15.79394741 551.80 0.0271

Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 6.031116752 0.16489765 36.57 0.0174


est 0.437166978 0.01324054 33.02 0.0193
est*est -0.004967700 0.00021148 -23.49 0.0271

---------------------------------------------- var=4 --------------------------------------

The GLM Procedure

Dependent Variable: LSMEAN

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

Model 2 53.85788435 26.92894218 47.25 0.1023

Error 1 0.56991747 0.56991747

Corrected Total 3 54.42780182

R-Square Coeff Var Root MSE LSMEAN Mean

0.989529 7.420209 0.754929 10.17396


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

est 1 26.28211635 26.28211635 46.12 0.0931


est*est 1 11.64545795 11.64545795 20.43 0.1386

Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 4.109290405 0.73581356 5.58 0.1128


est 0.401220591 0.05908252 6.79 0.0931
est*est -0.004265680 0.00094366 -4.52 0.1386

The Mixed Procedure

Model Information

Data Set WORK.P8


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 Levels Values

f 3 123
c 16 1 2 3 4 5 6 7 8 9 10 11 12 13
14 15 16
var 4 1234
est 4 0 20 40 60

Dimensions

Covariance Parameters 3
Columns in X 25
Columns in Z 19
Subjects 1
Max Obs Per Subject 48

Number of Observations

Number of Observations Read 48


Number of Observations Used 48
Number of Observations Not Used 0

Iteration History

Iteration Evaluations -2 Res Log Like Criterion

0 1 101.71256572
1 3 62.18218048 0.00005742
2 1 62.18208318 0.00000000

Convergence criteria met.

Covariance Parameter
Estimates

Cov Parm Estimate

f 0.6275
c 0.02178
Residual 0.1621
Fit Statistics
-2 Res Log Likelihood 62.2
AIC (smaller is better) 68.2
AICC (smaller is better) 69.0
BIC (smaller is better) 65.5

Type 3 Tests of Fixed Effects

Num Den
Effect DF DF F Value Pr > F

var 3 27.9 169.57 <.0001


est 3 26.6 1145.44 <.0001
var*est 9 25.7 1.70 0.1396

Contrasts

Num Den
Label DF DF F Value Pr > F

lin 1 27.2 2594.42 <.0001


cua 1 26.9 839.87 <.0001
1-lin 1 26.2 659.72 <.0001
1-cua 1 29.6 214.30 <.0001
2-lin 1 27.6 571.68 <.0001
2-cua 1 28.2 165.05 <.0001
3-lin 1 25.1 628.25 <.0001
3-cua 1 28.6 254.33 <.0001
4-lin 1 25.1 628.25 <.0001
4-cua 1 28.6 254.33 <.0001

The Mixed Procedure

Least Squares Means

Standard
Effect var est Estimate Error DF t Value Pr > |t|

var 1 9.1074 0.4746 2.24 19.19 0.0016


var 2 12.4178 0.4740 2.23 26.20 0.0008
var 3 12.2117 0.4748 2.25 25.72 0.0008
var 4 10.1297 0.4749 2.25 21.33 0.0012
est 0 5.2023 0.4742 2.24 10.97 0.0054
est 20 10.9031 0.4742 2.24 22.99 0.0011
est 40 14.5460 0.4745 2.24 30.65 0.0005
est 60 13.2152 0.4742 2.24 27.87 0.0007
var*est 1 0 3.2847 0.5190 3.2 6.33 0.0066
var*est 1 20 9.0711 0.5190 3.2 17.48 0.0003
var*est 1 40 12.7590 0.5191 3.2 24.58 <.0001
var*est 1 60 11.3149 0.5190 3.2 21.80 0.0001
var*est 2 0 7.1524 0.5190 3.2 13.78 0.0006
var*est 2 20 12.0670 0.5192 3.2 23.24 0.0001
var*est 2 40 15.8968 0.5192 3.2 30.62 <.0001
var*est 2 60 14.5550 0.5191 3.2 28.04 <.0001
var*est 3 0 6.2883 0.5191 3.2 12.11 0.0009
var*est 3 20 12.5929 0.5191 3.2 24.26 <.0001
var*est 3 40 15.7358 0.5191 3.2 30.32 <.0001
var*est 3 60 14.2298 0.5190 3.2 27.42 <.0001
var*est 4 0 4.0839 0.5192 3.2 7.87 0.0034
var*est 4 20 9.8815 0.5190 3.2 19.04 0.0002
var*est 4 40 13.7925 0.5192 3.2 26.56 <.0001
var*est 4 60 12.7610 0.5190 3.2 24.59 <.0001

Differences of Least Squares Means

Standard
Effect var est _var _est Estimate Error DF t Value Pr > |t|

var 1 2 -3.3103 0.1720 27.8 -19.25 <.0001


var 1 3 -3.1043 0.1748 29.7 -17.76 <.0001
var 1 4 -1.0223 0.1737 29.4 -5.89 <.0001
var 2 3 0.2061 0.1703 25.6 1.21 0.2373
var 2 4 2.2881 0.1719 27.6 13.31 <.0001
var 3 4 2.0820 0.1783 29.1 11.68 <.0001
---------------------------------------------- var=_ -----------------------------------------------

The GLM Procedure

Dependent Variable: Estimate

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

Model 2 50.67412531 25.33706265 59.60 0.0912

Error 1 0.42513218 0.42513218

Corrected Total 3 51.09925749

R-Square Coeff Var Root MSE Estimate Mean

0.991680 5.945486 0.652022 10.96667

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

est 1 26.39672667 26.39672667 62.09 0.0804


est*est 1 12.36106959 12.36106959 29.08 0.1167

Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 5.056537752 0.63551205 7.96 0.0796


est 0.402094455 0.05102876 7.88 0.0804
est*est -0.004394789 0.00081503 -5.39 0.1167
---------------------------------------------- var=1 -----------------------------------------------

The GLM Procedure

Dependent Variable: Estimate

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

Model 2 51.65227975 25.82613988 56.12 0.0940

Error 1 0.46015696 0.46015696

Corrected Total 3 52.11243671

R-Square Coeff Var Root MSE Estimate Mean

0.991170 7.448284 0.678349 9.107449

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

est 1 27.44955596 27.44955596 59.65 0.0820


est*est 1 13.06986367 13.06986367 28.40 0.1181

Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 3.133052303 0.66117253 4.74 0.1324


est 0.410034791 0.05308918 7.72 0.0820
est*est -0.004519033 0.00084794 -5.33 0.1181
---------------------------------------------- var=2 -----------------------------------------------

The GLM Procedure

Dependent Variable: Estimate

Sum of
Source DF Squares Mean Square F Value Pr > F
Model 2 43.68357204 21.84178602 26.16 0.1370

Error 1 0.83508060 0.83508060

Corrected Total 3 44.51865264

R-Square Coeff Var Root MSE Estimate Mean

0.981242 7.359015 0.913827 12.41780

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

est 1 21.72786150 21.72786150 26.02 0.1232


est*est 1 9.78587679 9.78587679 11.72 0.1809

Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 6.948044224 0.89068882 7.80 0.0812


est 0.364805635 0.07151831 5.10 0.1232
est*est -0.003910298 0.00114228 -3.42 0.1809

---------------------------------------------- var=3 -----------------------------------------------

The GLM Procedure

Dependent Variable: Estimate

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

Model 2 51.61358108 25.80679054 233.32 0.0462

Error 1 0.11060612 0.11060612

Corrected Total 3 51.72418720

R-Square Coeff Var Root MSE Estimate Mean

0.997862 2.723410 0.332575 12.21171

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

est 1 29.87083714 29.87083714 270.06 0.0387


est*est 1 15.25163810 15.25163810 137.89 0.0541

Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 6.213939852 0.32415400 19.17 0.0332


est 0.427736926 0.02602811 16.43 0.0387
est*est -0.004881668 0.00041572 -11.74 0.0541

---------------------------------------------- var=4 -----------------------------------------------

The GLM Procedure

Dependent Variable: Estimate

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

Model 2 56.48579226 28.24289613 60.48 0.0905

Error 1 0.46694713 0.46694713

Corrected Total 3 56.95273940

R-Square Coeff Var Root MSE Estimate Mean

0.991801 6.745853 0.683335 10.12971


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

est 1 26.88555428 26.88555428 57.58 0.0834


est*est 1 11.65898305 11.65898305 24.97 0.1257

Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 3.931114631 0.66603286 5.90 0.1068


est 0.405800468 0.05347945 7.59 0.0834
est*est -0.004268157 0.00085417 -5.00 0.1257

The UNIVARIATE Procedure


Variable: Resid (Residual)

Moments

N 48 Sum Weights 48
Mean 0 Sum Observations 0
Std Deviation 0.30371484 Variance 0.0922427
Skewness -0.0657609 Kurtosis -1.0159314
Uncorrected SS 4.33540713 Corrected SS 4.33540713
Coeff Variation . Std Error Mean 0.04383746

Basic Statistical Measures

Location Variability

Mean 0.00000 Std Deviation 0.30371


Median -0.02731 Variance 0.09224
Mode . Range 1.06364
Interquartile Range 0.46627

Tests for Location: Mu0=0

Test -Statistic- -----p Value------

Student's t t 0 Pr > |t| 1.0000


Sign M -2 Pr >= |M| 0.6655
Signed Rank S 4 Pr >= |S| 0.9678

Tests for Normality

Test --Statistic--- -----p Value------

Shapiro-Wilk W 0.963251 Pr < W 0.1366


Kolmogorov-Smirnov D 0.087623 Pr > D >0.1500
Cramer-von Mises W-Sq 0.054337 Pr > W-Sq >0.2500
Anderson-Darling A-Sq 0.408758 Pr > A-Sq >0.2500

Quantiles (Definition 5)

Quantile Estimate

100% Max 0.4820960


99% 0.4820960
95% 0.4723168
90% 0.4469005
75% Q3 0.2428225
50% Median -0.0273083
25% Q1 -0.2234503
10% -0.4023782
5% -0.4681648
1% -0.5815490
0% Min -0.5815490

Extreme Observations

------Lowest------ ------Highest-----

Value Obs Value Obs

-0.581549 31 0.446901 17
-0.566127 25 0.469903 21
-0.468165 41 0.472317 32
-0.419139 28 0.477934 9
-0.402378 37 0.482096 20

Stem Leaf # Boxplot


4 57788 5 |
40 1 |
3 58 2 |
3 012 3 |
25 1 |
2 0124 4 +-----+
19 1 | |
1 003 3 | |
07 1 | |
04 1 | + |
-0 4410 4 *-----*
-0 886 3 | |
-1 4321 4 | |
-1 | |
-2 4100 4 +-----+
-2 8 1 |
-3 441 3 |
-3 9 1 |
-4 200 3 |
-4 7 1 |
-5 |
-5 87 2 |
----+----+----+----+
Multiply Stem.Leaf by 10**-1

You might also like