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

1 | ```
riskscoreci(x1, n1, x2, n2, conf.level)
``` |

`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 |

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

`conf.int ` |
a confidence interval for the difference in proportions. |

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.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.