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

He would like to compare these results to the sample size required if the proportion of patients experiencing stroke or any type of cardiovascular death is used as the primary response variable. With 2:1 allocation, alpha=0.05, 2 years followup, how many patients must be recruited to the trial to have 90% power to detect inferiority if an event rate up to 5.5% over 2 yrs is considered noninferior to the expected 4% rate?

 

...the experimental group is 2x  more than the reference group.

 

I'm not sure if the 2 year follow up is an important factor here since the outcome is binary.  Here is what I have...is this correct?

proc power;

twosamplefreq groupweights=(1 2) proportiondiff=0.015 refproportion=0.04 alpha=0.025 power=0.9

   test=FM sides=1 ntotal=.;

title "Sample Size Calculation for Comparing Two Binomial Proportions (Noninferiority)";

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

The article "What sample size do you need for a binomial test of proportions?"

provides a discussion of PROC POWER for a test of proportions. It also contains a DATA step simulation that you can modify to check whether your PROC POWER computation matches the estimates from the simulation.

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

The article "What sample size do you need for a binomial test of proportions?"

provides a discussion of PROC POWER for a test of proportions. It also contains a DATA step simulation that you can modify to check whether your PROC POWER computation matches the estimates from the simulation.

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
  • 681 views
  • 0 likes
  • 2 in conversation