Description Usage Arguments Details Value Author(s) References Examples
np.t gives a two-sided rank-based confidence interval with t- approximation for the difference of two dependent proportions. Data are assumed to be of a fourfold table, which contains the numbers of concordance and the numbers of discordance of two dependent methods.
1 |
a |
first number of concordant paires as described above |
b |
first number of discordant paires as described above |
c |
second number of discordant paires as described above |
d |
second number of concordant paires as described above |
n |
number of observed objects |
alpha |
type I error; between zero and one |
The t-approximation is used for the critical value for the interval.
A list with class '"htest"' containing the following components:
conf.int |
a confidence interval for the difference in proportions |
estimate |
estimated difference in proportions |
Daniela Wenzel, Antonia Zapf
Lange, K. and Brunner, E. (2012). Sensitivity, Specificity and ROC-curves in multiple reader diagnostic trials-A unified, nonparametric approach. Statistical Methodology 9, 490-500.
1 2 | # a=10, b=15, c=5, d=20, n=50, type I error is 0.05
conf.int=np.t(10,15,5,20,50,0.05)
|
Loading required package: gee
Loading required package: rootSolve
Loading required package: PropCIs
Warning messages:
1: In c(-1, 1) * (sqrt(contr %*% v %*% as.matrix(contr, ncol = 1, nrow = 2)) * :
Recycling array of length 1 in vector-array arithmetic is deprecated.
Use c() or as.vector() instead.
2: In value %*% contr + c(-1, 1) * (sqrt(contr %*% v %*% as.matrix(contr, :
Recycling array of length 1 in array-vector arithmetic is deprecated.
Use c() or as.vector() instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.