Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

434 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multivariate Statistics with Python

Online usage (recommended)

Course materials for the psy111 seminar of the Neurocognitive Psychology Master's course at the University of Oldenburg. The content should primarily be accessed from the online book: Jupyter Book Badge

Local usage

Install the dependencies once:

cd <path/to/psy111>
pip install -r requirements.txt

Rendering the path diagrams in the SEM chapters also needs the Graphviz system package (sudo apt install graphviz, brew install graphviz, or conda install graphviz).

Then start a live preview server, which prints a link (usually http://localhost:3000):

jupyter book start --execute

The --execute flag runs the code cells. Without it the preview builds much faster but all outputs stay empty, which is often what you want while editing text.

To produce the static site that gets deployed to GitHub Pages:

jupyter book build --html --execute

This writes the site to _build/html. Executed outputs are cached in _build/execute, so subsequent builds are fast.

Note

A build without --execute overwrites the site with output-free pages. Keep the flag on whenever you want the figures.

The .ipynb notebooks for the exercises are located in the book/ folder and can either be opened locally or through Google Colab.

Repository layout

Path Purpose
myst.yml Book configuration and table of contents
book/introduction/ Introduction to Python
book/statistics/ Multivariate statistics seminar
book/lecture/ Supplementary lecture material
book/solutions/ Exercise solutions
book/misc/references.bib Bibliography
_static/custom.css Theme overrides
.github/workflows/deploy.yml Builds and publishes the book on every push to main

Requirements

The book is built with Jupyter Book 2, which is powered by MyST. Jupyter Book 2 bundles its own Node runtime, so only Python (plus Graphviz) needs to be installed.

About

Course Materials for psy111 - Multivariate Statistics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages