Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 838 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 838 Bytes

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