BookmarkSubscribeRSS Feed
docfermi
Calcite | Level 5

I am interested in a disease prevalence in each group (total 4 groups).  To determine statistical differences in proportions among these groups, I would like to know how many people I need in each group.  Can I use "proc power multreg", Or proc power twosamplefreq (Bonferroni correction, alpha=0.0083).  If I use proc power twosamplefreq, do I need to set three different odds ratio in reference to control and alpha adjustment (0.0083) with Bonferroni correction (6 comparison, alpha 0.05/6=0.0083).  Thank you.

 

proc power;

multreg

model = fixed

nfullpredictors = xx

ntestpredictors = 3

rsquarefull = xx

rsquarediff = xx

ntotal = .

power = 0.8;

run;

 

proc power;

two samplefreq test=lrchi

oddratio=1.5 2 2.5

ref proportion=0.5

npergroup=.

alpha=0.05 0.0083

power=0.8;

run;

1 REPLY 1

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 3682 views
  • 0 likes
  • 2 in conversation