Hello - I have a dataset that looks like the below and a simple lifetest code. Why does the resulting graph show "day" on the x axis when it should be "week"? Any easy way to fix? I'm using SAS for Academics/Studio/Learner.
Dataset columns:
ID. Treatment. Week. Event. Censor.
Code:
/*/
proc lifetest data=mukm;
time week*censor(1);
strata Treatment;
run;
/*/
Thank you and best wishes.
Anissa
There must be a label attached to the variable Week, change the label.
The default label is different than day in Academics at least.
proc lifetest data=mukm;
time week*censor(1);
strata Treatment;
label week = 'Week';
run;
There must be a label attached to the variable Week, change the label.
The default label is different than day in Academics at least.
proc lifetest data=mukm;
time week*censor(1);
strata Treatment;
label week = 'Week';
run;
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.