ci.gamma: Confidence intervals using Gamma methods

Description Usage Arguments Details References See Also

Description

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

Usage

1
2
ci.gamma(x, w, level, type = c("max", "midp", "mean", "minmaxavg", "tcz"),
  ...)

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 gamma confidence interval

...

passed to asht::wspoissonTest when type = 'midp'

Details

Calls asht::wspoissonTest with the appropriate type modification for the gamma confidence interval (wmtype) and 'mid.p' value. Note that the 'mid.p' method uses wmtype = 'max'.

References

Fay MP (2017). 'asht: Applied Statistical Hypothesis Tests'. R package version 0.9. ahst

Fay & Feuer (1997). 'Confidence intervals for directly standardized rates: a method based on the gamma distribution.' Statistics in Medicine. 16: 791–801. https://doi.org/10.1002/(SICI)1097-0258(19970415)16:7<791::AID-SIM500>3.0.CO;2-%23

Fay & Kim (2017). 'Confidence intervals for directly standardized rates using mid-p gamma intervals.' Biometrical Journal. doi: 10.1002/bimj.201600111.

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

See Also

wspoissonTest


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