



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An example of a sas program that analyzes the weights of a dataset with two levels (1 and 2) and three sources (1, 2, and 3). The program uses the glm procedure to perform an analysis of variance (anova) and calculate least squares means, contrasts, and confidence intervals for the weight data. The document also includes the sas output of the analysis.
Typology: Study notes
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Contrast^
DF^ Contrast SS^ Mean
Square^ F^ Value^ Pr >
animal^ vs.^ vegetable^
beef^ vs. pork^
an.^ vs.^ veg. x^ level^
an.^ vs.^ veg. x^ level^
0.000000^ 0.00^ 1.0000The SAS System The^ GLM ProcedureLeast Squares^ Meanslevel source^ wt LSMEAN 1 1 100.000000 1 2 85.900000 1 3 99.500000 2 1 79.200000 2 2 83.900000 2 3 78.700000The^ SAS^ System^ The^ GLM ProcedureLeast Squares^ Meanslevel*source Effect Sliced by level
for wt Sum^ of level^ DF^
Squares^ Mean^ Square
F Value^ Pr^ > F 1 2 1280.
The^ SAS^ System^ The^ GLM ProcedureLeast Squares^ MeansAdjustment for^ Multiple Comparisons: Tukey
level^ source^
wt LSMEAN^ Number 1 1
Least^ Squares^ Means^ for
effect level*sourcePr > |t| for H0: LSMean(i)=LSMean(j)Dependent Variable: wt i/j^1