Learn R Programming

PropCIs (version 0.3-0)

diffscoreci: Score interval for difference of proportions

Description

Score interval for difference of proportions and independent samples (p1 - p2)

Usage

diffscoreci(x1, n1, x2, n2, conf.level)

Arguments

x1

success counts in sample 1

n1

sample size in sample 1

x2

success counts in sample 2

n2

sample size in sample 2

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. (2002) Categorical Data Analysis. Wiley, 2nd Edition.

Mee, RW. (1984) Confidence bounds for the difference between two probabilities. Biometrics 40, 1175--1176.

Miettinen OS, Nurminen M. (1985) Comparative analysis of two rates. Statistics in Medicine 4, 213--226.

Nurminen, M. (1986) Analysis of trends in proportions with an ordinally scaled determinant. Biometrical J. 28, 965--974