민감도(Sensitivity) & 특이도(Specificity) 예시

CODEDRAGON Development/Big Data, R, ...

반응형


 

 

 

민감도(Sensitivity) & 특이도(Specificity) 예시

 

 

민감도(Sensitivity) 계산

 

 

Predict Negative

Predict Positive

Predict data

 

 

PN=0

PP=1

total

True Negative

TN=0

5 (TN)

2 (FP)

7 (N)

True  Positive

TP=1

3 (FN)

5 (TP)

8 (P)

Actual data

total

8

7

15

 

지표

계산값

민감도(Sensitivity)

= TPR

5/8=0.625

특이도(Specificity)

= 1-FPR

FPR: 2/7=0.2857

 

1-2/7=0.7143

 


 

 

 

 

 

특이도(Specificity) 계산

 

 

 

Predict Negative

Predict Positive

Predict data

 

 

PN=0

PP=1

total

True Negative

TN=0

5 (TN)

2 (FP)

7 (N)

True  Positive

TP=1

3 (FN)

5 (TP)

8 (P)

Actual data

total

8

7

15

 

지표

계산값

민감도(Sensitivity)

= TPR

5/8=0.625

특이도(Specificity)

= 1-FPR

FPR: 2/7=0.2857

 

1-2/7=0.7143