PSYC 6273.  Computer programming for experimental psychology

Department of Psychology
York University

Fall term 2017
Thursday, 11:30-2:30

Syllabus

General description:  This graduate course covers computer programming methods that are useful in experimental psychology. The course assumes no previous programming experience, and brings students to the point where they are able to write useful programs to advance their own research. Classes are held in a computer laboratory, and each week's class consists of a lecture followed by programming practice on assigned problems. Topics include the MATLAB programming language, data files, curve fitting, Monte Carlo simulations, statistical tests, journal-quality data plots, 2D and 3D graphics, and interfacing to external devices.


Lecture notes

• Lecture 1  Introduction; matrices    code       solutions   
• Lecture 2  If-else; functions    code   
• Lecture 3  Loops; matrices    code   
• Lecture 4  Plots; files    code   
• Lecture 5  The psychophysics toolbox    code    problems    solutions    psychtoolbox   
• Lecture 6  Curve fitting    code    problems    solutions   
• Lecture 7  Monitor calibration    code    problems    solutions    calibration   
• Lecture 8  Plots    code    problems    solutions   


Tests and problem sets

Test bank   
Problem set 1    solution
Problem set 2    solution    stimuli