Posted: February 26th, 2023

# Professional Assignment #2

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.”

1. 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.”

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

1

96

1

1

1

85

1

1

1

92

1

1

95

96

1

93

1

89

1

90

1

92

94

1

94

84

1

90

92

1

91

1

90

81

1

81

1

90

1

91

1

88

1

87

82

93

0

90

84

0

91

81

0

91

78

0

88

78

0

86

86

0

79

81

0

83

84

0

79

0

88

81

85

0

85

83

0

82

0

82

81

0

81

77

0

86

76

0

81

84

85

78

0

83

77

81

 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

### Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

## Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
\$0.00