Answered step by step
Verified Expert Solution
Question
1 Approved Answer
sas code and format? Survival Analysis (20 pts) We will use data on relapse to cocaine use following release from an inpatient treatment program. The
sas code and format? Survival Analysis (20 pts) We will use data on relapse to cocaine use following release from an inpatient treatment program. The data set has the following variables: ID - number identifying the individual week - the weeks of follow-up, 1 - 12 nasal - primary mode of ingestion before treatment, 1=intranasal or 0=all other routes relapse - the event status, i.e. whether of not the individual relapsed, 0=did not relapse, 1=relapsed The data are in the file called cocaine_relapse.csv and can be downloaded from the Canvas Assignment page. 24. Perform a Log-Rank test to compare survival distributions between primary mode of ingestion intranasal and other routes. Plot the Kaplan-Meier estimates
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