ods html style=statistical;
ods graphics on;
title "Anova with Plots";
PROC GLM DATA = smoke3 order=data;;
/*NS PS NI LS MS HS*/
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;
ods graphics off;
ods html close;
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.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.