Question: 2 0 Numeric 4 . 8 points Predict the likelihood that an administrator completed the task ( Completed . task = 1 ) and create
Numeric points
Predict the likelihood that an administrator completed the task Completedtask and create a confusion matrix with a cutoff to see the accuracy of the predictions.
Use the predict command to create a new dataset with the predicted values included.
Create a confusion matrix with your prediction variable
Use the following code to produce the confusion matrix.
admin.logitpred predictadminlogit dataadmin.df type"response"
tableadmindf$Completed.task, admin.logitpred
How many cases are true positives?
Type your answer...
Numeric points
What percentage of cases did our model misclassify? Use no decimal places and no sign.
Type your answer...
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
