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