Question: 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 2
This was a five-year research project that investigated the effects of residential treatment for drug abuse.
Study participants received either a 3- or 6-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 (1-628)
reuse: whether return to drug use (1= Returned to Drug Use; and 0= Otherwise)
ivhx: IV drug use history (1= Never; 2= Previous; and 3= Recent)
ndrugtx: number of prior drug treatments
site: (0=urban; and 1=rural)
beck: Beck Depression Score at admission
hercoc: Heroin/cocaine use during 3 months prior to admission (1= Heroin & Cocaine; 2= Heroin
Only; 3= Cocaine Only and 4= Neither Heroin nor Cocaine)
time: time to return to drug use in days
treat: treatment allocation (0=3-month treatment; and 1=6-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.
1. Discuss how you selected your final model and write out the equation of your final model. (15 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.
2. Make sure your model assumptions are satisfied. Comment briefly. (10 marks).
3. Write a brief executive summary. (15 marks)
2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!