class TBinaryTestTable : public tObject;
Defines binary test table structure.
Defines 2x2 binary test table structure. An important task in diagnostic is to measure the accuracy of a diagnostic test. This can be done by comparing the test result with the true condition status of a number of patients. The results of such a study can be displayed in a 2-by-2 table in which the true condition is shown as the rows and the diagnostic test result is shown as the columns.
Class Diagnostic Test Results --------------- ---------- -------- ------- True condition Positive Negative Total Present(true) T1 T0 N1 Absent (false) F1 F0 N0 Total M1 M0 N
Properties
| Name | Type | Description |
|---|---|---|
| F0 | int | Defines number of false negative values. |
| F1 | int | Defines number of false positive values. |
| M0 | int | Returns second column total (T0+F0). |
| M1 | int | Returns first column total (T1+F1). |
| N | int | Returns table grand total (T1+T0+F1+F0). |
| N0 | int | Returns second row total (F1+F0). |
| N1 | int | Returns first row total (T1+T0). |
| Se1 | double | Returns test sensitivity. |
| Se2 | double | Returns test sensitivity. |
| Sp1 | double | Returns specificity. |
| Sp2 | double | Returns specificity. |
| T0 | int | Defines number of true negative values. |
| T1 | int | Defines number of true positive values. |
Methods
| Name | Description |
|---|---|
| Assign | |
| GetSe1CI | Returns TBinaryTestTable::Se1 confidence interval. |
| GetSe2CI | Returns TBinaryTestTable::Se2 confidence interval. |
| GetSp1CI | Returns TBinaryTestTable::Sp1 confidence interval. |
| GetSp2CI | Returns TBinaryTestTable::Sp2 confidence interval. |
Fields
| Name | Type | Description |
|---|---|---|
| FAlpha | double | |
| FPaired | bool |