ci.beta: Confidence intervals based on the beta distribution

Description Usage Arguments Details Value References

Description

Confidence intervals for directly standardized rates based on the beta distribution.

Usage

1
ci.beta(x, w, level, type = c("tcz", "cc"))

Arguments

x

a vector of stratum-specific counts of events

w

a vector of stratum-specific weights

level

confidence level for the returned confidence interval

type

type of modification for the beta confidence interval

Details

Uses the methods proposed by Tiwari et al (2006) and further explored by Ng et al (2008).

Value

a vector with the lower and upper bound of the confidence interval. The estimate of the directly standardised rate and the level of confidence are returned as attributes to this vector.

References

Ng, Filardo, & Zheng (2008). 'Confidence interval estimating procedures for standardized incidence rates.' Computational Statistics and Data Analysis 52: 3501–3516. doi: 10.1016/j.csda.2007.11.004

Tiwari, Clegg, & Zou (2006). 'Efficient interval estimation for age-adjusted cancer rates.' Statistical Methods in Medical Research 15: 547–569. doi: 10.1177/0962280206070621


mnel/dsrci documentation built on May 23, 2019, 5:06 a.m.