Answer:
The classification matrix is attached below
Part a
The classification error rate for the records those are truly fraudulent is 65.91%.
Part b
The classification error rate for records that are truly non-fraudulent is 96.64%
Step-by-step explanation:
The classification matrix is obtained as shown below:
The transaction dataset has 30 fraudulent correctly classified records out of 88 records, that is, 30 records are correctly predicted given that an instance is negative.
Also, there would be 88 - 30 = 58 non-fraudulent incorrectly classified records, that is, 58 records are incorrectly predicted given that an instance is positive.
The transaction dataset has 920 non-fraudulent correctly classified records out of 952 records, that is, 920 records are correctly predicted given that an instance is positive.
Also, there would be 952 - 920 = 32 fraudulent incorrectly classified records, that is, 32 records incorrectly predicted given that an instance is negative.
That is,
Predicted value
Active value Fraudulent Non-fraudulent
Fraudlent 30 58
non-fraudulent 32 920
The classification matrix is obtained by using the information related to the transaction data, which is classified into fraudulent records and non-fraudulent records.
The error rate is obtained as shown below:
The error rate is obtained by taking the ratio of and the total number of records.
The classification matrix is, shown above
The total number of records is,
The error rate is,
The percentage is
(a)
The classification error rate for the records those are truly fraudulent is obtained by taking the rate ratio of b and .
The classification error rate for the records those are truly fraudulent is obtained as shown below:
The classification matrix is, shown above and in the attachment
The error rate for truly fraudulent is,
The percentage is,
(b)
The classification error rate for records that are truly non-fraudulent is obtained by taking the ratio of d and .
The classification error rate for records that are truly non-fraudulent is obtained as shown below:
The classification matrix is, shown in the attachment
The error rate for truly non-fraudulent is,
The percentage is,