Description Usage Arguments Details Value References
Confidence intervals for directly standardized rate estimate. A common approach for constructing confidence intervals around an MLE is to use a normal approximation of the MLE or transformed MLE.
1 | ci.asymptotic(x, w, level, trans = c("none", "log", "cube.root", "skew"))
|
x |
a vector of counts |
w |
a vector of weights |
level |
the level of confidence |
trans |
transformation to apply |
Four different transformations are implented - following Ng et al (2008).
none (no transformation)
log
cubic root
Edgeworth correction for skewness
a vector with the lower and upper bound of the confidence interval.The estimate of the directly standardised rate and the of confidence are returned as attributes to this vector
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.