Learn R Programming

PropCIs (version 0.3-0)

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

Description

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

Usage

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

Arguments

x1

number of successes in sample 1

n1

sample size in sample 1

x2

number of successes in sample 2

n2

sample size in sample 2

conf.level

confidence coefficient \(1-\alpha\)

Value

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

conf.int

a confidence interval for the difference in proportions.

References

Nam, J. M. (1995) Confidence limits for the ratio of two binomial proportions based on likelihood scores: Non-iterative method. Biom. J. 37 (3), 375--379.

Koopman PAR. (1985) Confidence limits for the ratio of two binomial proportions. Biometrics 40, 513--517.

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

Agresti, A. (2002) Categorical Data Analysis. Wiley, 2nd Edition.