This repository contains the code to reproduce the results from the paper 'Network Modelling of Asynchronous Change-Points in Multivariate Time Series' (McKee & Kalli, 2025) which is available on arxiv here.
A description of each directory/file is given below:
plots_notebook.ipynbProvides step by step guidance to reporduce all plots and tables in the paper. This can be done by using the pre-computed results available in this repository, or by re-running the MCMC from scratch.sim_studyContains the results from the simulation study. This was performed on a high performance computing cluster (approx 200 nodes) and so only the cluster results + plotting code is given here.eegContains all data and scripts to reproduce the eeg results from scratch. Also contains the pre-computed results which are used in the papers plots.seismicContains all data and scripts to reproduce the seismology results from scratch. Also contains the pre-computed results which are used in the papers plots.sampler_comparisonContains code to reproduce the comparison of different MCMC samplers given in the appendix of the paper.srcContains the raw C++ source code to perform MCMC on the NetCP model model along with the models of Yao (1984) and Quinlan et al. (2024) using both particle MCMC and single site gibbs samplers.
If you wish to re-run the MCMC from scratch, a g++ compiler is required to build and run the C++ code.