Coding for Psychology
  • Syllabus
  • Schedule
  • Content
  • Assignments
  • Resources
Categories
All (14)
Part I (5)
Part II (5)
Part III (4)

Content

Objectives, readings, and what’s due for every class

Click any class title below for its full learning objectives, readings, and details. Browse by part using the category filter, or scroll chronologically. For the compact table view, see Schedule.

Class 1 — Environment & Open Science

Part I
Turn your browser-only Python exposure into real, working software on your own computer — install and verify R, RStudio, Quarto, and PsychoPy, then create your GitHub repo for the semester.
Sep 8

Class 2 — Builder Basics

Part I
Open PsychoPy Builder for the first time and program the original Stroop task — routines, a trial loop, and a keyboard-response component.
Sep 15

Class 3 — Builder → Coder

Part I
Open PsychoPy’s Coder view for the first time to read the Python that Builder has been generating for you all along, make some small, safe edits directly in code, and write a short script of your own from scratch.
Sep 22

Class 4 — Custom Code Components

Part I
Write your own logic for the first time using a PsychoPy Code Component — dictionary-based accuracy scoring and dynamic feedback — plus the course-wide minimum-observations design constraint every final project must satisfy.
Sep 29

Class 5 — Pilot Testing & Data Generation

Part I
Pilot everyone’s task in a rotation: you run your classmates’ tasks while they run yours, and you leave with real data from several participants.
Oct 6

Class 6 — Welcome to RStudio & the Tidyverse

Part II
Quiz 1 opens the class, then Python and PsychoPy give way to R. You’ll read your own pilot data into RStudio as a tibble and compare its shape to a published Stroop dataset.
Oct 13

Class 7 — Data Wrangling with dplyr

Part II
The whole class generates a dataset together in the first ten minutes, then wrangles it as one room: a for loop that reads many files defensively, filter(), group_by(), and summarize() — ending in the tables HW3 asks you to build from your own pilot data.
Oct 20

Class 8 — Visualizing the Effect

Part II
Turn your HW3 summary table into a picture using ggplot2 to create a figure layer by layer, then adapt the code to your own data and share it in a gallery walk.
Oct 27

Class 9 — Reproducible Reporting

Part II
Part II’s capstone — learn your way around the Terminal, install apaquarto, and write up your own pilot study as an APA-style Method/Results draft with every number computed by code.
Nov 3

No Class — Nov 10

Part II
No class this week — enjoy the break.
Nov 10

Class 10 — Simulating Data

Part III
Quiz 2 opens the class, then Part III begins. You’ll simulate a whole sample of hypothetical participants and compare the resulting distribution of study-level effects to your own HW3 result.
Nov 17

Class 11 — Final Project: Design & Pitch

Part III
The first of three final-project classes. You’ll tour PsychoPy components beyond Text and Keyboard, pitch a novel task idea, and leave with a written one-page design plan, no building yet.
Nov 24

Class 12 — Final Project: Build & Debug Pilot

Part III
Entirely build time using your own Class 11 design plan as blueprint, closing with one short in-class debugging pilot with a partner to confirm the task runs, with nothing kept or analyzed.
Dec 1

Class 13 — Final Project: Report & Finale

Part III
The last class of the semester! Troubleshoot HW7’s pipeline, finalize your apaquarto report, and push a complete, publication-ready project.
Dec 8
No matching items
Back to top

Coding for Psychology · Fall 2026 · Tufts University

 

Built with Quarto