confIntRate | R Documentation |
Compute a confidence interval for Poisson rates using the Wald and Wilson methods.
confIntRate(x, t, conf.level = 0.95)
confIntRateWald(x, t, conf.level = 0.95)
confIntRateWilson(x, t, conf.level = 0.95)
x |
Number of events. |
t |
Total observation time. |
conf.level |
Confidence level for confidence interval. |
confIntRate
returns a data.frame with columns: x
, t
, type
,
rate
, lower
, upper
.
confIntRateWald
returns a matrix with columns
rate
, lower
, and upper
.
confIntRateWilson
returns a matrix with columns
rate
, lower
, and upper
.
Leonhard Held
Held, L., Rufibach, K. and Seifert, B. (2013). Medizinische Statistik - Konzepte, Methoden, Anwendungen. Section 8.2.
confIntRateDiff
, package Hmisc.
confIntRateWald(x = 1, t = 2.2)
confIntRateWilson(x = 1, t = 2.2)
confIntRate(x = 3:1, t = seq(from = 1, to = 2.2, length.out = 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.