Alexander (Sasha) Pastukhov
  • Home
  • Publications
  • Software
  • Teaching
  • Visual demonstrations

Teaching

Currently, I teach courses on Bayesian statistics, consciousness, perception, data science using R, and programming using Python. Below are links to the teaching material that I use in my courses.


Writing games with Python and PsychoPy

A two-semester introductory course on programming and Python aimed at undergraduate psychology students. The aim is to learn how to program psychological experiments using Python and PsychoPy by writing computer games (because experiments are simply boring computer games). The course assumes no prior knowledge or programming skills. The first semester covers basics including conditional statements, lists, dictionaries and use of PsychoPy. The second semester covers topics such as classes, generators, etc. You will program classic games such as “Guess the Number”, “Whack-a-Mole”, “Memory”, “Snake”, “Life”, “Guitar Hero”, etc.

Read the material

Data analysis using R for Psychology

An introductory course on how to use R to analyze a typical psychophysical and social psychology research data. The course will walk you through all the analysis stages from importing a raw data to compiling a nice looking final report that automatically incorporates all the figures and statistics. Although I will introduce base, the main focus is on using Tidyverse family of packages that make data wrangling easy.

Read the material

Notes on Statistics

Currently, a haphazard collection of notes on statistics. The primaryaim is to clarify or expand on topics mentioned but not fully explained in the “Statistical Rethinking” book by Richard McElreath but also now include topics from frequentist statistics. The topics include detailed explanation of information criteria, loss functions, (hidden) collider bias, DAGs, multicolliniarity, etc.

Read the material

R-version of the code for “Linear Algebra: Theory, Intuition, Code” by Mike X Cohen

An R-version that tries to keep the code as close to the original as possible.

Read the material

Python for social and experimental psychology (old version)

A two-semester introductory course on programming and Python aimed at undergraduate psychology students. The aim is to learn how to program psychological experiments using Python and PsychoPy by writing computer games (because experiments are simply boring computer games). The course assumes no prior knowledge or programming skills. The first semester covers basics including conditional statements, lists, dictionaries and use of PsychoPy. The second semester covers topics such as classes, generators, NumPy and Pandas libraries, programming online experiments, etc. You will program classic games such as “Guess the Number”, “Hunt the Wumpus”, “Memory”, “Snake”, “Life”, “Guitar Hero”, etc.

Read the material


Book cover images were generated using MAI-Image-2e.

 
  • Datenschutzerklärung