Docsity

Example F11: SAS Program, SAS Output - Lecture Notes | STAT 479, Study notes of Statistics

Toggle sidebar
bg1
Example F11
SAS Program
data soybean;
input trt $ @;
do rep=1 to 5;
input yield @;
output;
end;
datalines;
check 8 10 12 13 11
arasan 2 6 7 11 5
spergon 4 10 9 8 10
samesan 3 5 9 10 6
fermate 9 7 5 5 3
;
run;
proc mixed order=data method=type3 covtest cl;
class trt rep;
model yield = trt;
random rep;
lsmeans trt/diff cl adjust=tukey;
contrast 'Check vs Chemicals' trt 4 -1 -1 -1 -1;
run;
pf3
pf4
pf5

Partial preview of the text

Download Example F11: SAS Program, SAS Output - Lecture Notes | STAT 479 and more Study notes Statistics in PDF only on Docsity!

Example F11SAS Program data^ soybean;input^ trt $ @;do^ rep=^1 to^^5 ; input^ yield @;output;end;datalines;check 8 10 12 13 11arasan 2 6 7 11 5spergon 4 10 9 8 10samesan 3 5 9 10 6fermate 9 7 5 5 3; run ; proc^ mixed^ order=data^ method=type3 covtest

cl;

class^ trt rep;model^ yield = trt;random^ rep;lsmeans^ trt/diff^ cl^ adjust=tukey;contrast^ 'Check vs Chemicals'

trt^^4 -^1 -^1 -^1 -^1 ;

run ;

SAS Output

The^ SAS^ System^

The^ Mixed ProcedureModel^ InformationData Set WORK.SOYBEANDependent Variable^ yieldCovariance Structure^ Variance^ ComponentsEstimation Method Type^3 Residual Variance Method^ FactorFixed Effects SE Method^ Model-BasedDegrees of Freedom^ Method^ ContainmentClass^ Level InformationClass Levels Valuestrt 5 check arasan^ spergon^ samesanfermaterep 5 1 2^ 3 4^5 DimensionsCovariance Parameters^2 Columns in X^6 Columns in Z^5 Subjects (^1) Max Obs Per^ Subject^25

The^ SAS^ System^

The^ Mixed ProcedureLeast Squares^ MeansStandard Effect^ trt^ Estimate^

Error^ DF^ t^ Value^ Pr^ >^ |t| Differences^ of^ Least Squares^ MeansStandard Effect^ trt^ _trt^ Estimate

Error^ DF^ t^ Value^ Pr^ > |t|