- Navigate to the GitHub repo
- Locate the blue
<> Codebutton on the top right of the page - Copy the material locally by either cloning the repository or hitting on
Download ZIP
This step implies you already have a Python environment manager (such as Miniconda) installed on your machine. If this is not the case, please find more instructions here.
- Open a terminal
- Create a new Python environment with the following command
conda create -n p-val-env - Access the newly created environment by typing
conda activate p-val-env - Install the required packages by typing each of the following commands one at a time:
conda install pippip install jupyterlabpip install matplotlibpip install pandaspip install scikit_posthocs
- Navigate to the folder where you saved the material in the previous step with
cd /path/to/folder/ - Launch Jupyter lab with the following command
jupyter-lab
- In Jupyter lab, use the lefthand tab to navigate to the folder
notebooks - Open the file named
companion_notebook.ipynb - Run cells sequentially to reproduce the figures in the paper