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.
If the Julia packages necessary for running these scripts are not present in your system, you can install them by:
- Starting Julia in the directory where the scripts are located.
- Switch to package mode with
]
and activate the local environment withactivate .
- Still within package model execute
instantiate
.
It may take considerable time for Julia to install the necessary packages.
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.