Skip to content

Codes for the paper "A Comparison between Markov Switching Zero-inflated and Hurdle Models for Spatio-temporal Infectious Disease Counts" by Mingchi Xu, Dirk Douwes-Schultz and Alexandra M. Schmidt.

Notifications You must be signed in to change notification settings

MingchiXu/Markov_Switching_Hurdle_code

Repository files navigation

Markov_Switching_Hurdle_code

Code for the paper by Mingchi Xu, Dirk Douwes-Schultz and Alexandra M. Schmidt.

  • data folder: datasets used in the paper
  • rps folder: codes for rps calculation of five models (NB, NBH, ZINB, ZS-MSNB and ZS-MSNBH models)
  • NB_with_r.R: codes for NB model
  • NBH_with_r.R: codes for NBH model
  • ZINB_with_r.R: codes for ZINB model
  • ZS_MSNB_no_spatial.R: codes for ZS-MSNB model without a spatial term modelled
  • ZS_MSNB_spatial.R: codes for ZS-MSNB model with a spatial term modelled
  • ZS_MSNBH_no_spatial.R: codes for ZS-MSNBH model without a spatial term modelled
  • ZS_MSNBH_spatial.R: codes for ZS-MSNBH model with a spatial term modelled
  • prediction_231.R: samples for prediction of 5 models (NB, NBH, ZINB, ZS-MSNBH and ZS-MSNBH models) at T=231
  • Figures_code.R: codes for the figures in the paper

About

Codes for the paper "A Comparison between Markov Switching Zero-inflated and Hurdle Models for Spatio-temporal Infectious Disease Counts" by Mingchi Xu, Dirk Douwes-Schultz and Alexandra M. Schmidt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published