GRA 6518 Data Science for Finance

GRA 6518 Data Science for Finance

Course code: 
GRA 6518
Data Science and Analytics
Course coordinator: 
Paolo Giordani
Course name in Norwegian: 
Data Science for Finance
Product category: 
MSc in Quantitative Finance
2024 Spring
Active status: 
Level of study: 
Teaching language: 
Course type: 
One semester

This course covers the fundamental statistical tools used by quantitative analysts with a focus on forecasting financial series. Several key methods used in modern data science (also known as “statistical inference” and “machine learning”) are presented and applied to financial data.

Learning outcomes - Knowledge

By the end of the course, students are expected to know:

  • Key features of financial data.
  • Estimation methods: Least squares, weighted least squares, penalized least squares, maximum likelihood, boosting. 
  • Nonlinear modelling via splines, local regression, local maximum likelihood, regression trees.
  • How to evaluate and select models.
Learning outcomes - Skills

By the end of the course, the students should have developed further the following key skills:

  • written communication,
  • oral communication,
  • ethical awareness in conducting research,
  • teamwork,
  • problem solving and analysis,
  • using initiative, and
  • computer literacy.
General Competence

The students by the end of the course are expected to be able to reflect on the workings and limitations of the different models and algorithms, particularly as applied to financial data.

Course content
  • Introduction to statistical learning. Features of financial data.
  • K-nearest neighbour. The bias-variance trade-off.
  • Least squares and linear projections. Weighted least squares.
  • Modelling nonlinearities with interaction terms and local regressions.
  • Ridge regression.
  • Cross-validation.
  • Modelling nonlinearities with regression splines.
  • Introduction to time-varying models.
  • Maximum likelihood (ML).
  • Penalized ML. Weighted ML. Local ML. Splines and ML.
  • Bootstrap and bagging.
  • Introduction to boosting and regression trees.
Teaching and learning activities

Relevant financial data will be used throughout the course, both in lectures and in assignments. Students will be given regular assignments, focusing on hands-on application of the material covered in class and on software. Some coding will be necessary, and students will receive assistance with aspects of the assignments related to software and coding. These assignments are not compulsory and are not graded, but will be most useful as preparation for the take-home exam.

Labs will be conducted in R, but students are free to use any other programming language (Matlab, Python, Julia etc).

Software tools
Additional information

The exam for this course has been changed starting academic year 2023/2024. The course now has two exam codes instead of one. It is not possible to retake the old version of the exam. Please note new exam codes in the Exam section of the course description. 

It is the student’s own responsibility to obtain any information provided in class.

Honour Code
Academic honesty and trust are important to all of us as individuals, and represent values that are encouraged and promoted by the honour code system. This is a most significant university tradition. Students are responsible for familiarizing themselves with the ideals of the honour code system, to which the faculty are also deeply committed. Any violation of the honour code will be dealt with in accordance with BI’s procedures for cheating. These issues are a serious matter to everyone associated with the programs at BI and are at the heart of the honour code and academic integrity. If you have any questions about your responsibilities under the honour code, please ask.


All courses in the Masters programme will assume that students have fulfilled the admission requirements for the programme. In addition, courses in second, third and/or fourth semester can have specific prerequisites and will assume that students have followed normal study progression. For double degree and exchange students, please note that equivalent courses are accepted.


Deviations in teaching and exams may occur if external conditions or unforeseen events call for this.

Required prerequisite knowledge

All students should have taken introductory courses in statistics and calculus. Introductory-level knowledge of a programming language (ideally R) is also needed. 

Exam category: 
Form of assessment: 
Written submission
Group/Individual (1 - 3)
1 Week(s)
Exam code: 
GRA 65182
Grading scale: 
Examination when next scheduled course
Exam category: 
Form of assessment: 
Written submission
Support materials: 
  • BI-approved exam calculator
  • Simple calculator
  • Bilingual dictionary
2 Hour(s)
Final written examination under supervision
Exam code: 
GRA 65183
Grading scale: 
Examination when next scheduled course
Type of Assessment: 
Ordinary examination
All exams must be passed to get a grade in this course.
Total weight: 
Student workload
24 Hour(s)
12 Hour(s)
Student's own work with learning resources
25 Hour(s)
Group work / Assignments
24 Hour(s)
Prepare for teaching
40 Hour(s)
35 Week(s)
Sum workload: 

A course of 1 ECTS credit corresponds to a workload of 26-30 hours. Therefore a course of 6 ECTS credits corresponds to a workload of at least 160 hours.