sesp.exactbinom {DTComPair}  R Documentation 
Performs an exact binomial test for differences in sensitivity and specificity of two binary diagnostic tests in a paired study design.
sesp.exactbinom(tab)
tab 
An object of class 
The function performs a standard exact binomial test.
An exact binomial test is recommended when the number of patients with differing results for test 1 and test 2 (discordant pairs) is small, i.e. <20 (Zhou et al., 2011).
A list containing:
sensitivity 
A list containing

specificity 
A list containing

method 
The name of the method used to compare sensitivity and specificity, here “exactbinom”. 
Zhou, X., Obuchowski, N., and McClish, D. (2011). Statistical Methods in Diagnostic Medicine. Wiley Series in Probability and Statistics. John Wiley & Sons, Hoboken, New Jersey, 2nd edition.
sesp.mcnemar
and tab.paired
.
data(Paired1) # Hypothetical study data
ftable(Paired1)
paired.layout < tab.paired(d=d, y1=y1, y2=y2, data=Paired1)
paired.layout
exact.results < sesp.exactbinom(paired.layout)
str(exact.results)
exact.results
exact.results$sensitivity["p.value"]