Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.65 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.65 KB

Contents of directory

This directory contains code that reproduces the results and plots for the synthetic simulations.

The code reproduces the following two plots:

The scripts below should take care of computing the results and creating plots.

Installing relevant packages

If the Julia packages necessary for running these scripts are not present in your system, you can install them by:

  1. Starting Julia in the directory where the scripts are located.
  2. Switch to package mode with ] and activate the local environment with activate .
  3. Still within package model execute instantiate.

It may take considerable time for Julia to install the necessary packages.

Running the scripts

By simply using in the julia REPL:

include("runme.jl")

you will compute all the posterior delay distributions. The results will be saved in files that use the JLD2 format.

Once the results have been computed and saved, by using in the julia REPL:

include("runme_createplotforsynthposteriors.jl")

it should be possible to recreate the plot that shows the posterior delay distributions in the paper.

Similarly, with:

include("runme_createplotalignedsynthetics.jl")

it should be possible to recreate the plot that shows the posterior delay distributions in the paper.