modTempEff (version 1.5.2)

modTempEff-package: Modelling temperature effects on mortality via the constrained segmented distributed lag parameterization

Description

Estimation of a Poisson log linear regression to model the temperature effect on health using the `constrained segmented distributed lag parameterization' which allows to account simultaneously for typical features of temperature effects: nonlinear effect delayed over several days.

Arguments

Details

Package:
modTempEff
Type:
Package
Version:
1.5.2
Date:
2014-09-16
License:
GPL
Package modTempEff fits a Poisson log linear regression to model the temperature effect on health using the `constrained segmented distributed lag parameterization' which allows to account simultaneously for typical features of temperature effects: nonlinear effect delayed over several days. Fitting is performed by the function tempeff and 'print', 'summary', 'plot', 'anova' and 'coef' methods are included to summarize and to display results.

References

Muggeo, V.M.R. (2010) Analyzing temperature effects on mortality within the R environment: the constrained segmented distributed lag parameterization Journal of Statistical Software 32, 12, 1--17.

Muggeo, V.M.R. (2008) Modeling temperature effects on mortality: multiple segmented relationships with common break points Biostatistics 9, 613--620.

Muggeo, V.M.R., Hajat, S. (2009) Modelling the nonlinear multiple-lag effects of ambient temperature on mortality in Santiago and Palermo : a constrained segmented distributed lag approach. Occupational Environmental Medicine 66, 584--591.

Muggeo, V.M.R. (2003) Estimating regression models with unknown break-points. Statistics in Medicine 22, 3055--3071.

Some background references on temperature effect on mortality via time series data (epidemiological papers)

Armstrong, B. (2006) Models for the relationship between ambient temperature and daily mortality Epidemiology 17, 624--631.

Basu, R., Samet, J. (2002). Relation between elevated ambient temperature and mortality: a review of the epidemiologic evidence Epidemiological Reviews 24, 190--202.

See Also

mgcv

Examples

Run this code
## Not run: 
# data(dataDeathTemp)
# o1<-tempeff(dec1~day+factor(dweek)+factor(year)+factor(month)+
#       csdl(mtemp,L=c(60,60),psi=20, ridge=list(cold="l^2",heat="l^2")),
#       data=dataDeathTemp, fcontrol = fit.control(display=TRUE))
# 
# o2<-tempeff(dec1~seas(day,30)+
#       csdl(mtemp,L=c(60,60),psi=20, ridge=list(cold="l^2",heat="l^2")),
#       data=dataDeathTemp, fcontrol = fit.control(display=FALSE))
# 
# ## End(Not run)

Run the code above in your browser using DataLab