Learn R Programming

PropCIs (version 0.3-0)

scoreci.mp: Tango's score confidence interval for a difference of proportions with matched pairs

Description

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

Usage

scoreci.mp(b, c, n, conf.level)

Arguments

b

off-diagonal count

c

off-diagonal count

n

sample size

conf.level

confidence coefficient

Value

A list with class '"htest"' containing the following components:

conf.int

a confidence interval for the difference in proportions.

References

Agresti, A. and Min, Y. (2005) Simple improved confidence intervals for comparing matched proportions Statistics in Medicine 24 (5), 729--740.

Tango T. (1998) Equivalence test and confidence interval for the difference in proportions for the paired-sample design Statistics in Medicine 17, 891--908

Examples

Run this code
# NOT RUN {
scoreci.mp(b = 40, c = 20, n = 160, conf.level = 0.95)
# }

Run the code above in your browser using DataLab