- The link below directs you to a file that contains 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
- The personnel director 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 a 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.
Table 5
PA 2 – Professional Assignment 2 – CLO 1, CLO 2, CLO 3, CLO 4, CLO 5
1. The link below directs you to a file that contains 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
0. The personnel director 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 a 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.
Results on the Tests Taken by Employees
Group |
Test |
Test 2 |
||||||||||||||||||||||||||||
1 |
96 |
85 |
||||||||||||||||||||||||||||
88 |
||||||||||||||||||||||||||||||
91 |
81 |
|||||||||||||||||||||||||||||
95 |
78 |
|||||||||||||||||||||||||||||
92 |
||||||||||||||||||||||||||||||
93 |
87 |
|||||||||||||||||||||||||||||
98 |
84 |
|||||||||||||||||||||||||||||
82 |
||||||||||||||||||||||||||||||
97 |
89 |
|||||||||||||||||||||||||||||
99 |
||||||||||||||||||||||||||||||
90 |
||||||||||||||||||||||||||||||
94 |
||||||||||||||||||||||||||||||
70 |
||||||||||||||||||||||||||||||
86 |
||||||||||||||||||||||||||||||
76 |
||||||||||||||||||||||||||||||
79 |
||||||||||||||||||||||||||||||
83 |
||||||||||||||||||||||||||||||
0
|
74 |
|||||||||||||||||||||||||||||
77 |
||||||||||||||||||||||||||||||
75 |
||||||||||||||||||||||||||||||
0 | ||||||||||||||||||||||||||||||
72 |
||||||||||||||||||||||||||||||
71 |