PC6068 - Coding for Psychology (2022/23)
|Module specification||Module approved to run in 2022/23|
|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|
|Running in 2022/23(Please note that module timeslots are subject to change)||
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
Available for Study Abroad? NO
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.
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.
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.
There is a huge amount of python resource online and it’s free, therefore there is no core reading book.
two suggested reading text:
1), Python for data analysis: data wrangling with Pandas, NumPy, and IPython
2), Building experiments in PsychoPy, if students would like to look into PsychoPy further.