BookmarkSubscribeRSS Feed
AnalytX
Fluorite | Level 6

Dears,

I would like to compute sample size calculation for the following study design:

. Nonferiority test with the following tolerance margin: Proportion 1=0.15 and the acceptance margin allows to obtain Propotion 2=0.20

. Statistical power: 0.8

. Type I error: 0.05

If I am not mistaken, thare are very few examples about the PROC POWER with PAIREDFREQ statement available.

Do you have an idea how to calculate the sample size using these hypotheses?

Thanking you in advance for your help. It will be very helpful.

Regards,

2 REPLIES 2
AnalytX
Fluorite | Level 6

Dears,

Please find below what I have tried but I am not sure about the different options to use (what is the better hypothesis fo corr, what is the most adapted approximation method, ...) :

proc power;

  pairedfreq test=mcnemar method=connor dist=normal

  alpha=0.05

  sides=U

  pairedproportions = (0.2 0.3)

  corr=0.5

  power=0.8

  npairs= .;

run;

Thanks in advance for your suggestions or comments.

Regards,

AnalytX
Fluorite | Level 6

Dears,

No idea about this topic?

Regards,

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