PHEindicatormethods (version 1.1.5)

byars_upper: byars_upper

Description

Calculates the upper confidence limits for observed numbers of events using Byar's method [1].

Usage

byars_upper(x, confidence = 0.95)

Arguments

x

the observed numbers of events; numeric vector; no default

confidence

the required level of confidence expressed as a number between 0.9 and 1 or 90 and 100; numeric; default 0.95

Value

Returns upper confidence limits for observed numbers of events using Byar's method [1]

Notes

byars_lower and byars_upper together return symmetric confidence intervals around counts, therefore for a specified confidence level, \(\alpha\), the probability that, by chance, the upper limit returned will be below the true underlying value, is \(\alpha\)/2.

References

[1] Breslow NE, Day NE. Statistical methods in cancer research, volume II: The design and analysis of cohort studies. Lyon: International Agency for Research on Cancer, World Health Organisation; 1987.

-------------------------------------------------------------------------------------------------