Statistical Procedures

Programming the statistical procedures from SAS
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-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

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