GithubHelp home page GithubHelp logo

bdsss-seir's Introduction

Beta-Dirichlet Switching State-Space SEIR Model (BDSSS-SEIR)

Authors: Jingxue Feng ([email protected]), Liangliang Wang ([email protected])

Goal

We propose a Beta-Dirichlet switching state-space transmission model to track underlying dynamics of disease and evaluate the effectiveness of interventions simultaneously. Bayesian inference are performed using a particle MCMC algorithm.

Model Description

$$\boldsymbol{\theta}_t | \boldsymbol{\theta}_{t-1},x_t \sim \text{Dirichlet}(\kappa r(\boldsymbol{\theta}_{t-1}; \alpha, \beta, \gamma, f_{x_t})) \\$$ $$y_t |\boldsymbol{\theta}_t \sim \text{Beta}(\lambda p I_t, \lambda (1- p I_t))$$
  • $y_t$ is the observed infectious proportion at time $t$ ;
  • $x_t$ is a discrete latent variable describing the regime of model at time $t$;
  • $p$ is the identification rate representing the fraction of infectious population identified by diagnosis;
  • $\boldsymbol{\theta}_t = [S_t, E_t, I_t, R_t]^\top$ is the vector of the underlying proportion of the susceptible, exposed, infectious, and recovered population, where $S_t+E_t+I_t+R_t=1 \ \forall t$;
  • $\alpha$, $\beta$ and $\gamma$ are the latency rate, transmission rate and recovery rate in the SEIR system respectively;
  • $\lambda$ and $\kappa$ are the precision parameters controlling the variances (or randomness) for the observation and transition process;
  • $f_{x_t}$ is the transmission rate modifier that changes with respect to the state variable $x_t$.
  • $\psi$ represents the set of model parameters to be estimated.
  • $r(.)$ is the solution of the modified SEIR system starting at $\boldsymbol{\theta}_{t-1}$.

Features

This repository contains R code for simulation studies and real data analysis of BDSSS-SEIR model, described as follows:

  • "Code" contains source R code for particle Gibbs samplers in simulation study and real data analysis.
    • In "Simulation Study", the two-regime and three-regime cases are simulated and estimated.
    • In "Real Data", the particle Gibbs sampler is implemented for K=1,2,3 and 4
  • "Data" contains simulated data in two-regime and three-regime settings, as well as the real data retreived from here.

bdsss-seir's People

Contributors

grace84 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.