Related Experiment Video
Updated: Apr 6, 2026

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
Exact confidence intervals for the relative risk and the odds ratio
Weizhen Wang1,2, Guogen Shan3
1College of Applied Sciences, Beijing University of Technology, Beijing 100124, P. R. China.
Abstract:
For comparison of proportions, there are three commonly used measurements: the difference, the relative risk, and the odds ratio. Significant effort has been spent on exact confidence intervals for the difference. In this article, we focus on the relative risk and the odds ratio when data are collected from a matched-pairs design or a two-arm independent binomial experiment. Exact one-sided and two-sided confidence intervals are proposed for each configuration of two measurements and two types of data. The one-sided intervals are constructed using an inductive order, they are the smallest under the order, and are admissible under the set inclusion criterion. The two-sided intervals are the intersection of two one-sided intervals. R codes are developed to implement the intervals. Supplementary materials for this article are available online.
Related Concept Videos
Odds Ratio
Relative Risk
Interpretation of Confidence Intervals
Confidence intervals have confidence coefficients that are crucial for their interpretation. The most common confidence coefficients are 0.90, 0.95, and 0.99, which can be written as percentages–90%, 95%, and 99%, respectively.
Suppose a person calculates a confidence interval with a confidence coefficient of 0.95. In that case, they can...
Confidence Intervals
A...
Uncertainty: Confidence Intervals
Confidence Coefficient

