Giter Club home page Giter Club logo

flumodl's Introduction

FluMoDL - InFluenza-attributable Mortality with Distributed Lag models

This package implements a method to estimate influenza-attributable mortality, and also mortality attributable to ambient temperatures, using distributed lag nonlinear models. These models allow addressing the lag dimension of mortality, and provide for a more detailed adjustment for the confounding effect of temperature in the relationship between influenza and mortality.

To fit a FluMoDL one needs to have:

  • a series of daily mean temperatures for the region of interest
  • a daily series of deaths
  • a weekly series of Influenza-Like Illness (ILI) rates, estimated via sentinel surveillance
  • three weekly series of laboratory swab samples Percentage Positives (%) to influenza A(H1N1)pdm09, A(H3N2) and B

These should all cover the same time period.

The package provides functions to facilitate fitting a FluMoDL, summarizing and plotting the results of the analysis, and calculating attributable mortalities (including empirical 95% Confidence Intervals). It also includes the capability to pool analytical results together and calculate attributable mortalities based on BLUP (Best Unbiased Linear Predictor) estimates.

Installation

Packages 'dlnm' and 'mvmeta', by Antonio Gasparrini are the only dependencies for the FluMoDL package. You need to have those installed from CRAN with install.packages(c("dlnm","mvmeta")). Also install the devtools package if you don't already have it: install.packages("devtools").

Then to install FluMoDL, open R and give:

  devtools::install_git("https://github.com/thlytras/FluMoDL.git")

Check back here often for new updates of the package!

Usage

See package documentation. One uses the function fitFluMoDL() to fit the model on the available surveillance data, then gives the fitted model object to attrMort() to calculate attributable mortalities (to influenza, temperature and -optionally- RSV). Check the help pages of these two functions for details. In order to try these out, the package also includes some example surveillance data from Greece (see ?greece).

References

  • Lytras T, Pantavou K, Mouratidou E, Tsiodras S. Mortality attributable to seasonal influenza in Greece, 2013 to 2017: variation by type/subtype and age, and a possible harvesting effect. Euro Surveill 2019;24(14):pii=1800118
  • Gasparrini A, Armstrong B, Kenward MG. Distributed lag non-linear models. Stat Med 2010;29(21):2224–34.
  • Gasparrini A, Leone M. Attributable risk from distributed lag models. BMC Med Res Methodol 2014;14:55.
  • Gasparrini A, Armstrong B, Kenward MG. Multivariate meta-analysis for non-linear and other multi-parameter associations. Stat Med 2012;31(29):3821–39.

flumodl's People

Contributors

thlytras avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.