Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
knighsson
Obsidian | Level 7

Hello,

I am using proc surveyreg to compare the mean of different groups. But I do not quite sure what the adjusted p-value exactly mean in the output.

 

the code:

Screen Shot 2021-04-13 at 09.32.20.png

the output:

Screen Shot 2021-04-13 at 09.31.22.png

I wonder whether the adjusted p-value is due to  Bonferroni adjustment? or Tukey-test?  

Thank you!

10 REPLIES 10
sbxkoenk
SAS Super FREQ

Hello,

 

You ask for a multiple-comparison adjustment of LS-means differences by the ADJUST= option on the LSMEANS statement, so you get it. 🙄

As method, you specify TUKEY (ADJUST=TUKEY) so it's a Tukey adjustment for the p-value.

More info in the doc.

https://go.documentation.sas.com/?docsetId=helpcenterwlcm&docsetTarget=home.htm&docsetVersion=1.0&lo...

 

Cheers,

Koen

knighsson
Obsidian | Level 7
Thank you, But I want to know if I still want to use bonferroni adjustment, should I consider adjust p-value <0.05/6 as the significant differences?
sbxkoenk
SAS Super FREQ

Hello,

 

There's no need to do a BON (Bonferroni) correction on top of the TUKEY correction. 

To me a TUKEY correction is often a good choice (less conservative than Bonferroni).

But feel free to select the best correction method for your situation:

Here's the doc of the ADJUST= option (for multiple comparison p-value adjustment).

https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.5&docsetId=statug&docsetTarget=st...

LSMEANS statement (across procedures): 

https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.5&docsetId=statug&docsetTarget=st...

 

If you do not know what to choose: choose ADJUST=BON.

 

Cheers,

Koen

sbxkoenk
SAS Super FREQ
You can also read this and have a look at the recorded webinar:
What Are Best Practices for Using SAS® Survey Procedures? Q&A, Slides, and On-Demand Recording
https://communities.sas.com/t5/Ask-the-Expert/What-Are-Best-Practices-for-Using-SAS-Survey-Procedure...

knighsson
Obsidian | Level 7
This is helpful! Thank you so much!
knighsson
Obsidian | Level 7
Hello, just one more question, in the table above, if the adjusted p-value <0.05, then that comparison is significantly different? Or do I need to calculate a significant level for p-value, if I used tukey test?

Thank you!
StatDave
SAS Super FREQ
For any adjustment method, the adjusted p-values can be compared directly to the level you choose to use - such as 0.05 if that is your choice.
knighsson
Obsidian | Level 7
Thank you so much!
sbxkoenk
SAS Super FREQ

Hello @knighsson ,

 

A small add-on to the comment made by @StatDave .

The adjustment method you choose does not influence in any way the significance level that you set for the hypothesis test (a comparison is also a hypothesis test). The alpha-level (for your hypothesis test) is the probability of making a type I error and is subjectively chosen by the user UPFRONT.

If you choose 0.05 as alpha, it stays that way after adjustment (with BON or TUKEY or ...) because the p-values are inflated. SAS should inflate the p-values instead of reducing the alpha because SAS does not know what the significance level / alpha is (because it's in the head of the user).

 

Good luck,

Koen

knighsson
Obsidian | Level 7
Thank you so much!

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 10 replies
  • 3169 views
  • 0 likes
  • 3 in conversation