Question
Survival Analysis: Data are provided for 628 patients who were randomly assigned to one of two different residential drug treatment programs that differed in length:
Survival Analysis:
Data are provided for 628 patients who were randomly assigned to one of two different residential
drug treatment programs that differed in length: (a) short program, and (b) long program. Time
until return to drug use was measured for all patients.
The SAS dataset that you will use for this exercise is called uis. It contains the following variables:
Variable Age in years at study enrollment
site: Two sites; 0=Site A; 1= Site B
treat: 0= short program; 1= long program
ndrugtx: Number of previous drug treatments
time: Time (in days) until return to drug use
censor: 0=censored; 1= target event observed
herco: 1= both heroin and cocaine use in the last three months
2 = either heroin or cocaine use in the last three months
3 = neither heroin nor cocaine use in the last three months
Question is
a. Fit an exponential survival regression model with treat, age, site, ndrugtx and herco as the
covariates. Would you reject that the scale parameter is equal to 1?
SAS code:
proc lifereg data = uis;
model time*censor(0)=treat age site ndrugtx herco /distribution=exponential;
run;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started