05-03-2016 10:00 AM
How i can interpret my results from proc glm
ods html style=statistical; ods graphics on; title "Anova with Plots"; PROC GLM DATA = smoke3 order=data;; CLASS amt; MODEL fef=amt/solution; /*NS PS NI LS MS HS*/ /*MY BELIEVES*/ CONTRAST 'PS NI vs LS' amt 0 -0.6 -0.4 1 0 0; ESTIMATE 'PS NI vs LS' intercept 9 amt 0 4 1 4 0 0 / divisor = 9; lsmeans amt/pdiff adjust=tukey; run; quit; ods graphics off; ods html close;
Describe my model:estimate and contrast?
PS i attached my code.
05-04-2016 10:47 AM
The SAS documentation provides a mathematical description of Analysis of Variance.
The Getting Started Example for PROC GLM provides a step-by-step table-by-table analysi of the numbers that are produced by PROC GLM for an ANOVA. There are also sections that describe the CONTRAST, ESTIMATE, and LSMEANS statements, along with examples.