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?

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 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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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