The misclassification table is not present when the splitting method is class probability.
In the weighted case, the weighted count is the sum of the weights for a category. When you have weights, use the weighted counts to calculate the different weights.
In the weighted case, use weighted counts in place of counts.
The calculation of cost depends on whether the response variable is binary or multinomial.
Cost = (% Error × Input misclassification cost for class) / 100
The following equation gives the cost for the event class:
The following equation gives the cost for the non-event class:
The following equation gives the overall cost for all classes:
The following equation gives the overall cost for the multinomial case:
For example, consider a response variable with 3 classes and the following misclassification costs:
Then, consider that the following table gives the error percentages:
Finally, consider that the classes of the response variable have the following prior probabilities:
The following equation gives the overall cost: