get_smr: Standardised Mortality Ratio (SMR)

Description Usage Arguments Value Examples

View source: R/01-smr.R

Description

The Standardized Mortality Ratio (SMR) is the ratio of observed to the expected number of deaths in the study population under the assumption that the mortality rates for the study population are the same as those for the general population. This fumction estimates SMR and various confidence intervals and tests for statistical significance.

Usage

1
get_smr(a, b, z = 0.05)

Arguments

a

The observed number of deaths

b

The expected number of deaths

z

Desired confidence interval/limits. Defaults to 0.05 for 95% confidence interval/limits

Value

An object of class smr providing point estimate of SMR, estimates of various confidence interval/limits calculation approaches, and results of tests for statistical significance

Examples

1
get_smr(a = 4, b = 3.3)

ernestguevarra/rOpenEpi documentation built on Feb. 9, 2020, 12:14 a.m.