BookmarkSubscribeRSS Feed
diedeaw
Calcite | Level 5
Hello,
 
Can someone tell me why I am getting the following warning?
 
proc power;
 
 twosamplesurvival
curve("23")= (119 127 197 1115 1321 1391) : (0.938 0.875 0.813 0.75 0.688 0.625)
 curve("411")= (56) : (0.928)
 groupsurvival="23"|"411"
 totaltime=4185
 test=logrank
 accrualtime=1
 alpha=0.05
npergroup=16 14
power=.;
run ;
 
WARNING: The magnitude of the effect is ill-defined in 2 scenarios in the output table.
 
My goal is to compare 2 survival curves, one with 6 deaths (n = 16 total) and one with 1 death (n = 14 total), the total time is 4185 minutes. 
SAS does do the analysis but this is my output:
 
  Computed Power Index N per Group Power Error 1 2
16.Invalid input
14.Invalid input

 

I am using SAS University edition.

Thank you in advance!

 

Andrea

 
 
1 REPLY 1
Norman21
Lapis Lazuli | Level 10

A similar questions was asked here:

 

https://communities.sas.com/t5/SAS-Statistical-Procedures/Power-calculation-for-proportions/td-p/501...

Norman.
SAS 9.4 (TS1M6) X64_10PRO WIN 10.0.17763 Workstation

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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