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