Reference no: EM131437292
Logistic Regression Assignment
There are 3 parts to this assignment that must be done in R-studio, please complete ALL parts.
This script will look a little bit different than the last one -- it is going to build upon your R skills that you've already developed.
I strongly recommend using the code we reviewed in class as an example for this -- use that to check your code and make sure you are on the right track.
a. Create a new dataset which has shorter name and same information.
b. Run frequencies and look at the following variables.
c. Show how the various variables differ by levels of the DFREE variable. We use CrossTable () to show the relationship between two categorical variables.
The IV Drug Use History at Admission variable has been created as a dummy variable as opposed to categorical. Look for ivhx2 and ivcx 3 in your dataset, you can use these dummy variables separately when you build your model.
Let us create a Naive model, meaning what are the probabilities of staying drug free without any predictors.
CONTINUE TO BUILD YOUR MODEL, ADDING THE VARIABLES YOU'VE DECIDED TO INCLUDE ONE BY ONE.
There are some interaction variables that are already written in the dataset. Try to apply those existed interaction variables or the interaction variable you created.
keep track of the odds radios, the significance of the variables you add, the model significance (modelsig), and the diagnostics (logisticPseudoR2s).
Attachment:- Assignment.rar
Discuss the inappropriateness of addressing spiritual needs
: They may also worry about inappropriateness of addressing spiritual needs, hold the belief that spirituality is synonymous with religion; they may also have difficulty separating the client's spiritual dimension from their psychosocial dimension.
|
Completing a research appraisal about a women
: For this week, you will be completing a research appraisal about a women's health topic in which you may be interested. The purpose is to complete only a synthesis of the topic. To start, only look at studies that are specific to your women's heal..
|
Suppose the system has two stages
: They can produce 7.5 units per hour, there are two machines, and the yield is 70%. Stage 2: They can produce 6 units per hour, there are three machines, and the yield is 85%. How many units can this system produce in one year, if it operates 8 hours ..
|
European data privacy-what is the price for free internet
: What is the "price" for a free internet? Describe the new privacy law that was unveiled by the European Commission that deals with this issue. Briefly discuss three technology related privacy issues that we face in the U.S. now.
|
Create a new dataset which has shorter name
: This script will look a little bit different than the last one -- it is going to build upon your R skills that you've already developed. Create a new dataset which has shorter name and same information. Run frequencies and look at the following vari..
|
Done in case of an accident
: What are the ways in which first aid is done in case of an accident?
|
What is the arr of investment opportunity
: Sinclair Wholesalers plc is currently considering opening a new sales outlet in Coventry. Two possible sites have been identified for the new outlet. Site A has a capacity of 30,000 sq. metres. It will require an average investment of £6 million, ..
|
Experiment a high school student
: You live in a rural are. Your local radio station reports the results of an experiment a high school student conducted to test the effects of a healthy diet on the saturated fat content of cow's milk.
|
Identify why each section in this chapter fits the sections
: Identify why each section in this chapter fits the sections discussed in class.Discuss each item that you fit under these sections and point out the differences.Write about the limitations (if any) you can think of using the book approach.
|