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: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 2 replies
  • 3247 views
  • 1 like
  • 2 in conversation