Description Usage Arguments Value References Examples
Confidence functions for the difference of two binomial proportions based on the score statistic.
1 | prop.conf.2s(x, n, plot = TRUE, conf.level = 0.95)
|
x |
a vector of counts of successes in each independent sample |
n |
a vector of the number of trials in each independent sample |
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 proportions, as well as the P-curve and S-curve.
Olli Miettinen and Markku Nurminen. "Comparative analysis of two rates." Statistics in Medicine 4.2 (1985): 213-226.
Markku Nurminen. "Confidence intervals for the difference and ratio of two binomial proportions." Biometrics 42 (1986): 675-676.
1 | prop.conf.2s(x = c(1, 2), n = c(10, 10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.