TBinaryTestTable Class

Source: StatTools.cs · Assembly: Dew.Stats

public class TBinaryTestTable

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

NameTypeDescription
F0Int32Defines number of false negative values.
F1Int32Defines number of false positive values.
M0Int32Returns second column total (T0+F0).
M1Int32Returns first column total (T1+F1).
NInt32Returns table grand total (T1+T0+F1+F0).
N0Int32Returns second row total (F1+F0).
N1Int32Returns first row total (T1+T0).
Se1DoubleReturns test sensitivity.
Se2DoubleReturns test sensitivity.
Sp1DoubleReturns specificity.
Sp2DoubleReturns specificity.
T0Int32Defines number of true negative values.
T1Int32Defines number of true positive values.

Methods

NameDescription
GetSe1CIReturns Dew.Stats.TBinaryTestTable.Se1 confidence interval.
GetSe2CIReturns Dew.Stats.TBinaryTestTable.Se2 confidence interval.
GetSp1CIReturns Dew.Stats.TBinaryTestTable.Sp1 confidence interval.
GetSp2CIReturns Dew.Stats.TBinaryTestTable.Sp2 confidence interval.