Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer the following question using R and submit the R code along with interpretations and analysis. Questions 2 This was a five - year
Please answer the following question using R and submit the R code along with interpretations and analysis. Questions
This was a fiveyear research project that investigated the effects of residential treatment for drug abuse.
Study participants received either a or month modified therapeutic communities that incorporated
elements of health education and relapse prevention. For this analysis, we wish to propose a model to evaluate
the factors that are associated with drug reuse. The data set contains the following variables:
id: study subject ID
reuse: whether return to drug use Returned to Drug Use; and Otherwise
ivhx: IV drug use history Never; Previous; and Recent
ndrugtx: number of prior drug treatments
site: urban; and rural
beck: Beck Depression Score at admission
hercoc: Heroincocaine use during months prior to admission Heroin & Cocaine; Heroin
Only; Cocaine Only and Neither Heroin nor Cocaine
time: time to return to drug use in days
treat: treatment allocation month treatment; and month treatment
Note: if a study subject did not return to drug reuse, then the time is the total number of days the study
subject was in the study.
Discuss how you selected your final model and write out the equation of your final model. marks
Note: You may have different models depending on how you decide to select your final model. Therefore,
clearly specify what the criteria are that you used to do model selection.
Make sure your model assumptions are satisfied. Comment briefly. marks
Write a brief executive summary. marks
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