Crump, Matthew J. C. (2017). Programming for Psychologists: Data Creation and Analysis (Version 1.1).

This textbook is a collection of notes for a course on programming for psychologists, taught at the Graduate Center of CUNY, by Matthew Crump.

Contributing to the textbook

  1. Use, an amazing tool for annotating the web.
  1. Go to, and “get-started”

  2. Install the the add-on for chrome, or other browser

  3. That’s it, turn on when you are reading this textbook, and you will see all public annotations made by anyone else.

  1. The source code for this textbook is available in my github repo programmingforpsych
  1. Edit the .Rmd files, and push them back

  2. The edit link in the top bar of the textbook should automatically take you to the source .Rmd file

License CC BY-SA 4.0 license

The book is released under a creative commons CC BY-SA 4.0 license. This means that this book can be reused, remixed, retained, revised and redistributed (including commercially) as long as appropriate credit is given to the authors. If you remix, or modify the original version of this open textbook, you must redistribute all versions of this open textbook under the same license - CC BY-SA 4.0.