Question
The link below directs you to a file that contains hypothetical mortality information from a nursing home during the year 2015. The variable died indicates
- The link below directs you to a file that contains hypothetical mortality information from a nursing home during the year 2015. The variable "died" indicates that if the patient died before the end of the year. Given this data, develop a logistic regression model which predicts probability of death of a guest during any year by the end of that year, given the age and the dummy variable "gender."
https://drive.google.com/file/d/12WjJcBN_4t8N34Tir2-3hy3Aq5u3j_x4/view?usp=sharing
2. The personnel director (HR) of a firm has developed two tests to help determine whether potential employees would perform successfully in a particular position. To help estimate the usefulness of the tests, the director gives both tests to 43 employees that currently hold the position. Table 5 gives the scores of each employee on both tests and indicates whether the employee is currently performing successfully or unsuccessfully in the position. If the employee is performing successfully, we set the dummy variable Group is set equal to 1; if the employee is performing unsuccessfully, we set Group equal to 0. Let x1 and x2 denote the scores of a potential employee on tests 1 and 2.
Perform discriminant analysis on the data and interpret the result, including the confusion matrix. Include all required steps in assessing the final model. By trial and error find the threshold which minimizes prediction relative error.
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