Programming the statistical procedures from SAS

GLM Contrast/Estimate Adjust alpha

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 80
Accepted Solution

GLM Contrast/Estimate Adjust alpha

Hello!

I was wondering if there is anyway to apply multiple comparison adjustments to the F and t test done by the CONTRAST and ESTIMATE statements in PROC GLM.  Options like bonferroni, tukey, scheffe, dunnett are available in the MEANS and LSMEANS statements, but not with the CONTRAST and ESTIMATE statements.

Thanks,

Michael


Accepted Solutions
Solution
‎02-26-2013 07:48 AM
Respected Advisor
Posts: 2,655

Re: GLM Contrast/Estimate Adjust alpha

I would strongly recommend that you shift over to PROC GLIMMIX or PROC MIXED.  The multiple comparison adjustments are available with the LSMESTIMATE statement.

Steve Denham

View solution in original post


All Replies
Solution
‎02-26-2013 07:48 AM
Respected Advisor
Posts: 2,655

Re: GLM Contrast/Estimate Adjust alpha

I would strongly recommend that you shift over to PROC GLIMMIX or PROC MIXED.  The multiple comparison adjustments are available with the LSMESTIMATE statement.

Steve Denham

Contributor
Posts: 57

Re: GLM Contrast/Estimate Adjust alpha

Hello!

One other option would be to use PROC MULTTEST which addresses the multiple testing problem: SAS/STAT(R) 9.3 User's Guide

Best,

Respected Advisor
Posts: 2,655

Re: GLM Contrast/Estimate Adjust alpha

As a follow-up, the MULTTEST approach would be an extension of Example 61.5 Inputting Raw p-Values.  You will need to output all of the contrast or estimate values to a dataset (ODS OUTPUT is your friend), and rename the probt variable to raw_p.  Specific multiple comparison methods, such as Dunnett's, Tukey's and Scheffe's methods are not available in MULTTEST, and only Scheffe, Sidak, and Dunnett (using the simulate option, and correct specification of the LSMESTIMATE statement) are available in GLIMMIX through the LSMESTIMATE statement.  Tukey's adjustment isn't available in either procedure.

Steve Denham

Frequent Contributor
Posts: 80

Re: GLM Contrast/Estimate Adjust alpha

Thanks, gents for the very quick replies.  This is exactly what I need.

Michael Cooney

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 333 views
  • 6 likes
  • 3 in conversation