Introduction to Computational Methods in Psychology

Laboratory handbook

This course teaches computing tools used in psychological research: a GitHub repository, a browser editor, 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

Open a Codespace, edit a page, 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 — published pages students and the instructor have made. The course is not a survey of mathematical psychology.

Arts and Science

Modification hour

After the common exercise, Arts students may improve presentation and wording. Science students may add a table or a comparison. Both 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 reaction time and a CSV. p5 · Week 2
16 Sep
A short inventory. Week 3
23 Sep
Markdown, Python, and LaTeX as a report loop. Week 4
7 Oct
A two-condition comparison. Week 5
14 Oct
Cite and file a paper. Week 6
No class 30 Sep and 11 Nov

Documentation and project

21 Oct
Write a Methods section. Week 7
28 Oct
Results page and midterm check-in. 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 page due. Last meeting.

Full schedule with agendas.

Assessment

Weights

50% weekly laboratory reports (weeks 1–9; drop the lowest).
15% individual midterm check-in (28 October).
35% individual final project (2 December). The page is the submission.
Point-by-point marking is on rubrics.html. Official late work and letter grades: Simple Syllabus on Canvas.

Right now · 3–9 September

Finish Week 1, then come to Week 2

Due Tuesday 8 September, 17:00: Week 1 · Laboratory report — paste the four GitHub links on Canvas. Publishing the page is not enough. If Week 0 is still incomplete, submit the GitHub form first and accept the private-repo invite.
Wednesday 9 September: p5.html then rt.html. Missed the first night? You can still catch up before class.