Statistics (Double Degree with the University of Bologna) BSc/LSc
Statistical Programming in R and Python STATS4044
- Academic Session: 2026-27
- School: School of Mathematics and Statistics
- Credits: 20
- Level: Level 4 (SCQF level 10)
- Typically Offered: Runs Throughout Semesters 1 and 2
- Available to Visiting Students: No
- Collaborative Online International Learning: No
- Curriculum For Life: No
Short Description
The course develops students' skills in statistical programming, using the programming languages Python and R for programming and data analytics.
Timetable
60 hours of practical sessions in computer labs.
Excluded Courses
Statistics 3P: Statistical Programming [STATS3017]
Introduction to statistical programming in R and Python [STATS5103]
Assessment
Programming Tasks (100%) consisting of in-lab and/or homework assessments.
Course Aims
To develop students' understanding of the key concepts and ideas of programming tools in the R and Python programming languages;
to provide computational skills which will support other Levels 3, 4 and 5 courses;
and to equip students with fundamental concepts in (scientific) programming in general.
Intended Learning Outcomes of Course
By the end of this course students will be able to:
■ design and implement functions in R and Python with appropriate control structures;
■ make efficient use of the data structures built into R and Python;
■ use R and Python to create informative and interpretable figures and graphs;
■ describe and exploit features of classes and object-oriented design
■ implement data-analytic tasks (e.g. using external libraries)