BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AnalytX
Fluorite | Level 6

Hello everybody,

I would like to perform a sample size calculation for a study  in parallel design, 3 arms.

I do not use the GLMPOWER procedure but use the following code:

proc power ;

     twosamplemeans

     alpha=0.017

     meandiff=mean difference

     stddev=estimated stddev

     power=.8

     npergroup=.

     ;

run ;

In fact, I adjust the alpha level using a Bonferonni correction (0.05/3=0.017).

Is this approach a good one? If not, do you have any suggestions?

Thanks a lot in advance for your answer.

Best,

1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

Take a look at Example 71.1 One-Way ANOVA in the POWER Procedure, or look at PROC GLMPOWER Example 44.1.  The latter has an explicitly worked example for calculation of sample size.

Steve Denham

View solution in original post

3 REPLIES 3
SteveDenham
Jade | Level 19

Take a look at Example 71.1 One-Way ANOVA in the POWER Procedure, or look at PROC GLMPOWER Example 44.1.  The latter has an explicitly worked example for calculation of sample size.

Steve Denham

AnalytX
Fluorite | Level 6

Thanks a lot Steve!

Do you think the approach I describe is also correct?

Best,

SteveDenham
Jade | Level 19

The Bonferroni correction is almost always too conservative, and consequently will lead to an increased sample size needed to detect a fixed difference with given power.

Steve Denham

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 3 replies
  • 12348 views
  • 2 likes
  • 2 in conversation