Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I would like to know how to calculate the false negative, the true negative, the false positive and the true positive to form a confusion matrix. A numeric example would clear all doubts I think. Thanks.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

True positives are cases predicted positive which are actual positive

False positives are cases predicted positive which are actual negative (false alarms)

False negatives are cases predicted negative which are actual positive (missed cases)

True negatives are cases predicted negative which are actual negative

Just count these up and put them in your confusion matrix. If you want rates, Wikipedia has a concise description.

share|improve this answer
add comment

You question may be ill-posed, but let me see if I can provide some thoughts.

Does this Example work?

Matlab even has a Command with examples.

Regards -A

share|improve this answer
    
+1 months too late! ;-) –  amWhy May 12 '13 at 0:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.