rr.eval: Relative Risk Evaluation

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/ares.r

Description

Compute relative risk for some unit and confidence intervals

Usage

1
rr.eval(beta, se, unit = 1, confidence.level = 0.95)

Arguments

beta

regression coefficient of the exposure variate

se

regression standard error of the exposure variate

unit

a value by which the coefficient is multiplied

confidence.level

confidence level for interval computation

Details

The function simply compute the relative risk and the confidence interval for a given amount of pollutant in unit. It is intended to be called internally by estimate_risks.

Value

A vector containing the relative risk and confidence limits.

Author(s)

Washington Junger wjunger@ims.uerj.br and Antonio Ponce de Leon ponce@ims.uerj.br

References

Schwartz, J., Spix, C., Touloumi, G. et al. (1996) Methodological issues in studies of air pollution and daily counts of deaths or hospital admissions. J Epidemiol. Community Health 50 (suppl 1), S12–S18.

McGullagh, P., Nelder, J. A. (1989) Generalized linear models. Chapman and Hall.

Hastie, T., Tibshirani, R. (1990) Generalized additive models. 2 ed. Chapman and Hall.

See Also

fit_core,plot_risk

Examples

1
2
3
4
5
6
data(admrio)
setup(admrio,"date")
f <- resp5~s(time)+weekdays+s(tmpmax)+s(humid)
m <- fit_core(f)
rr <- estimate_risks(m,c("pm10","so2"),digits=3,labels=c("PM10","SO2"),
	method="singlelag",lag.struc=list(l=0:2,ma=1:5))

wjunger/ares documentation built on Dec. 23, 2021, 5:17 p.m.