BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am running the following code :

PROC LIFETEST data=survival.Censor plot=(s,h) graphics;
time survival*censor(0);
strata failure;
RUN;


and getting:

ERROR: Name is not unique!


Can anyone offer any insight as this my be
5 REPLIES 5
abdullala
Calcite | Level 5
can not help without seeing data.
deleted_user
Not applicable
Data set is to large, but what possible things could be creating? Is there a certain place I would be looking?
abdullala
Calcite | Level 5
sorry can not help too much. I haven't seen this when I use proc lifetest. one guess is that, when you use plots, survival is an internally used variable and it conflicts with your variable 'survival'. try rename your survival variable, or toggle with not using plot, and see if the message is gone. I am curious at this so it will be great if you can share your results. thanks!
deleted_user
Not applicable
Hmm. I tried this earlier and didn't work.
abdullala
Calcite | Level 5
did you try: 1.replace all 3 variable names of survival, censor and failure and 2.keep the dataset with only these 3 variables?

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1939 views
  • 0 likes
  • 2 in conversation