confIntRateDiff | R Documentation |
Compute a confidence interval for Poisson rate differences using the Wald and Wilson methods.
confIntRateDiff(x, t, conf.level = 0.95)
x |
vector of length 2, number of events in each group. |
t |
vector of length 2, total observation time in each group. |
conf.level |
Confidence level for confidence interval. |
A list with the entries:
rd |
Estimated rate difference. |
CIs |
Data.frame containing confidence intervals for the rate difference. |
Leonhard Held
Held, L., Rufibach, K. and Seifert, B. (2013). Medizinische Statistik - Konzepte, Methoden, Anwendungen. Section 8.2.
confIntRateWilson
, confIntRateWald
confIntRateDiff(x = c(30, 50), t = c(100, 120.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.