Learn R Programming

PropCIs

Resources

The confidence intervals are mostly described in Alan Agresti's CDA book.
How to calculate the intervals in other software is described at the webpage for CDA.

To post feature requests or ask for help, try the PropCIs Issue Tracker.

Development

To install the development version of the PropCIs package, it is easiest to use the devtools package:

install.packages("devtools")  # if needed..
library(devtools)
install_github("PropCIs", "shearer")
library(PropCIs)

Copy Link

Version

Install

install.packages('PropCIs')

Monthly Downloads

1,666

Version

0.3-0

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

February 23rd, 2018

Functions in PropCIs (0.3-0)

diffci.bayes.hpd

Bayesian HPD confidence interval for different of independent proportions
orci.bayes

Bayesian tail confidence interval for an odds ratio
scoreci

Wilson's confidence interval for a single proportion
diffci.bayes

Bayesian confidence interval for different of independent proportions
z2stat

internal function
orscoreci

score confidence interval for an odds ratio in a 2x2 table [p1(1-p1)/(p2(1-p2))]
wald2ci

Wald interval with the possibility to adjust according to Agresti, Caffo (2000) for difference in proportions and independent samples.
scoreci.mp

Tango's score confidence interval for a difference of proportions with matched pairs
add4ci

Agresti-Coull add-4 CI for a binomial proportion
addz2ci

Agresti-Coull CI for a binomial proportion based on adding z^2/2 successes and z^2/2 failures before computing the Wald CI
midPci

mid-P confidence interval adaptation of the Clopper-Pearson interval
oddsratioci.mp

Adapted binomial score confidence interval for the subject-specific odds ratio with matched pairs
diffpropci.mp

Adjusted Wald interval for a difference of proportions with matched pairs
blakerci

Blaker's exact CI for a binomial proportion
diffpropci.Wald.mp

Wald interval for a difference of proportions with matched pairs
rrci.bayes

Bayesian tail confidence interval for the relative risk
PropCIs-package

Confidence intervals for single, paired and independent proportions
exactci

Clopper-Pearson exact CI
diffscoreci

Score interval for difference of proportions
riskscoreci

score confidence interval for the relative risk in a 2x2 table
limit

internal function
acceptbin

internal function