BookmarkSubscribeRSS Feed
Cyril_FR
Calcite | Level 5
Hello,

I want to ask why the following code is not working:

proc power;
TwoSampleFreq
test =pchi
groupproportions =(1 0.80)
nullproportiondiff =0
NPerGroup =20
SIDES =1
POWER =.
Alpha =0.05;
run;

invalid input
WARNING: The magnitude of the effect is ill-defined in one of the scenarios in the output table.

I think that it's due to my assumption that 100% of the patients in the placebo group develop the disease. Is it too strong?
Thanks in advance,
Best regards,
Cyril
2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12
You got it. Underlying any experimental design is the concept that there will be some variability in the process. If you are requiring a 100% effect (or 0%) in one group, then you have no variability in that group.
Cyril_FR
Calcite | Level 5
Thanks DOC

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
  • 3052 views
  • 1 like
  • 2 in conversation