h_incidence_rate {tern} | R Documentation |
Helper functions for incidence rate
Description
Usage
h_incidence_rate_normal(person_years, n_events, alpha = 0.05)
h_incidence_rate_normal_log(person_years, n_events, alpha = 0.05)
h_incidence_rate_exact(person_years, n_events, alpha = 0.05)
h_incidence_rate_byar(person_years, n_events, alpha = 0.05)
h_incidence_rate(person_years, n_events, control = control_incidence_rate())
Arguments
person_years |
( |
n_events |
( |
alpha |
( |
control |
(
|
Value
Estimated incidence rate, rate
, and associated confidence interval, rate_ci
.
Functions
-
h_incidence_rate_normal()
: Helper function to estimate the incidence rate and associated confidence interval based on the normal approximation for the incidence rate. Unit is one person-year. -
h_incidence_rate_normal_log()
: Helper function to estimate the incidence rate and associated confidence interval based on the normal approximation for the logarithm of the incidence rate. Unit is one person-year. -
h_incidence_rate_exact()
: Helper function to estimate the incidence rate and associated exact confidence interval. Unit is one person-year. -
h_incidence_rate_byar()
: Helper function to estimate the incidence rate and associated Byar's confidence interval. Unit is one person-year. -
h_incidence_rate()
: Helper function to estimate the incidence rate and associated confidence interval.
See Also
Examples
h_incidence_rate_normal(200, 2)
h_incidence_rate_normal_log(200, 2)
h_incidence_rate_exact(200, 2)
h_incidence_rate_byar(200, 2)