I'm receiving an error pertaining to variables that I thought I had covered. I am a novice at writing SAS and would appreciate any help I can get. Here is the code that I wrote and the associated error message. Thanks in advance for your help!!! data rats; length treatment $ 8; input time event $treatment; datalines; 18 1 Group0 23 1 Group0 25 1 Group0 26 1 Group0 29 0 Group0 30 1 Group0 30 1 Group0 31 1 Group0 31 0 Group0 32 0 Group0 13 1 Group1 13 1 Group1 15 1 Group1 17 1 Group1 17 0 Group1 18 1 Group1 18 1 Group1 21 1 Group1 23 1 Group1 23 0 Group1 24 1 Group1 25 1 Group1 25 1 Group1 ; ods graphics on; proc lifetest data=rats atrisk conftype=asinsqrt plots=(survival(cb=ep atrisk) loglogs logsurv); time time*event(0); strata treatment; run; ods graphics off; 42 ods graphics on; 43 proc lifetest data=rats atrisk conftype=asinsqrt 44 plots=(survival(cb=ep atrisk) loglogs logsurv); 45 time time*event(0); ERROR: Variable event in list does not match type prescribed for this list. 46 strata treatment; 47 run; Thanks again, Nathan
... View more