Introduction to Computational Methods in Psychology

Laboratory handbook

This course teaches computing tools used in psychological research: a GitHub repository, Visual Studio Code on your laptop, version control, a short data file, and a written report generated from a script. The examples are ordinary psychology: reaction time, a personality inventory, a report pipeline, and research documentation.

PSYCH 302 and PSYCH 305 meet together. Canvas is the official course. This site is the handbook and the working laboratory pages.

Tools

What you learn to do

Clone the private repo in VS Code, edit that week’s README.md, commit and push, collect a CSV, generate a short report from a script, cite a paper, and write Methods and Results in the repository. Copilot or an editor agent may be used if it is free; every report discloses that use.

Examples

Classic psychology

A p5.js sketch that becomes a reaction-time block, a short inventory, a two-condition comparison, and a methods-and-results page. We also look at past course projects and this term’s Week 1 pages on playground.html. The course is not a survey of mathematical psychology.

Arts and Science

Modification hour

After the common exercise, everyone makes one change that a stranger can read and that includes a number, a table, or a comparison. PSYCH 302 and 305 are graded on a clear prediction and a visible result.

Examples we opened in Week 1

Past course projects

These are live GitHub Pages sites from recent classes and from the instructor’s catalogue — a demo, a creative coding studio, student catalogues, or a personal project index. Same idea as Week 1: a file in a repo, then GitHub Pages.

Most recent demo

Brain Games

Cartridge deck: plug in keyboard, mouse, or a Muse headset and play. Built after the Brainimation class.

The class behind it

Brainimation

Live EEG plus p5.js creative coding. Students wrote sketches driven by real-time brain data (or a simulator).

Oldest EEG art catalogue

p5.eegedu

Student EEG art from the earliest p5.js plus Muse class. A gallery of brain-driven sketches published as pages.

PSYCH 403 · Fall 2025

Student portfolio catalogue

Neuroimaging and neurostimulation. Click a card for that student’s published portfolio page.

Instructor catalogue

kylemathewson.com

Project index: research tools, class sites, brain-art demos, and other pages built the same way you will publish this term.

Class meeting

Wednesday 18:00–21:00

  1. 18:00–18:25 Introduction and prediction
  2. 18:25–18:40 Instructor demonstration
  3. 18:40–19:15 Laboratory exercise
  4. 19:15–19:25 Break
  1. 19:25–20:05 Results and a written sentence
  2. 20:05–20:45 Modification
  3. 20:45–21:00 Brief discussion
  4. After class Laboratory report due Tuesday 17:00
Meetings

Tools, first half

2 Sep
GitHub form, then the playground. Week 0 · Week 1
9 Sep
p5.js pieces, then personalize the RT page and a CSV. p5 · Week 2 · submit
16 Sep
VS Code folders, then a short inventory. Week 3 · how you work
23 Sep
Python analyzes a CSV and draws a figure; Typst compiles the PDF. Week 4
7 Oct
A two-condition comparison. Week 5
14 Oct
Cite and summarize papers; guest Devon Yanitski. Week 6
No class 30 Sep and 11 Nov

Documentation and project

21 Oct
Methods forward and backward: Stroop and Hedge (2018). Week 7
28 Oct
Results page and midterm project plan. Week 8
4 Nov
A browser game that studies a question. Week 9
18 Nov
Individual project workshop. Weeks 10–12
25 Nov
Project laboratory.
2 Dec
Final presentations, 3 minutes each (last meeting). Page due the same night.

Full schedule with agendas.

Assessment

Weights

50% weekly laboratory reports (weeks 1–9; drop the lowest).
15% midterm project plan (28 October).
35% final project and 3-minute in-class talk (2 December). Not a written exam.
Weekly marking: rubrics.html. Midterm and final: project.html. Official late work and letter grades: Simple Syllabus on Canvas.

Right now

This week

The schedule lists every class night and its laboratory page. Weekly reports are due the Tuesday after class, 17:00, on Canvas.