This repository contains the source code, Jupyter notebooks, and data used to produce the results for the above titled project.
To run this analysis on your computer, both Julia and Jupyter Notebook must be available. A version of Julia appropriate for your OS can be downloaded from the Julia language website, and Jupyter can be installed from within Julia (in the REPL) with
] add IJulia
Alternate instructions for installing Jupyter can be found on the IJulia github or the Jupyter homepage (advanced).
From within the main repository directory, start Julia and then start Jupyter in the Julia REPL
using IJulia
notebook(;dir=pwd())
or if using a system Jupyter installation, start Jupyter from your favorite available shell (e.g. Powershell on Windows, bash on any *nix variant, etc.).
The Swing asymmetry
notebook is written such that running the entire notebook will reproduce the results reported in the paper. The Monte Carlo power simulation
notebook enables reproduction of the simulation (~14 hours using 20 threads with the given parameters) and/or analysing the simulation results and generating figures.
Simulation results are stored in notebooks/powersimulation-results.h5
. See the power simulation notebook for more details about the storage of the simulation results.