std.rate.ratio: Standardized Rate Ratio

Description Usage Arguments Value References See Also Examples

Description

Calculate the ratio of standardized death rates and its confidence interval.

Usage

1
std.rate.ratio(count, pop, stdcount, stdpop, conf.level = 0.95)

Arguments

count

vector of age-specific cohort deaths

pop

vector of age-specific cohort population or person-years

stdcount

vector of age-specific standard population deaths

stdpop

vector of age-specific standard population

conf.level

confidence level as a number between 0 and 1. Default is 0.95.

Value

a list with the following components:

Standardized rate ratio

The ratio of the standardized death rates

CI

The confidence interval for the standardized rate ratio

Crude rate ratio

The ratio of the crude cohort death rate to the standard population death rate

directly standardized death rate

The weighted average of the cohort age-specific death rates

References

Newman (2001), pages 251-255.

See Also

ageadjust.direct in the epitools package.

Examples

1
2
3
4
5
with(schizophrenia, 
     std.rate.ratio(count = cohort.deaths, 
                    pop = cohort.py,
                    stdcount = alberta.deaths, 
                    stdpop = alberta.pop))

clayford/bme documentation built on May 13, 2019, 7:37 p.m.