Help using Base SAS procedures

PROC LIFETEST

Reply
N/A
Posts: 0

PROC LIFETEST

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
Contributor
Posts: 74

Re: PROC LIFETEST

can not help without seeing data.
N/A
Posts: 0

Re: PROC LIFETEST

Data set is to large, but what possible things could be creating? Is there a certain place I would be looking?
Contributor
Posts: 74

Re: PROC LIFETEST

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!
N/A
Posts: 0

Re: PROC LIFETEST

Hmm. I tried this earlier and didn't work.
Contributor
Posts: 74

Re: PROC LIFETEST

did you try: 1.replace all 3 variable names of survival, censor and failure and 2.keep the dataset with only these 3 variables?
Ask a Question
Discussion stats
  • 5 replies
  • 270 views
  • 0 likes
  • 2 in conversation