Skip to content

"Programming for Psychologists" course for Research Master students at the Vrije Universiteit Amsterdam.

License

Notifications You must be signed in to change notification settings

Naubody/programming_for_psychologists

Repository files navigation

Programming for Psychologists 2025

Course coordinator: Matthias Nau , Contact: m.nau[at]vu.nl

Teaching Assistants: Anna van Harmelen, Camilla U. Enwereuzor

This repository contains the course materials for the course "Programming for Psychologists" (P_MPROPSY) at the Vrije Universiteit Amsterdam. This 6 EC course is going to teach you your new superpower: Programming in Python!

Over the course of 2 months, you will start thinking like a programmer and learn how to use Python for experimental design, data analysis, and visualization. You will get to know many essential concepts, data structures, and libraries relevant to research in Psychology and Neuroscience, and develop a solid foundation for further learning.

In addition, you will learn what it means to write and share code in the spirit of Open Science, how to review other people's code, and how to ensure your research is rigorous, reproducible, accessible, and transparent.

Screenshot 2025-11-20 at 14 07 09

Course structure

The course is organized into 7 modules, each comprising a lecture (1.5h) and two practicals (~2.5h each). Each module will focus on a different topic.

Lectures

Lectures will focus on conceptual understanding. You will learn why programming is important for psychologists, what Python is, and how it can support your research. We will further discuss coding best practices and principles of Open Science.

Practicals

Practicals will focus on skills. You will learn how to write code in Python to perform basic operations, design simple experiments, and analyze and visualize data. Moreover, you will learn how to use GitHub for version control and sharing code.


Course overview

Module 1: Introduction

Module 2: Python

Module 3: Python advanced

Module 4: Data visualization

Module 5: Open code & Collaboration

Module 6: Experiments

Module 7: Course recap

End of the course

  • Q&A session
  • Home assignment
  • Exam

Grading

Home assignment

The home assignment of this course will be writing code for simple data analysis and visualization of magnetic resonance imaging (MRI) data. You will write this code in your own time, along with a brief statement about the best practices it follows and how. You will upload this code to GitHub, where other students will comment on it as part of a code review. You will also be asked to review other students' code.

The home assignment will determine 25% of your grade.


Exam

At the end of the course, you will take an exam, where you will:

  • Receive code snippets and answer questions about them
  • Answer conceptual questions based on lecture and practical content
  • Solve a mix of open-ended and multiple-choice questions

The outcome of the exam will determine 50% of your grade.


Quizzes

Each module will come with a quiz containing multiple-choice and multiple-answer questions about the week’s lecture and practicals.

The outcome of the quizzes will determine 25% of your grade.


How to become an expert P(s)ychologist

However, learning a new (programming) language takes practice and time, more than this course can offer. To grow beyond the course and become an expert, check out the following open resources meant to help you practice at home:

Course Image

Acknowledgements

Thank you to Anna van Harmelen for her immense help in crafting the practical notebooks, and to Camilla U. Enwereuzor for helping to keep them up to date. I also thank David Collien for insightful discussions on programming mindset.

About

"Programming for Psychologists" course for Research Master students at the Vrije Universiteit Amsterdam.

Resources

License

Stars

Watchers

Forks