PC6068 - Coding for Psychology (2024/25)
Module specification | Module approved to run in 2024/25, but may be subject to modification | ||||||||
Module title | Coding for Psychology | ||||||||
Module level | Honours (06) | ||||||||
Credit rating for module | 15 | ||||||||
School | School of Social Sciences and Professions | ||||||||
Total study hours | 150 | ||||||||
|
|||||||||
Assessment components |
|
||||||||
Running in 2024/25(Please note that module timeslots are subject to change) | No instances running in the year |
Module summary
This module will provide students with opportunities to venture into one of the very in-demand job markets – data science. As more and more data are being harvested, psychology plays an increasingly important role in data analysis. The module will introduce students to two programming languages used in psychology and data science as well as in wider professional communities: Python and R.
Python is a very powerful and accessible programming language. It is applied in psychology, data science, computing, artificial intelligent and is continuing to gain popularity in different industries (e.g. NASA, Google, New York Stock Exchange). Python also has a wide application in different branches of psychological research (e.g. experimental design and creation, data analysis, and data visualization).
The module will also introduce students to R. This aspect of the module will focus particularly on equipping students with the ability to conduct a range of widely used statistical analysis. The combined understanding of programming concepts in Python and statistical analysis using R will help students to gain experience and develop transferable skills that are in demand in psychology and in different areas of industry, thereby improving their employment potential and ability to undertake post-graduate training in different disciplines.
The module will be delivered via lectures, workshops and tutor-led practical sessions. Learning resources will be delivered using WebLearn.
Prior learning requirements
N/A.
Available for Study Abroad? NO
Syllabus
Python fundamentals: variables and common types; Loops and conditions; functions and classes; general purpose programming and data analysis; introduction to PsychoPy; coder and builder; extending trials into blocks; introduction on data analysis and plotting graphs.
Balance of independent study and scheduled teaching activity
The module is delivered through a variety of teaching and learning methods. A combination of group and individual activities will take place within a framework of lectures & workshops. There are numerous opportunities for problem solving to apply the knowledge students learn throughout the module. Summative assessment is designed to incorporate the similar problems that students completed in workshops, to further consolidate learning. Formative assessments and constructive feedback will be provided throughout the module to help students to prepare for the summative assessment.
Learning outcomes
Successful completion of the module will allow students to:
1. understand the fundamental skills of programming languages and packages
2. develop and programme psychology experiments using appropriate platforms and languages
3. Python & PsychoPy is a completely free & powerful tool, this will remove any barriers for expenses of purchasing software & further promoting equality.
Assessment strategy
The module is assessed via a portfolio consisting of a developmental log and series of exercises in coding, which will be submitted at the end of the module. Formative assessments and constructive feedback will be provided throughout the module to help students to prepare for the summative assessment. A minimum grade of 40% is required to pass the module.
Bibliography
There is a huge amount of python resource online and it’s free, therefore there is no core reading book.
https://www.python.org
https://stackoverflow.com/
two suggested reading text:
1), Python for data analysis: data wrangling with Pandas, NumPy, and IPython
McKinney, Wes
2), Building experiments in PsychoPy, if students would like to look into PsychoPy further.