bonett_price | R Documentation |
This function computes the Wald confidence interval with Bonett-Price Laplace adjustment confidence interval for the difference between two paired proportions. It gives the estimate as well.
bonett_price(n12, n21, N, alpha = 0.05)
n12 |
corresponding cell frequency in 2x2 setting |
n21 |
corresponding cell frequency in 2x2 setting |
N |
table total frequency |
alpha |
type I error |
Fagerland MW, Lydersen S, Laake P. Recommended tests and confidence intervals for paired binomial proportions. Stat Med. 2014 Jul 20;33(16):2850-75. doi: 10.1002/sim.6148. Epub 2014 Mar 20.
# table V fagerland etal, recommended tests and confindence intervals
# for paired binomial proportions ,stat in med 2014
bonett_price(n12 = 1, n21 = 7, N =21)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.