Description Usage Arguments Value References Examples
Confidence functions for the difference of two matched proportions based on the score statistic.
1 | matchedprop.conf(b, c, n, plot = TRUE, conf.level = 0.95)
|
b |
the number of trials where the first outcome is a failure and the second outcome is a success |
c |
the number of trials where the first outcome is a success and the second outcome is a failure |
n |
the number of trials |
plot |
whether to plot the confidence density and curve |
conf.level |
the confidence level for the confidence interval indicated on the confidence curve |
A list containing the confidence functions pconf, dconf, cconf, and qconf for the difference of two matched proportions, as well as the P-curve and S-curve.
Toshiro Tango. "Equivalence test and confidence interval for the difference in proportions for the pairedāsample design." Statistics in Medicine 17.8 (1998): 891-908.
1 | matchedprop.conf(b = 5, c = 10, n = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.